SELECT ASIN(0);// Output 0 SELECT ASIN(1); // Output is 1.5707963267948966 SELECT ASIN(-2); // Output is NULLWe are getting outputs in radian, so to change the value to degree we will use DEGREES()
SELECT DEGREES(ASIN(1)); // Output is 90 SELECT DEGREES(ASIN(0)); // Output is 0 SELECT DEGREES(ASIN(-1)); // Output is -90
SELECT ASIN( X )
The output is arc sine of X or the value for which SIN() is X
Author
🎥 Join me live on YouTubePassionate about coding and teaching, I publish practical tutorials on PHP, Python, JavaScript, SQL, and web development. My goal is to make learning simple, engaging, and project‑oriented with real examples and source code.