如何使用sql語句統計多條件的欄位數量,1樓用分組,組內計數就可以了,意思就是根據欄位a的取值進行分組 ... select count(distinct t.id) as "小計",.
確定! 回上一頁