SIN

From SQLZOO
Revision as of 08:49, 16 July 2012 by Connor (Talk | contribs)

Jump to: navigation, search
Compatibility
SIN(s1 IN s2)
EngineOKAlternative
ingresYes
mysqlYes
oracleYes
postgresYes
sqlserverYes

SIN

SIN(f) returns the sine of f where f is in radians.

  SIN(3.14159/6) -> 0.5  

In this example you return the sine of each of the angles.

SELECT id,
       SIN(th)
  FROM angle

See also

Personal tools
Namespaces

Variants
Actions
Reference
Toolbox
Google AdSense