Updated on 2026-11-06 GMT+08:00

where_condition

WHERE condition, which is used to filter rows.

Syntax

Description

Syntax

Description

where_condition

WHERE logical judgment condition.

and

Logical operator: AND.

or

Logical operator: OR.

not

Logical operator: NOT.

(

Start of a sub-logical judgment condition.

)

End of a sub-logical judgment condition.

condition

Logical judgment condition.

exists

Keyword, used to determine if a non-empty set exists. If exists is followed by a subquery, the subquery must contain a logical judgment condition.

in

Keyword, used to determine if an attribute is in a set.

attrs_value_set_expr

Attribute value set.

attr_expr

Attribute expression.