Quote:
Originally Posted by lazyme
How should I write a subquery to count the number of stores the have 0 sales for each particular item?
|
For the moment, let's not worry about the subquery. The first thing you need to do is determine the number of sales per store per item. This should be a relatively straightforward query, and we can use this in your final query.