我对这些情况有很多疑问
Sel TB1.C1
TB2.C2,
TB3.C4
Tb5.C5
where < Join conditions involving all tables TB1 through TB4 .
Most are inner some are LOJ >
where TB2.C2 NOT In ( List )
OR TB3.C5 <> 'string'
OR Tb5.C8 NOT IN ( another long list )
有没有更好的方法来重写过滤条件
NOT IN ( List ) , Col <> and IN LIST Optimization
选择了一些 cols 一些不是在 sel Vs 过滤条件中存在的。