콘텐츠로 이동

조건부 OR 연산자입니다. 두 조건 중 하나라도 참인지 확인합니다.

or_(<expr1>[, <expr2> ...])
or_(
table.color == 'green',
table.shape == 'circle',
table.price >= 1.25
)
<expr1> OR <expr2>
SELECT * FROM table WHERE
table.color = 'green'
OR table.shape = 'circle'
OR table.price >= 1.25;