Skip to content

Commit

Permalink
notes
Browse files Browse the repository at this point in the history
  • Loading branch information
asboyer committed Jun 18, 2024
1 parent 147212c commit c478c74
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions _notes/2024-06-18-sql-course.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,37 @@ Can use a relational database management system (RDBMS)
* define tables and structures
* SQL code used on one RDBMS may not be usable on another

SQL is the standard in relational databases

#### **Non relational**
![image](/assets/img/notes/non_relational.png)

Management systems:
* MongoDB, firebase, etc.
* implementation specific -> no standard language

#### Database queries
Queries
: are requests made to the database management system for specific information \
As the structure becomes more complex, it becomes more difficult to get specific pieces of information

---

Tables
:Have columns, rows
Columns
: categories
Rows
: a single entry

Primary key
: uniquely defines a row

![image](/assets/img/notes/primary_key.png)
How to discern between the Jacks? \
*Primary key* is different. *Always* going to be unique for each row in the table \
Can be anything (str, int, etc.), as long as its unique

---

[^1]: two or more events happening at the same time
Binary file added assets/img/notes/non_relational.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 assets/img/notes/primary_key.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c478c74

Please sign in to comment.