Hi,
I have a table full of purchased items and i want to be able to select the top 10 most purchased products for a given user and I want to return the ID of those along with how many instances of that ID exists.
I'm using the following SQL code
SELECT TOP (10) beat_id, Count(*)
FROM...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.