Syntax

TAN(expression)

Arguments

expression: a numeric expression of type DOUBLE.

Returns

A DOUBLE value. Returns NULL when expression is NULL. Returns zero when expression is zero.

Examples

SELECT numberCol, TAN(numberCol) AS numberColTAN FROM MYSQL.inventory.cust;

-- TAN(1);
-- Returns 1.5574077246549