Skip to content

Conditional AND operator. Checks whether both conditions are true.

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