H
hotplate
Hi,
Can someone give me an example of this query?
I have 4 different commodities. Each commodity has several different
suppliers. I am counting the number of times a supplier's number
occurs within a period of time. I am trying to limit each commodity
to the top 5 results.
When I do a select top 5, I just get the 5 highest counts. I need the
top 5 per each commodity (for a result of 20 records).
Does anyone have an example of how to do this?
James
Can someone give me an example of this query?
I have 4 different commodities. Each commodity has several different
suppliers. I am counting the number of times a supplier's number
occurs within a period of time. I am trying to limit each commodity
to the top 5 results.
When I do a select top 5, I just get the 5 highest counts. I need the
top 5 per each commodity (for a result of 20 records).
Does anyone have an example of how to do this?
James