What does aggregate function mean?

In databases & SQL, aggregate function means a SQL function that takes many rows and returns a single value from them, such as COUNT, SUM, AVG, MIN or MAX.

ˈæɡrɪɡət ˈfʌŋkʃənnounCore term

Databases & SQL vocabulary · SQL Statements and Queries

In Turkish: toplama fonksiyonu, küme fonksiyonu, aggregate fonksiyon

Also used in: Software Engineering

How it is used

Used for reports and dashboards, usually with GROUP BY. Analysts talk about 'aggregating data' and 'aggregates'. Remember that most aggregate functions ignore NULL values, and that COUNT(*) counts rows while COUNT(column) counts only non-NULL values.

Example sentences

  1. Use an aggregate function like SUM to get the total sales per store.

  2. You can't use an aggregate function in the WHERE clause; filter it with HAVING.

Common collocations

  • use an aggregate function
  • aggregate query
  • aggregate data
  • COUNT(*)

More terms: SQL Statements and Queries

Practise with graded reading

Reading at the right level is the fastest way to make new words stick. Pick free English books by level: