Most Ordered Product by Country
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L4
Problem
The merchandising team wants the bestseller. Find every product that ties for the highest number of recorded transactions, and show the product name and that count. Include all products tied at the top, sorted alphabetically by product name.
Summary
Popular products in specific markets.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.