bugl
bugl
HomeLearnPatternsSearch
HomeLearnPatternsSearch

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

MySQL SIN() Function

Concept visual

MySQL SIN() Function

Pointer walk
two pointers
leftright102132436485116
left=0
right=6
1
3

Start at both ends

Example

Return the sine of a number:

SELECT SIN(2);

Definition and Usage

The SIN() function returns the sine of a number.

Syntax

Sin(

number )

Parameter Values

Parameter

Description number

Required. A numeric value

Technical Details

Works in:

From MySQL 4.0

More Examples

Example

Return the sine of a number:

SELECT SIN(-1);

Previous

❮ MySQL Functions

Next

Previous

MySQL SIGN() Function

Next

MySQL SQRT() Function