I have a table called order_list with the following fields
- order_id
- user_id
- item_id
- count
- date
- order_status
every time users place order, this table used to save order details. so how can I write my SQL query to find top 10 items based on the sum of ordered count?
1 Answer