What is DEGREES() in SQL?
The DEGREES() function converts the radian value to degrees.
Figure 1 shows a mathematical representation of the DEGREES() function.
Syntax
DEGREES(value)
Parameter
The DEGREES() function takes a
Return value
The DEGREES() function then converts the radian value sent as parameter to degrees.
Example
-- pi to degreesSELECT DEGREES(PI());-- 0 to degreesSELECT DEGREES(0);-- -pi to degreesSELECT DEGREES(-PI());