
SQL Super Over
Learn SQL through IPL
Win the IPL with SQL. Pick your team. Write queries. Win the trophy.
How it works
- 01
Sign in and pick your team
Choose one of 10 franchises. Your name appears on the scoreboard, never your contact details.
- 02
Read the match situation
Each match is a cricket question about a fictional IPL dataset of teams, players, matches and stats.
- 03
Write and run SQL
Run as often as you like in your browser. Submit when ready: 3 attempts, 2 optional hints.
- 04
Win 10 matches
6 group games, 2 quarter-finals, a semi-final and the final. Difficulty rises from WHERE to window functions and CTEs.
The tournament
Choose from 10 franchises
Chennai Super Kings
Mumbai Indians
Royal Challengers Bengaluru
Kolkata Knight Riders
Delhi Capitals
Sunrisers Hyderabad
Rajasthan Royals
Punjab Kings
Gujarat Titans
Lucknow Super Giants
Learn SQL with cricket examples
Every question uses a fictional dataset with five tables: teams, players, matches, batting_stats and bowling_stats. You start with simple filters and sorting, then move to GROUP BY, joins, HAVING, subqueries, CASE WHEN, window functions like RANK and DENSE_RANK, and finally CTEs.
Your queries run instantly in a real Postgres database inside your browser. Answers are checked on our server, and you never get the same question twice, even when you replay.
New to SQL? Read the free SQL through cricket cheat sheet, learn how the game works, or go deeper with the live Data Analytics with Agentic AI program. Want more practice? Try the SQL interview questions or the free online SQL compiler.
Built by Skillancy, learn SQL & Data Analytics live from practitioners. Explore programs
Fan-made educational game. Not affiliated with or endorsed by the IPL or any franchise. All player data is fictional.