Curriculum
Course: SQL
Login

Curriculum

SQL

SQL References

0/80

MySQL Functions

0/139

SQL Server Functions

0/84

SQL Quick Ref

0/1
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);