📣
New in Public Preview:
TiDB Cloud BYOC
,
TiDB Cloud Filesystem
,
PostgreSQL-compatible TiDB Cloud Starter
Sign In
Start for Free
Product
AI
Developer
Best Practices
API
Releases
Sign In
Start for Free
English
Logical Operators
Contribute
Copy as Markdown
View as Markdown
Operator
Description
Example
Result
AND
Matches both expressions (
a
and
b
)
1 AND 1
TRUE
NOT
Does not match the expression
NOT 1
FALSE
OR
Matches either expression
1 OR 0
TRUE
Was this page helpful?
Yes
No
ON THIS PAGE