Loading...

Binary Flag Indicators

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

Domain
SQL
Difficulty
medium
Seniority
junior

Problem

The feature flag dashboard needs a clean boolean representation for downstream consumers. For each flag, show the flag name, a 1/0 indicator for whether it is enabled, and a 1/0 indicator for whether it is disabled.

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.