Use ATAN
/* mysql> select ATAN( 0.45); +------------------+ | ATAN( 0.45) | +------------------+ | 0.42285392613294 | +------------------+ 1 row in set (0.00 sec) */ select ATAN( 0.45);