SQL & Databases
Start with: Tables, Rows and the Relational Model
Beginner → Advanced · Unit 1: Querying basics
0 of 29 lessons0%
This course
0 of 29 lessons- Units
- 7
- Lessons
- 29
- Hours
- 9
Units
7 units01Querying basics
5 lessons- Tables, Rows and the Relational ModelWhat a relational database really is, where Postgres, MySQL and SQLite fit at work, and the shop dataset you will query all course.Start here
- SELECT, WHERE and ORDER BYChoose columns, filter rows, sort and page results, and learn the logical order SQL runs in, which explains half the errors you will hit.
- NULL and Three-Valued LogicWhy = NULL never matches, how NOT IN can silently return nothing, and how NULL changes filters, counts, averages, sorting and constraints.
- Choosing Column TypesPick integer, money, text, time, UUID and enum types that stay correct for years, and see how SQLite's loose typing differs from Postgres.
- Changing Data SafelyINSERT, UPDATE, DELETE, RETURNING and upserts, plus the habits that stop a missing WHERE clause from becoming an incident.