SQL Interview Mock
A 450-question bank weighted toward advanced and tricky questions, served as 40-question, 60-minute mocks: DDL and data types, DML and NULL logic, joins, aggregation, subqueries and CTEs, window functions, functions and types, indexes and performance, transactions, and security and design. Mapped to the roadmap.sh SQL roadmap, written for PostgreSQL with portability notes, and every option explains its reasoning.
- questions
- 40
- minutes
- 60
- pass mark
- 70/ 100
- domains
- 4
Syllabus
4 domains · 10 skills, weighted like the official blueprint.
1SQL Foundations20% of the exam · 2 skillsMastery—
2Querying35% of the exam · 3 skillsMastery—
3Advanced SQL20% of the exam · 2 skillsMastery—
4Engine and Production25% of the exam · 3 skillsMastery—
Sample questions with answers
10 questions from the SQL bank, with an explanation for every option. No sign-up needed.
Resources
The best reading for each SQL topic: official docs, editors' picks and links shared by learners.
Show resources for 6 more topicsShow fewer topics
Subqueries, CTEs and Recursive QueriesStudy notes
Window FunctionsStudy notes
Functions, Dates, Views and ProceduresStudy notes
Indexes, Query Plans and OptimisationStudy notes
Transactions, Isolation and LockingStudy notes
Security, Integrity and Schema DesignStudy notes
Interview experiences
Real SQL interviews, written up by learners and checked by our team.
No experiences shared yet. Interviewed for a role that tested SQL? Your rounds and questions could help someone prepare.
Help other SQL learners
Share a resource, write a question or describe an interview. Our team reviews every contribution and credits you by name.
Questions about this exam
How many questions are in a full SQL Interview Mock, and how long is it?
40 questions in 60 minutes. Each mock draws questions from every domain in proportion to its weight, so the mix matches the blueprint.
What score do you need to pass it?
Results are reported from 0 to 100, and 70 is the passing score used in these mocks. Harder questions carry more weight.
What does the SQL Interview Mock cover?
4 domains: SQL Foundations (20%), Querying (35%), Advanced SQL (20%) and Engine and Production (25%).
How can I practise for it?
Start with the free 15-question diagnostic to find your weak spots, drill any skill with an explanation after every answer, retry your mistakes with spaced review, then sit timed full mocks.
How is my readiness score worked out?
It weighs your recent answers on each skill by difficulty, combines the skills by their exam weight into a predicted score, and reports your chance of reaching the pass mark. How scoring works