是否可以以仅使用上面链接中列出的运算符的方式在逻辑上重写如下查询?
查询:
Select *
From table
Where table-column not in (
Select table-column
From table2);
列出的能够使用索引的运算符:
Select A.*
From table a
left join table2 b
on a.table-column = b.table-column
WHERE b.table-column is null
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句