統計銷量最多的商品的sql語句

select id, count(*)pid from orderitem group by pid order by pid desc; select , count()pid from orderitem group by pid order by pid desc;
相關文章
相關標籤/搜索