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 self-service freelancing marketplace for people like you.

SQL SQUARE Function

The SQUARE function returns the square of the specified number.

The specified number is multiplied by itself.

Example

#

The example returns the squared value of 4.

SELECT SQUARE(4) AS '4 Squared'
Result:  1 record
4 Squared
16

Syntax

Syntax of the SQUARE function.

SQUARE(value)

value -- a number or column name.


You may also like



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 self-service freelancing marketplace for people like you.

Guides


vsn 3.1