Last active
August 1, 2018 10:34
-
-
Save steverobbins/a448f4a05ba59a7b8597 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select sfoi.sku, sum(sfoi.qty_ordered) sold, sum(sfoi.base_price) dollaramount | |
from sales_flat_order_item sfoi | |
group by sfoi.sku | |
order by sold desc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How can i get Level 2 Category wise Top Seling Products Report by MYSQL Query?