Numeric functions (Exponent and Root)
Returns the square-root of a non-negative numeric expression.
Syntax¶SQRT(expr)
Copy
Usage notes¶Always returns a floating point number, even if the input expression is of an integer type.
If the input expression is negative, an error will be reported.
SELECT x, sqrt(x) FROM tab; --------+-------------+ x | sqrt(x) | --------+-------------+ 0 | 0 | 2 | 1.414213562 | 10 | 3.16227766 | [NULL] | [NULL] | --------+-------------+
Copy
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4