WhiteBox
Problems
Core Catalog
Real interview problems not on LeetCode
Algorithms
Sharpen problem solving with handpicked DSA problems
Domain Knowledge
Quiz yourself
Library
Curated resources, tier lists, and problem sets
Guides
Real takes worth your time reading
White Room
White Room
Your AI coach, plan, and memory
White Room DSA
Adaptive problems dealt at your level
What is White Room?
Community
Leaderboard
See top WhiteBox performers
Refer & Earn
Get your friends on WhiteBox
Shop
Customize your profile
Contributors
Meet the team behind WhiteBox
Changelog
See what's new on WhiteBox
Tools
Interview Intel
Questions pulled from real interviews
Resume Reviewer
See your resume the way a recruiter does
Job Boards
Land your dream job
Sandbox IDE
Solve Codeforces, AtCoder, and CSES in-browser
Search
Ctrl K
Login
Sign up
Log in
Practice
Core Catalog
Algorithms
Domain Knowledge
Library
Guides
White Room
White Room
White Room DSA
Community
Leaderboard
Refer & Earn
Shop
Contributors
Changelog
Tools
Interview Intel
Resume Reviewer
Job Boards
Sandbox IDE
Back
All Modules
Data Management
SQL Practice Queries
SQL Practice Queries
0 / 9 solved
0/9
solved
Status
All questions
9
Unsolved
9
Solved
0
Tags
Basics
3
concatenated-index
1
date-ranges
1
deduplication
1
distinct-on
1
growth-rate
1
indexes
2
lag
1
problem-solving
1
query-design
1
row-number
1
sargable-predicates
1
sorting
1
top-n
1
top-n-per-group
1
window-functions
3
Difficulty
1
10
Clear
Question
Tags
Difficulty
Success
1.
Departments with 100+ Employees
Basics
Medium
52%
2.
Where To Start The Query
problem-solving
query-design
+1
Medium
—
3.
Month Over Month
lag
window-functions
+1
Medium
—
4.
Keep The Newest Signup
deduplication
row-number
+1
Medium
—
5.
One Row Per User
distinct-on
top-n-per-group
+1
Medium
—
6.
The Last Day Is Missing
date-ranges
sargable-predicates
+1
Medium
—
7.
Managers of High-Budget Departments
Basics
Hard
60%
8.
Employees in Both Departments
Basics
Hard
27%
9.
Which Ones Use The Index
indexes
concatenated-index
+1
Hard
—
Basics
problem-solving
query-design
window-functions
lag
growth-rate
deduplication
row-number
distinct-on
top-n-per-group
sorting
date-ranges
sargable-predicates
indexes
concatenated-index
top-n
+1
+2
+3
Up next
9 of 9 questions here are still unsolved.
Next module
SQL Window Functions & Advanced
Problems
Roadmap
White Room
Guides
Log in