Interview questions and answers on SQL

Study Querycraft, SQL interview drills with explanations with joins, indexes, window functions.

  • Difficulty Intermediate
  • Parts 10
  • Stack joins, indexes, window functions

What you are learning

Querycraft is SQL interview drills with explanations. The teaching focus is SQL (joins, indexes, window functions).

Work in order. Early parts set vocabulary and environment; later parts assume the earlier checkpoints.

How to use these lessons

Read the goal, open the matching GitHub folder, complete the lab or exercises, then return for the explanation. If a command fails, check you are in the numbered folder first.

Open the Querycraft GitHub repo →

Parts in order

Each chapter below is one checkpoint in this track.