PostgreSQL SQUARE ROOT
From w3cyberlearnings
Contents |
Postgresql |/ operator
Returns square root of a number.
Syntax |/operator
|/a
Example 1
postgres=# SELECT |/ 25 s5; s5 ---- 5 (1 row)
Example 2
postgres=# SELECT |/ 49 s7; s7 ---- 7 (1 row)
Related Links
- modulo(%)
- exponentiation(^)
- square root(|/)
- cube root(||/)