Earn income with your data and sql skills
Sign up and we'll send you the best freelance opportunities straight to your inbox.
We're building the largest self-service freelancing marketplace for people like you.

SQL ASIN Function

The ASIN function returns the arc sine of the specified value.

The value returned is an angle measured in radians.

ASIN accepts values between -1 and 1. Any other value generates an error.

Example

#

This example returns the arc sine of the specified values.

SELECT ASIN(1) AS '1',
       ASIN(0) AS '0',
       ASIN(-1) AS '-1'
Result:  1 record
1 0 -1
1.5707963267949 0 -1.5707963267949

Note: The first and last values are π/2 (1.57)


Syntax

Syntax of the ASIN function.

ASIN(number)

number -- a value between -1 and 1.


You may also like



Earn income with your data and sql skills
Sign up and we'll send you the best freelance opportunities straight to your inbox.
We're building the largest self-service freelancing marketplace for people like you.

Guides


vsn 3.1