Skip to content

SIN

Return the sine value of an input radian value.

SIN(number)

The return type is a DOUBLE PRECISION number.

For example:

premdb=# select sin(1) from sys.const;
       sin        
-------------------
 0.841470984807897
(1 row)
premdb=# select sin(seasonid) from season;
        sin          
----------------------
   0.841470984807897
   0.909297426825682
   0.141120008059867
   -0.756802495307928
   -0.958924274663138
...

Parent topic:Mathematical Functions