What is ASIN() in SQL?
The ASIN() functionarc sine function
Figure 1 shows the mathematical representation of the ASIN() function, and Figure 2 shows the visual representation of the ASIN() function.
Syntax
ASIN(number)
Parameter
This function requires a number as a parameter. The parameter must be a float value between -1 and 1, i.e., -1 <= parameter <= 1.
Return Value
ASIN() returns the inverse sine of a NULL.
Example
/*example showing how to use ASIN(X)*/-- positive numberselect ASIN(1);-- negative numberselect ASIN(-1);-- fractional numberselect ASIN(0.6);-- not between -1 and 1select ASIN(3);select ASIN(-3);