SQL SQUARE Function

Example

Return the square of a number:

SELECT SQUARE(64);

Definition and Usage

The SQUARE() function returns the square of a number.

Syntax

SQUARE(number)

Continue reading SQL SQUARE Function

SQL SQRT Function

Example

Return the square root of a number:

SELECT SQRT(64);

Definition and Usage

The SQRT() function returns the square root of a number.

Syntax

SQRT(number)

Continue reading SQL SQRT Function