Loading...

iOS Adoption by 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

Compare the count of iOS users (running iOS 16, 17, or 18) to total users in each age bucket, but only buckets where at least one session exists. Return results by total users, highest first.

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.