Skip to content
‹ All games
Query
01/10
Lives
3 lives left
Score
0000

SQL Sprint

A tiny database, a question from your boss. Snap the right query blocks together before time runs out.

Sponsored · doesn't affect scores

Advertise here (opens in a new tab)

Your logo here, on this game and 2 more you pick · $350/mo for 3 games · Book a cell on skillxtube.com (opens in a new tab)

Enjoying SQL Sprint?

Ideas or bugs? →
Game guideSQL Sprint: full rules, strategy tips and FAQ

Quick tips

  • Learn the clause order. SELECT, FROM, WHERE, GROUP BY, HAVING, ORDER BY, LIMIT. Out of order, the query won't run.
  • Quote text, not numbers. genre = 'Cooking' needs quotes; price < 10 doesn't.
  • Read "or less" carefully. "5 days or less" is <= 5. < 5 drops the row with exactly 5.
  • WHERE before, HAVING after. WHERE filters rows before grouping; HAVING filters the groups, so it can use COUNT and SUM.
  • Top N = ORDER BY + LIMIT. Sort the way the boss asked (DESC for biggest first), then LIMIT keeps the first rows.