Loading course...
Loading course...

Beginner to Intermediate
A hands-on SQL course built around PostgreSQL. Start with how a database actually works, learn querying, joins, window functions and transactions, then move on to design, indexing, security, migrations, testing, two realistic projects and interview preparation.
Select any lesson to open it.
How databases work, a disposable PostgreSQL setup, and the shop and company dataset used in every lesson.
Relational concepts, the five SQL command groups, data types and constraints, querying, filtering and operators.
Aggregates and grouping, every join type, set operators, built-in functions, CASE and subqueries.
WITH clauses and recursive CTEs, views and materialized views, ranking, LAG and LEAD, and window frames.
ER modeling, normalization, ACID transactions, isolation levels, locking and deadlocks.
Functions, procedures, triggers, cursors, indexes, execution plans, partitioning, roles and SQL injection.
SQL from application code, schema migrations, upserts, pagination, bulk loading, JSONB and messy data.
psql and GUI clients, backups, debugging queries and testing SQL with pgTAP and pytest.
Two realistic projects: a clinic appointment system and a sales analytics reporting layer.
Conceptual questions with explanations and coding exercises with worked, verified solutions.