MySQL comes with about 30 built-in mathematical and statistical functions giving users access to the most common activities such as mean, standard deviation, min/max and sum. There are also constants built-in for PI and Euler's constant. This allows some data analysis tasks to be implemented with minimal effort.
The tutorial below demonstrates a number of examples of mathematical functions in action.
Creating Databases and Loading Data