- Executors
-
Learn
Learn Python Runnable examples, NumPy, pandas, and more Learn AI / Machine LearningNeural networks, ML and LLMs from scratch Learn C & C++ Pointers, memory, STL, and modern C++ Learn C#C# basics, OOP, LINQ, async, and .NET exercises Learn MatplotlibLine, bar, scatter and pie charts with live visualizers Learn RustOwnership, traits, error handling, and threads Learn GoSlices, interfaces, goroutines, and channels Python Algorithms Search, sorting, recursion, and visualizers O(n) C & C++ Algorithms Compare algorithms implemented in C and C++ Coding for Kids Learn to code by playing!
- QuizzesNew
- ChallengesNew
- For TeachersNew
- Updates
- Buy me a coffee
SQL Interview Questions Quizzes
Practise the SQL questions interviewers love, from second highest salary and top N per group to NULL traps, output prediction, performance and buggy queries.
All levels
5 quizzes · 50 questions
about 36 minutes
0/5passed
Category exam
20 mixed questions. 80% earns a certificate.
1
Classic SQL Interview Queries
Hard
Solve the queries every SQL interview asks, like second highest salary, duplicates and top N per group.
#interview#queries
10 questions · ~8 min
Not started
Start
2
SQL Output Prediction
Medium
Read short SQL queries and predict their exact output, including the classic interview traps.
#output-prediction#gotchas
10 questions · ~6 min
Not started
Start
3
Tricky NULL Questions
Hard
Master the NULL traps interviewers love, from NOT IN and three-valued logic to aggregates and sorting.
#null#gotchas
10 questions · ~8 min
Not started
Start
4
Query Performance
Medium
Recognise slow query patterns and the rewrites that fix them, from N+1 queries to deep OFFSET pagination.
#performance#indexes
10 questions · ~6 min
Not started
Start
5
SQL: Find the Bug
Hard
Daily · 2x XP
Find the bugs in queries that run without errors but return the wrong answer, and in ones that do not run at all.
#debugging#interview
10 questions · ~8 min
Not started
Start
No quiz matches. Try another word or tag.