select * from test where a and b and c and (d or e)
select * from test where (a and b and c and d) or (a and b and c and e )
请问这两条语句的原理、效率是不是一样的呢? 有没有理论来证明呢?
...全文
81922打赏收藏
关于WHERE条件对性能的影响?
关于WHERE条件对性能的影响? 有这样两个语句: select * from test where a and b and c and (d or e) select * from test where (a and b and c and d) or (a and b and c and e ) 请问这两条语句的原理、效率是不是一样的呢? 有没有理论来证明呢?