mysql統計多個count帶入條件

select count(CONDITION1 or null) as VAL1 ,count(CONDITION2 or null) as VAL2 ,count(CONDITION3 or null) as VAL3 from `TABLENAME`
相關文章
相關標籤/搜索