SQL logical operators |
Logical operators |
Logical operators combine or manipulate conditions in a SQL query.
|
influxdb3_cloud_serverless |
name |
parent |
Logical operators |
Operators |
|
|
303 |
/influxdb3/cloud-serverless/reference/sql/where/ |
/influxdb3/cloud-serverless/reference/sql/subqueries/#subquery-operators, Subquery operators |
|
| Operator | Meaning |
| :-------: | :------------------------------------------------------------------------- |
| `AND` | Returns true if both operands are true. Otherwise, returns false. |
| `BETWEEN` | Returns true if the left operand is within the range of the right operand. |
| `EXISTS` | Returns true if the results of a subquery are not empty. |
| `IN` | Returns true if the left operand is in the right operand list. |
| `LIKE` | Returns true if the left operand matches the right operand pattern string. |
| `NOT` | Negates the subsequent expression. |
| `OR` | Returns true if any operand is true. Otherwise, returns false. |
|
/shared/sql-reference/operators/logical.md |