아찌님 말처럼 IN 사용하면 좋을 것 같네요. SELECT * FROM TABLE_NAME WHERE A IN('사과', '바나나', '배')
by RASHID
[2013.04.16 11:50:18]
Oracle internally converts IN lists to lists of ORs anyway so there should really be no performance differences. The only difference is that Oracle has to transform INs but has longer strings to parse if you supply ORs yourself.
in 조건절이나 or 조건절이나 같은 내부로직을 타는거 아닌가요? ㅎㅎ
댓글등록
SQL문을 포맷에 맞게(깔끔하게) 등록하려면 code() 버튼을 클릭하여 작성 하시면 됩니다.