跳转到内容

条件 AND 运算符。检查两个条件是否都为真。

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;