Loading...

The Dormant Accounts

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

Domain
SQL
Difficulty
easy
Seniority
junior, mid, senior

Problem

Pull active users who have not logged in for over 90 days. Show each user's name, account status, last login date, and total lifetime spend so finance can decide whether to reach out or deactivate.

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.