Practical SQL for Beginners
One small online shop, eleven lessons, and every query you will actually write at work

About this course
Eleven lessons built on a single database: four tables of an online shop — customers, products, orders and order items. You write the same queries a backend developer, an analyst or a QA engineer writes on a normal working day: pull the rows you need, count revenue per month, join tables without duplicating money, change data without wiping a table, and find out why a query that used to take three milliseconds now takes three seconds.
The dialect is PostgreSQL, with the places where MySQL behaves differently called out as they come up. Every lesson has runnable SQL and a note on the mistake people usually make there — NULL that silently drops rows from a filter, a LEFT JOIN turned back into an INNER JOIN by a WHERE clause, a SUM inflated by a join, an index the planner refuses to use. After each module there is a short test, and a final test at the end.