Products Sold Only in Q1 2019
Return the product ids of products that were sold only during Q1 2019 (January-March inclusive). If a product has any sale outside the 2019-01-01..2019-03-31 range, exclude it from the result.
Expected output sample
This is what a correct answer looks like — its row count is its own, it doesn't have to match the schema tables.
| product_id |
|---|
| 3 |
| 4 |
| 1 |
Sign in to see submission history
Sign inSign in to use AI Mentor
Sign in