Loading...

Multi-Column User Sort

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

Domain
SQL
Difficulty
easy
Seniority
junior

Problem

The admin panel needs a sortable user directory alphabetical by username, with ties broken by age bucket in reverse. Return all user profile fields.

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.