SQL高效查詢兩個表不一樣的數據

邏輯相對複雜,可是速度最快:spa

select * from B where (select count(1) from A where A.ID = B.ID) = 0
相關文章
相關標籤/搜索