Skip to content

Commit

Permalink
sql notes
Browse files Browse the repository at this point in the history
  • Loading branch information
asboyer committed Jun 18, 2024
1 parent 8d71db0 commit 4cb5487
Showing 1 changed file with 30 additions and 33 deletions.
63 changes: 30 additions & 33 deletions _notes/2024-06-18-sql-course.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,48 +9,45 @@ title: sql notes
giscus_comments: true
unfinished: true
---

---
Notes from [SQL Tutorial - Full Database Course for Beginners](https://www.youtube.com/watch?v=HXV3zeQKqGY)

# SQL Tutorial
---
#### What is a Database (DB)?
- a collection of related information
- databases can be stored in different ways

Computers + Databases = <3
: computers are great at keeping track of large amounts of information

Database management Systems (DBMS)
: a special software program that helps users create and maintain a database
* makes it easy to manage large amounts of information
* handles security, backups, imports/exports, concurrency[^1]
* interact with software applications, ex: programming languages

## INTRO
**Amazon example:**
![image](https://github-production-user-asset-6210df.s3.amazonaws.com/52665298/340826529-b25ffa78-cad0-4af8-8d84-0d8b49997147.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240618%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240618T210959Z&X-Amz-Expires=300&X-Amz-Signature=f8e741dce0d6b122f89a355ec22239faa3db30c3a80fc9d3d8cd16cefc33ac00&X-Amz-SignedHeaders=host&actor_id=52665298&key_id=0&repo_id=817007793)
Amazon is telling the database management system to alter the database

### What is a Database (DB)?
- a collection of related information
- databases can be stored in different ways
#### **C.R.U.D**: Create, Read, Update, Delete
* Creating new entries
* Retrieving
* Updating
* Deleting

### Computers + Databases = <3
- computers are great at keeping track of large amounts of information

### Database management Systems (DBMS)
- a special software program that helps users create and maintain a database
* makes it easy to manage large amounts of information
* handles security, backups, imports/exports, concurrency[^1]
* interact with software applications, ex: programming languages

### Amazon example:
![image](https://github.com/asboyer/sql_course/assets/52665298/b25ffa78-cad0-4af8-8d84-0d8b49997147)
* Amazon is telling the database management system to alter the database

### C.R.U.D
* stands for Create, Read, Update, Delete
* Creating new entries
* Retrieving
* Updating
* Deleting
* Core 4 operations
* Any good DBMS can do these things

### Two types of Databases
* Relational databases (SQL)
Core 4 operations \
Any good DBMS can do these things

#### Two types of Databases
* **Relational databases (SQL)**
* organize data into one or more tables
* a unique key identifies each row
* Non-Relational databases (noSQL)
* **Non-Relational databases (noSQL)**
* organize data in anything but a table
* key value stores
* docuemtns
* documents

---

[^2]: two or more events happening at the same time
[^1]: two or more events happening at the same time

0 comments on commit 4cb5487

Please sign in to comment.