The Relentless Searchers
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L4
Problem
Rank users by total search queries, most active at rank 1. Users with the same count should fall in alphabetical sequence by user ID (treated as text), and every user gets a unique rank with no ties.
Summary
Most users look once and leave. A few never stop looking.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.