select * from emp
where comm in (1,2);

  • Trace 결과

h3.Between과 비교


select * from emp
where comm between 1 and 2;

  • Trace 결과