Click here to Skip to main content
15,921,959 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi to all!

Can you help me about my problem in querying database records?

Here is the scenario..

I am developing an inventory system and it includes reports, views using datagrid. I have a product, product's category, receive and etc. I want to create a view of the latest received product by category, at least three of them. My problem is that I made a query for it and i use the LIMIT function of the mysql.

I need help in making database query which results to at least three latest products received by category. (Results must display at least three products each category).


Thank you ....
Posted

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900