select (case m.i when "no" then m.name else "GroupBuy" end) as c,count(*) from (SELECT h.id,h.is_group_buy i,c.name from client c right join (SELECT *,count(*)over(PARTITION by use...