Tutorial - Aggregate Functions (AVG, COUNT, MAX, SUM) : Lecturer: Clive Gargan Database Design & Development
Tutorial - Aggregate Functions (AVG, COUNT, MAX, SUM) : Lecturer: Clive Gargan Database Design & Development
AVG
To return the Average Age of the Members in our table write the following select statement and
execute.
Lecturer : Clive Gargan Database Design & Development
COUNT
To return the number of records we have in our member table write the following select statement
and execute.
Lecturer : Clive Gargan Database Design & Development
MAX
To return the maximum age from the Members table write the following select statement and
execute.
Lecturer : Clive Gargan Database Design & Development
SUM
To get the sum of all ages write the following select statement and execute.