oracle in VS or效率


select * from test where status in ('01', '02', '03', '111');

select * from test where status = '01' or status = '02' or status = '03' or status = '111';

in查詢比or要高10倍的效率

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM