SELECT ACOS(0);// Output 1.5707963267948966 SELECT ACOS(1); // Output is 0 SELECT ACOS(-2); // Output is NULL
SELECT ROUND(ACOS(0),2);// Output is 1.57Syntax
SELECT ACOS( X )
The output is arc cos of X or the value for which COS() is X SELECT DEGREES(ACOS(0)); // Output is 90 SELECT DEGREES(ACOS(0)); // Output is 90 SELECT DEGREES(ACOS(-1)); // Output is 180
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.