SELECT COUNT(Customer) FROM orders WHERE Customer='張一' and '王二';
複製代碼
試試作者: 朱朱愛你 時間: 2016-1-6 21:27:03
恨~~ 發表於 2016-1-6 00:23
試試
試過 SELECT COUNT(Customer) FROM orders WHERE Customer='張一' and '王二'
和SELECT COUNT(Customer) FROM orders WHERE Customer='張一' or '王二'
SELECT COUNT(Customer) FROM orders WHERE Customer='張一' and Customer='王二'
及SELECT COUNT(Customer) FROM orders WHERE Customer='張一' or Customer='王二'
都無法將要的資料顯示出來作者: 恨~~ 時間: 2016-1-7 00:31:39