Learn Everything

Module · Data Engineer

SQL & Query Craft

The language every data platform speaks - and the only way to get an answer twice as fast.

2 topics4 interactive tasks

TOPIC 01

Query Foundations

Read a question, model it as a join, and get the rows back in the order you meant.

What you'll practice

  • Join and Filter Like a Pro — guided · beginner
  • Aggregate With Window Functions — practice · intermediate

A command you'll meet

cat ~/warehouse/queries/active_users.sql

Every analytics problem is a join plus an aggregate. Open the task below for the full walkthrough.

TOPIC 02

Indexes & Query Plans

Why the same query is fast on Monday and slow on Friday - and what the plan tells you.

What you'll practice

  • Index the Warehouse — practice · intermediate
  • Read a Query Plan — challenge · advanced

A command you'll meet

cat ~/warehouse/indexes.sql

The plan tells you what the database actually did, not what you asked it to do. Open the task below for the full walkthrough.