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
- L5
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.
Summary
The price just dropped. Who noticed?
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.