magento mysql
时间:2014-07-21 10:08:17
收藏:0
阅读:250
select sku,COUNT(sku) cc from sales_flat_order_item where order_id in(SELECT entity_id from sales_flat_order where state in(‘complete‘,‘processing‘)) GROUP BY sku ORDER BY cc DESC #产品销量
评论(0)