Skip to main content

Query Operators

This page provides reference information for the query operators in Databend.

Operator Types

Operator TypeDescription
ArithmeticMathematical operations (+, -, *, /, %, DIV)
ComparisonValue comparisons (=, !=, <, >, <=, >=, BETWEEN, IN)
LogicalBoolean logic (AND, OR, NOT, XOR)
JSONJSON data operations (::, ->, ->>, @>, <@)
SetCombine query results (UNION, INTERSECT, EXCEPT)
SubqueryNested queries (EXISTS, IN, ANY, ALL, SOME)
Try Databend Cloud for FREE

Multimodal, object-storage-native warehouse for BI, vectors, search, and geo.

Snowflake-compatible SQL with automatic scaling.

Sign up and get $200 in credits.

Try it today