# SQRT

> Calculate the square root of a number using SQL in StackQL.

Source: https://stackql.io/language-spec/functions/math/sqrt

Calculates the square root of a non-negative numeric expression.

See also:  
[[`SELECT`]](/language-spec/select) 

* * * 

## Syntax

```sql
SELECT SQRT(numeric_expression) FROM <multipartIdentifier>;
```

## Arguments

__*numeric_expression*__  
A non-negative numeric expression for which the square root is to be calculated.

## Return Value(s)
Returns the square root of the specified non-negative numeric value.

* * *

## Examples

### Calculate the square root of a number

```sql
SELECT SQRT(9) AS square_root;
```
