select * from B where exists(select cc from A where cc=B.cc) 效率低,用到了A表上cc列的索引。 同時not in 和not exists,如果查詢語句使用了not in ...
確定! 回上一頁