SIN
From SQLZOO
| SIN(s1 IN s2) | ||
|---|---|---|
| Engine | OK | Alternative |
| ingres | Yes | |
| mysql | Yes | |
| oracle | Yes | |
| postgres | Yes | |
| sqlserver | Yes | |
SIN
COS(f) returns the cosine of f where f is in radians.
COS(3.14159/3) -> 0.5
In this example you return the cosine of each of the angles.
SELECT id, COS(th) FROM angle
See also