Dofactory.com
Dofactory.com
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 freelancing marketplace for people like you.
By adding your name & email you agree to our terms, privacy and cookie policies.

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



Last updated on Dec 21, 2023

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 freelancing marketplace for people like you.
By adding your name & email you agree to our terms, privacy and cookie policies.