SQL/MySQL/Math/SIN
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)
*/
Use SIN
/*
mysql> select SIN( 0.3);
+------------------+
| SIN( 0.3) |
+------------------+
| 0.29552020666134 |
+------------------+
1 row in set (0.00 sec)
*/
select SIN( 0.3);