Database Analyst Question:

Download Job Interview Questions and Answers PDF

Please explain what are aggregate functions?

Database Analyst Interview Question
Database Analyst Interview Question

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 Interview Questions And Answers PDF

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?