Use and ATAN and ATAN2
/*
mysql> select ATAN(1, 2);
+------------------+
| ATAN(1, 2) |
+------------------+
| 0.46364760900081 |
+------------------+
1 row in set (0.00 sec)
mysql> select ATAN2(1, 2);
+------------------+
| ATAN2(1, 2) |
+------------------+
| 0.46364760900081 |
+------------------+
1 row in set (0.00 sec)
*/
select ATAN(1, 2);
select ATAN2(1, 2);
Related examples in the same category