Loading...

Devices Per Age Bucket

A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.

Domain
SQL
Difficulty
medium
Seniority
mid

Problem

For active users in the 25-34 age bucket, the product team wants to know which device types they use most. Count the number of unique devices broken down by device type, from most to fewest.

Practice This Problem

Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a live PostgreSQL database and grades it instantly.