Earn income with your data and sql skills
Sign up and we'll send you the best freelance opportunities straight to your inbox.
We're building the largest self-service freelancing marketplace for people like you.

SQL SQRT Function

The SQRT function returns the square root of the specified number.

The input is of type float or a value that can be converted to a float.

Example

#

This example returns the square root of 16.

SELECT SQRT(16) AS 'SQRT 16'
Result: 1 record
SQRT 16
4

Syntax

Syntax of the SQRT function.

SQRT(value)

value -- a number or column name.


You may also like



Earn income with your data and sql skills
Sign up and we'll send you the best freelance opportunities straight to your inbox.
We're building the largest self-service freelancing marketplace for people like you.

Guides


vsn 3.1