Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
MySQL has many built-in mathematical functions that you can use in SQL statements for performing calculations on values in databases. Each function accepts either numbers or numeric columns for parameter values. All mathematical functions return NULL on error.
The following functions are covered in this chapter: