CBRT()
function calculates and returns the cube root of a given number. In mathematical terms, for a number x, its cube root y is determined by the equation y³ = x.
CBRT()
function is as follows:
number
: This is a required value representing the number for which you want to calculate the cube root. It can be a positive or negative whole number, a decimal, or even an expression that evaluates to a number.SELECT CBRT(some_column) from test_table
, assuming some_column
contains a numeric value.
NULL
if the argument is NULL
. CBRT()
function:
CBRT()
function as shown:
CBRT()
function as demonstrated below:
CBRT()
function works as follows:
||/(x)
)||/(x)
) to calculate the cube root of a given number: