Database Analyst Question:

Please explain what are aggregate functions?

Tweet Share WhatsApp

Answer:

Aggregate functions perform calculations on a set of values and return a single value. The common aggregate functions are:

☛ COUNT (counts the number of rows in the table)
☛ SUM (returns the sum of all values of a numeric column)
☛ AVG (returns the average of all values of a numeric column)
☛ MIN (returns the lowest value of a numeric column)
☛ MAX (returns the highest value of a numeric column).

Aggregate functions are frequently used in combination with the GROUP BY statement.

Download Database Analyst PDF Read All 61 Database Analyst Questions
Previous QuestionNext Question
Can you take a few minutes to explain how you would estimate how many shoes could potentially be sold in New York City each June?Tell us what are the different types of subqueries?