...
Arithmetic expressions
Syntax | ResultOutput | Description | Examples |
---|---|---|---|
numeric_expression + numeric_expressionnumber + number | number | Adds two numeric expressions. |
|
numeric_expression - numeric_expressionnumber - number | number | Subtracts a numeric expression from another. |
|
numeric_expression * numeric_expressionnumber * number | number | Multiplies two numeric expressions. |
|
numeric_expression / numeric_expressionnumber / number | number | Divides a numeric expression by another. | |
numeric_expression % numeric_expressionnumber % number | number | Computes the remainder of the division between two numeric expressions. |
...
Aggregation expressions
Syntax | ResultOutput | Description | Examples |
---|---|---|---|
COUNT(requirements: requirement_list[]) | number | Counts requirements. | |
SUM(numeric_expression: number, requirements: requirement_list[]) | number | Computes the sum of a numeric expression applied to a list of requirements. | |
AVG(numeric_expression: number, requirements: requirement_list[]) | number | Computes the average of a numeric expression applied to a list of requirements. | |
MAX(numeric_expression: number, requirements: requirement_list[]) | number | Computes the maximum value of a numeric expression applied to a list of requirements. | |
MIN(numeric_expression: number, requirements: requirement_list[]) | number | Computes the minimum value of a numeric expression applied to a list of requirements. |
Boolean expressions
Syntax | ResultOutput | Description | Examples | |||||
---|---|---|---|---|---|---|---|---|
NOT boolean_expression | boolean | Applies a logical NOT to a boolean _ expression. | ||||||
boolean AND boolean_expression | boolean | boolean_expression OR boolean_expression | boolean | boolean | Applies a logical AND between two boolean expressions. | |||
boolean OR boolean | boolean | Applies a logical OR between two boolean expressions. | ||||||
| boolean | Indicates whether two expressions are equal. | ||||||
| booleannumeric_expression > numeric_expression | Indicates whether two expressions are different. | ||||||
number > number | boolean | Indicates whether a numeric _ expression is greater than another. | ||||||
number >= numeric_expressionnumber | boolean | Indicates whether a numeric _expression < numeric_expressionexpression is greater or equal to another. | ||||||
number < number | boolean | Indicates whether a numeric _ expression is less than another. | ||||||
number <= number | boolean | Indicates whether a numeric _ expression | boolean |
| boolean | expression IS NULL | booleanis less or equal to another. | |
| boolean | Indicates whether a string expression matches a string pattern. | ||||||
expression IS NULL | boolean | Indicates whether an expression is null. | ||||||
expression IS NOT NULL | boolean | Indicates whether an expression is not null. |