Sams Teach Yourself SQL in 24 Hours, Third Edition By Ronald R. Plew, Ryan K. Stephens
Table of Contents
Hour 11. Restructuring the Appearance of Data
Mathematical functions are fairly standard across implementations . These are functions that allow you to manipulate numeric values in a database according to mathematical rules.
The most common functions include the following:
Absolute value
(ABS)
Rounding
(ROUND)
Square root
(SQRT)
Sign values
(SIGN)
Power
(POWER)
Ceiling and floor values
(CEIL, FLOOR)
Exponential values
(EXP)
SIN, COS, TAN
The general syntax of most mathematical functions is