方案一 select id, count(case when 屬性in (1,2) then 1 else 0 end) as sum1, count(case when 屬性in (3) then 1 else 0 end) as sum2, sum(case ...
確定! 回上一頁