Home
/
Questions
/
Coding
/
Customers who bought in every category
caseSQL
Coding question · Basic Filter Agg
Hard
Asked at Amazon
Customers who bought in every category
COUNT DISTINCT + HAVING against a dynamic total.
Unlock with Pro
→
Back to all coding questions
The Brief
← Previous
3-month rolling average revenue
Next →
Alice Chen's full reporting tree