-
Notifications
You must be signed in to change notification settings - Fork 9
Foundation: Databases - feedback from module #253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
05bd3df
chore: add join to scope of the class
magdazelena 51a1e8a
chore: added info on aliases
magdazelena a309254
chore: add recommended material
magdazelena 449c633
chore: add dbeaver guide
magdazelena 4cff6a4
chore: fix lint
magdazelena f894512
chore: rename images
magdazelena 2dbbd76
chore: add DBeaver UI to summary md
magdazelena File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
Binary file added
BIN
+174 KB
...ndation/databases/week1/session-materials/dbeaver-screenshots/choose-sqlite.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+73.3 KB
...databases/week1/session-materials/dbeaver-screenshots/create-new-connection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+48.4 KB
...tion/databases/week1/session-materials/dbeaver-screenshots/create-save-path.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+58.5 KB
...ndation/databases/week1/session-materials/dbeaver-screenshots/database-view.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+24.1 KB
...ses/foundation/databases/week1/session-materials/dbeaver-screenshots/errors.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+66 KB
...dation/databases/week1/session-materials/dbeaver-screenshots/new-sql-script.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+53.7 KB
...oundation/databases/week1/session-materials/dbeaver-screenshots/run-queries.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+33.7 KB
...undation/databases/week1/session-materials/dbeaver-screenshots/save-queries.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 41 additions & 0 deletions
41
courses/foundation/databases/week1/session-materials/dbeaver-ui.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| # Dbeaver UI details | ||
|
|
||
| ## Create a New SQLite Connection | ||
|
|
||
| 1. Click the **"New Database Connection"** button (plug icon) in the toolbar or `Ctrl+Shift+N` | ||
|  | ||
| 2. Select **SQLite** from the list of databases | ||
|  | ||
| 3. Click **Next** | ||
| 4. In the **Path** field, click **Browse** and choose where to save your database file | ||
|  | ||
| 5. Name your database file: `tasks.sqlite3` **EXTENTION IS IMPORTANT** | ||
| 6. Click **Test Connection** to verify everything works | ||
| 7. Click **Finish** | ||
|
|
||
| ## Browse through database | ||
|
|
||
|  | ||
|
|
||
| ## Create and run queries | ||
|
|
||
| Open a new SQL script to write your queries in. | ||
|  | ||
|
|
||
| When running queries it is important to remember few things: | ||
|  | ||
|
|
||
| 1. Orange triangle will only **run the selected query**. | ||
| 2. Little document with triangle will **run the entire script file**. | ||
| 3. **Query is selected** when it is **manually selected** or **the cursor is standing on the query**. | ||
| 4. **Always remember to end queries with semi-colon**: `;`! Otherwise the edit does not know when query ends! | ||
|
|
||
| ## Errors will be marked | ||
|
|
||
| In case of errors, DBMS will mark them red. If you hover on the error, **DBMS will tell you the exact issue with your query**! | ||
|  | ||
|
|
||
| ## Saving queries for homework | ||
|
|
||
| When done with queries, save them to your homework repo using this "Save As" like from any other software. Remember the `.sql` extention! | ||
|  |
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really nice to call this out