SQL & Relational Databases (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)
What are the common SQL Aggregate Functions?
junior LevelMost AskedDatabases & SQL
In Simple Words: Aggregate functions perform a calculation on a set of values and return a single scalar value:
COUNT(*): Counts total rows (including NULLs).COUNT(column): Counts non-null rows in that column.SUM(column): Returns the total mathematical sum.AVG(column): Returns the arithmetic mean.MIN(column)/MAX(column): Returns the lowest or highest value.