SQL
Three levels · taught in SQL Foundations and SQL Advanced
Level 1 of 3
Fundamentals
The interface and the basics
10 topics
- What SQL is and where it is used
- Setting up PostgreSQL, MySQL and SQL Server
- The query editor, basic commands and syntax
- Importing tables from Excel and other sources
- Reading data: SELECT, WHERE, ORDER BY, GROUP BY and HAVING
- Query types: DDL, DML, DCL and TCL
All 10 topicsFewer topics
- Aggregate, string and date functions
- Primary and foreign keys; constraints for data integrity
- Joins: inner, outer, left, right, cross and self
- Subqueries and nested queries
You build: A small database loaded from files, and the queries behind a sales report.
7 assignments and 1 end-to-end live structured project
Level 2 of 3
Advanced
Building projects
10 topics
- CTEs and window functions for reporting
- Stored procedures with parameters
- Triggers, before and after, with real use cases
- Transactions and ACID: commit, rollback and savepoints
- Isolation levels, concurrency and deadlocks
- Dynamic SQL and preventing SQL injection
All 10 topicsFewer topics
- Storing and querying JSON
- The native JSON type and regular-expression functions in SQL Server 2025
- Materialized views and refresh strategies
- Views and user-defined functions
You build: A reporting layer for a month-end report: procedures, CTEs and window-function queries.
7 assignments and 1 end-to-end live structured project
Level 3 of 3
Expert
Integrations and advanced use
11 topics
- Indexing: creation, maintenance and fragmentation
- Query optimisation with indexing and caching
- Reading an execution plan to find the slow step
- Choosing between an index, a rewritten query and a materialized view
- Database security: role-based access and encryption basics
- SQL on a cloud warehouse: T-SQL on Microsoft Fabric Warehouse
All 11 topicsFewer topics
- What changes when the data sits in a lakehouse
- Prompting for SQL: from a plain-language question to a query you have checked
- SQL behind the BI assistants: Copilot in Power BI and Tableau Agent
- Reporting views that feed Excel, Power BI and Tableau
- SQL from Python: querying a database from a notebook
You build: A slow report query tuned and documented: the plan before, the plan after, and why.
7 assignments and 1 end-to-end live structured project







