Curriculum
Course: MYSQL
Login

Curriculum

MYSQL

MySQL References

0/140
Text lesson

SIN

Example

Calculate the sine value of a given number.

SELECT SIN(2);

Definition and Usage

The SIN() function computes the sine value of a given number.

Syntax

SIN(number)

Parameter Values

Parameter

Description

number

Necessary: A numerical value

Technical Details

Works in:

 From MySQL version 4.0

More Examples

Example

SELECT SIN(-1);