Computer Science, asked by vishalshevare7, 1 month ago

State and explain aggregate functions in sql​

Answers

Answered by lucky99882
0

Answer:

An aggregate function performs a calculation on a set of values, and returns a single value. Except for COUNT(*) , aggregate functions ignore null values. Aggregate functions are often used with the GROUP BY clause of the SELECT statement.

Aggregate functions in SQL

• COUNT counts how many rows are in a particular column.

•SUM adds together all the values in a particular column.

• MIN and MAX return the lowest and highest values in a particular column, respectively.

AVG calculates the average of a group of selected values.

Similar questions