SQL高效查询两个表不一样的数据

逻辑相对复杂,可是速度最快:spa

select * from B where (select count(1) from A where A.ID = B.ID) = 0
相关文章
相关标签/搜索