SQL Interview Test Questions
Before we dive into the deep-dive lessons, use this checkpoint to review core concepts and find out which topics you need to revise more.
Open each question below and try to solve it on your own first.
Only after you’ve made a serious attempt, tap the Note under that question which will tell you which topics these questions test and what to review before moving on.
Duolingo Leaderboards
Employee Hierarchy
Find Conversion Rates
Top Salaries by Department
After going through these four questions, you should have a clear sense of which core topics you feel confident in vs. which topics you want more practice + a deeper dive in.
The 5 main core topics are:
- Joins & duplicate control
- Window functions essentials
- Grouping, having, conditional aggregation & NULL-safe metrics
- Subqueries & CTEs
- Dates & bucketing
Each lesson above takes ~40 minutes to read through and practice. You may feel free to skip topics you are already confident in.