Returns the sine of a numeric value.

Syntax

SIN(expression)

Arguments

expression: a numeric value of type DOUBLE.

Returns

A DOUBLE value. Returns NULL if numValue is NULL.

Examples

SELECT numberCol, SIN(numberCol) AS numberColSIN FROM MYSQL.inventory.cust;

-- SIN(10);
-- Returns -0.54402111088937