Numeric built-in functions handle mathematical calculations. They can all operate on a numeric data type table column or an expression of a numeric data type. The following list shows a sample of these functions:
- AVG: Returns the average of an expression:
- AVG(rating): This will return the average of all the values in a rating column.
- NULL values are ignored.
- COUNT: Returns the number of records:
- COUNT(column1): This will return the count of values in column1 : column1 can contain either strings, dates, or numbers.
- NULL values are ignored.
- MAX: Returns the maximum value in a set of values :
- MAX(rating): This will return the maximum rating in a column of rating values.
- MIN: Returns the minimum value in a set of ...