Do math sin : SIN « Math « SQL / MySQL






Do math sin

  
/*  SELECT SIN(PI()/4) */
 SELECT SIN(PI()/4);

/*
mysql>  SELECT SIN(PI()/4);
+------------------+
| SIN(PI()/4)      |
+------------------+
| 0.70710678118655 |
+------------------+
1 row in set (0.00 sec)


*/

           
       








Related examples in the same category

1.Use SIN