PartiQL arithmetic, comparison, and logical operators for DynamoDB
PartiQL in Amazon DynamoDB supports the following SQL standard
        operators
Note
Any SQL operators that are not included in this list are not currently supported in DynamoDB.
Arithmetic operators
| Operator | Description | 
|---|---|
| + | Add | 
| - | Subtract | 
Comparison operators
| Operator | Description | 
|---|---|
| = | Equal to | 
| <> | Not Equal to | 
| != | Not Equal to | 
| > | Greater than | 
| < | Less than | 
| >= | Greater than or equal to | 
| <= | Less than or equal to | 
Logical operators
| Operator | Description | 
|---|---|
| AND | TRUEif all the conditions separated byANDareTRUE | 
| BETWEEN | 
 This operator is inclusive of the lower and upper bound of the operands on which you apply it. | 
| IN | TRUEif the operand is equal to one of a list of
                            expressions (at max 50 hash attribute values or at max 100 non-key attribute values) | 
| IS | TRUEif the operand is a given, PartiQL data type, includingNULLorMISSING | 
| NOT | Reverses the value of a given Boolean expression | 
| OR | TRUEif any of the conditions separated byORareTRUE | 
For more information about using logical operators, see Making comparisons and Logical evaluations.