SELECT * FROM table1WHERE not exists (SELECT ph from table2WHERE djlx = 'WGD' and table1.ph=table2.ph ) 如果需要再增加兩個條件 table1.xd <> 'XC' and table1.xd <> 'RK' 該怎么寫
SQL語句 比較麻煩的not exists 增加條件?
慕的地8271018
2018-10-25 09:06:45