description |
---|
Returns the square root of the non-negative numeric expression. |
- numeric_expression: Numeric expression to calculate the square root for.
Examples
{% code title="SQRT example" %}
SELECT SQRT(25.25)
-- 5.024937810560445
{% endcode %}
{% code title="SQRT example" %}
SELECT SQRT(-25.25)
-- NaN
{% endcode %}
- numeric_expression: Numeric expression to calculate the square root for.
Examples
{% code title="SQRT example" %}
SELECT SQRT(25)
-- 5
{% endcode %}
- numeric_expression: Numeric expression to calculate the square root for.
Examples
{% code title="SQRT example" %}
SELECT SQRT(25)
-- 5
{% endcode %}
- numeric_expression: Numeric expression to calculate the square root for.
Examples
{% code title="SQRT example" %}
SELECT SQRT(25.25)
-- 5.024937810560445
{% endcode %}
If the input is a non-negative value, NaN
will be returned.