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
- L4
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.
Summary
Flags that have been on for too long.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.