The document discusses the SQL GROUP BY clause which is used in conjunction with aggregate functions to group the result-set by one or more columns. The GROUP BY clause groups rows that have the same values in the columns specified. Aggregate functions like COUNT, SUM, AVG, MIN, and MAX are used on each group to return a single value for each unique set of values.
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
122 views
SQL Queries Imp
The document discusses the SQL GROUP BY clause which is used in conjunction with aggregate functions to group the result-set by one or more columns. The GROUP BY clause groups rows that have the same values in the columns specified. Aggregate functions like COUNT, SUM, AVG, MIN, and MAX are used on each group to return a single value for each unique set of values.