Mysql Join with limit? -


I have a table with category, product and count all the integers I'm looking for the most efficient query which I Give the top 10 products (highest count) for the category.

I have tried many sub-genres but it did not know how to do this thanks to your help in the same query.

  * From one to 10 & gt; (Select calculation (*) from TB, where BC range = C. range and bacant & lt; a.count)  

I think this is what you need.


Comments

Popular posts from this blog

c# - PInvoke of NetUserAdd returns 24 -

actionscript 2 - getURL action script 2 and IE 7/8 -