sin(n)

Returns the sine value of radians value n. ncan be any real number in the range of -1e308 <= n <= 1e308. If null is passed as an argument, sin() returns null.

sin(n) takes the following syntax.

SELECT SIN(n) as Alias
FROM dataset;

Example

This example takes the sine of 90 degrees.

SELECT SIN(RADIANS(90)) as sinValue
FROM "Opportunity"
LIMIT 1;
sinValue
1