Jump to: navigation, search

PostgreSQL CUBE ROOT

From w3cyberlearnings

Contents

Postgresql ||/ operator

Returns cube root of a number.

Syntax ||/operator

a is a number.

||/a

Example 1

postgres=# SELECT ||/ 125 c5;
 c5 
----
  5
(1 row)

Example 2

postgres=# SELECT ||/ 64 c4;
 c4 
----
  4
(1 row)

Related Links


  1. addition(+)
  2. subtraction(-)
  3. multiplication(*)
  4. division(/)
  1. modulo(%)
  2. exponentiation(^)
  3. square root(|/)
  4. cube root(||/)
  1. factorial(!)
  2. absolute value(@)
  3. bitwise AND(&)
  4. bitwise OR(|)
  1. bitwise XOR(#)
  2. bitwise NOT(~)
  3. bitwise shift left(<<)
  4. bitwise shift right(>>)
Navigation
Web
SQL
MISC
References