问题
I have queuries with a LOT of these situations
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 )
Is there a better way to rewrite the filter conditions
NOT IN ( List ) , Col <> and IN LIST Optimization some of the cols are selected some are not which are there in the sel Vs the filter condition.
来源:https://stackoverflow.com/questions/33004757/teradata-sql-optimization-not-in-list-col-and-in-list-optimization