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;
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;