Loading...
Recent Price Drops
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- senior
Problem
A downstream consumer flagged stale product data. Pull all products that either had a transaction recorded within the last day, or are currently marked as in stock. Return unique product IDs and names, no duplicates.
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.