Skip to content
FreeWorkbookSQL

SQL Practice Workbook

SQL for data and AI roles on a 32-table SaaS dataset, validated on PostgreSQL and MySQL.

Free
  • Free — enter your name and email and we'll send the download link
  • No payment and no account needed
Share

At a glance

Exercises
171 questions · 3 capstones · final assessment
Level
Easy → Advanced
Format
ZIP — Jupyter notebook, SQL scripts and CSV data
Included
Jupyter notebook, setup scripts for both databases, CSV data and solution files
Software
PostgreSQL 16+ or MySQL 8.0+

About this workbook

SQL practice for Data Scientists, ML Engineers and AI Engineers on a 32-table SaaS dataset with product analytics, billing, an ML churn model and LLM/RAG data.

Every question has three hints, expected output, a solution and an explanation, validated on both PostgreSQL and MySQL.

// related

You might also like

  • Free

    NumPy & Pandas75 challenges · 2 phases + capstone

    Pandas Practice Workbook

    Guided, then independent Pandas challenges, ending in an end-to-end customer retention report.

    Free
  • Free

    NumPy & Pandas67 tasks · 2 phases + final challenge

    NumPy Practice Workbook

    Practise NumPy on a synthetic factory sensor dataset, from guided tasks to a final dashboard challenge.

    Free
  • Free

    Python & Programming100 questions · 615 automated tests

    Python Practice Workbook

    Realistic data and AI engineering problems with hints, automated tests and hidden reference solutions.

    Free