x

SQL – SQRT()

Prev     Next

SQL SQRT() function is used to find square root value of the given number. Syntax for SQL SQRT() function is given below.


SQL Syntax for SQRT() function:

Syntax for SQRT() function in SQL SELECT SQRT(column_name) FROM table_name;

Please consider the following table with few records as given below.

Table name (for example): student
Column names in this table: Student_ID, Student_name, City and Marks
Available records: 4 rows