select finish,sum(*) from table1 where finish = 1 or finish = 0 group by finish ※ 引述《joedenkidd (優質的藍色射手)》之銘言: : Dear 版友 : select sum(*) from table1 where finish =1; //找出完成的資料 : select sum(*) from table1 where finsih =0; //找出未完成的資料 : 想請問一下,要如何將上面兩個查尋合併成一個