Curriculum
Course: SQL
Login

Curriculum

SQL

SQL References

0/80

MySQL Functions

0/139

SQL Server Functions

0/84

SQL Quick Ref

0/1
Text lesson

SQRT

Example

Provide the square root of a given number.

SELECT SQRT(64);

Definition and Usage

The SQRT() function yields the square root value of a given number.

Syntax

SQRT(number)

Parameter Values

Parameter

Description

number

The SQRT() function yields the square root value of a given number.

Technical Details

Works in:

 From MySQL version 4.0

More Examples

Example

Provide the square root value for a given number.

SELECT SQRT(13);