COS Function

The COS function returns the cosine of a radian expression.

The following example returns the cosine of the values of the degrees column in the anglestbl table. The expression passed to the COS function in this example converts degrees to radians.
SELECT COS(degrees*180/3.1416) FROM anglestbl;