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++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -