SQL TAN() is an inbuilt function that is used for finding the tangent of the specified angle(in radians) in the defined float expression. The mathematical formula for this function is TAN(x) = Length of the Opposite Side / Length of the Adjacent Side. SQL TAN() method calculates the Tangent value for the given angle.

SQL TAN()

SQL TAN() function returns the tangent of a number.

Syntax

SELECT TAN (float_expression);

Parameters

Float_expression: An expression of float or any other type which is implicitly converted to float whose tangent value is to be retrieved.

#sql #sql tan #tangent

SQL TAN Function Example | TAN() in SQL
1.45 GEEK