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

oracle in VS or效率

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

oracle in VS or效率

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

 

相关文章:

  • 2021-12-19
  • 2021-10-16
  • 2022-01-05
  • 2022-01-29
  • 2022-12-23
  • 2022-12-23
  • 2021-09-08
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-10
  • 2021-07-27
相关资源
相似解决方案