I'm after a way of getting a query in SQL (Access) to look at a range of classifications, and then taking the top 5 largest number of items [in this case] against that classification. For example; for a table holding data on products in a record store, you might want to ask it
"Tell me the top five bestsellers from each genre in the store"
This would mean the query would have to group by the genre, locate the stock count against each product, and return the top 5 for every genre it has grouped. Any ideas guys??
Thanks - Matt
"Tell me the top five bestsellers from each genre in the store"
This would mean the query would have to group by the genre, locate the stock count against each product, and return the top 5 for every genre it has grouped. Any ideas guys??
Thanks - Matt