SELECT DEGREES(PI())
Output is 180SELECT DEGREES( X);
Value of X is in radian.
SELECT DEGREES(PI()); // Output is 180
SELECT DEGREES(PI()/2); // Output is 90
SELECT DEGREES(PI()/3); // Output is 59.99999
SQL Math References
RADIANS function
Author & Instructor at plus2net
I write and maintain practical tutorials on Python, PHP, SQL, JavaScript, HTML, jQuery, and web development at plus2net. The tutorials focus on clear explanations, working examples, and code that readers can test and adapt while learning.