main sql-essentials/README.md

33 lines1.5 KiB

SQL Essentials

Example code and exercises for the glibCode course SQL Essentials (Beginner, about 7 hours).

Ask questions of real data: SELECT, JOIN, GROUP BY and window functions on a store's orders database.

Lessons

#LessonCode
1Tables, rows and SELECT0
2Filtering with WHERE0
3Sorting and LIMIT0
4JOINs explained with Venn diagrams (sort of)0
5GROUP BY and aggregates0
6Subqueries0
7Window functions0
8Indexes and why queries get slow0

Getting started

git clone https://git.glibcode.net/glibcode/sql-essentials.git
cd sql-essentials

SQLite 3. Create the database once with setup/schema.sql and setup/seed.sql.

Questions? Ask in the course forum or write to help@glibcode.net.

License

The code is MIT licensed (see LICENSE). The lesson texts are © glibCode.