Loading...

Long-Running Feature Flags

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

Domain
SQL
Difficulty
medium
Seniority
mid

Problem

We're running a feature flag hygiene audit. Find flags created more than 730 days before May 1, 2026. For each, show the flag name, owner, whether it's still enabled ('Yes' or 'No'), and how many years it's been since creation. Flags with no updated timestamp should be treated as still active.

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.