Find products that are missing a rating or have a NULL category
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
Problem
Find products that are missing a rating or have a NULL category. Select product_id, product_name, category, and rating from products where either category IS NULL or rating IS NULL.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.