We have started having fun with built-in functions (set of instructions) for numeric values.
- SUM() — total value of row
- AVG() — average value of a row
- COUNT() — how many records
- ROUND() — rounding a number to a specific decimal point (decimal, float, double, money…)
- CEILING() — rounding up to the closest whole number value (integer)
- FLOOR() — rounding down to the closest whole number value (integer)
- MAX() — highest value
- MIN() — lowest value
- RAND() — random value
- FORMAT() — “dress” value for date or currency ($5.00, 2/14/2018, 14-FEB-18); outputs VARCHAR(n)
Download the notes for day 3.