Nota
L-aċċess għal din il-paġna jeħtieġ l-awtorizzazzjoni. Tista’ tipprova tidħol jew tibdel id-direttorji.
L-aċċess għal din il-paġna jeħtieġ l-awtorizzazzjoni. Tista’ tipprova tibdel id-direttorji.
The MAX function returns the maximum value of the specified expression.
Syntax
MAX(<numeric_expr>)
Arguments
| Description | |
|---|---|
numeric_expr |
A numeric expression. |
Return types
Returns a numeric scalar value.
Examples
This section contains examples of how to use this query language construct.
Maximum value for a property
In this example, the MAX function is used to return the maximum value of the price property.
SELECT
MAX(p.price) AS maxPrice
FROM
products p
WHERE
p.category = "activity-bracelet"
[
{
"maxPrice": 71.76
}
]