Loading...

The Phantom Readers

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

Domain
SQL
Difficulty
medium
Seniority
mid, senior

Problem

The growth team wants to target window shoppers with a promotion. Find users who viewed at least 5 pages in the past 30 days but have zero transactions ever. Return their user_id, username, email, and total view count, sorted from most views to least.

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.