Curriculum
Course: MYSQL
Login

Curriculum

MYSQL

MySQL References

0/140
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);