Everything About ___
Live briefing

Everything about Group by (SQL)

SQL clause

A GROUP BY clause in SQL specifies that a SQL SELECT statement partitions result rows into groups, based on their values in one or several columns. Typically, grouping is used to apply some sort of aggregate function for each group. Wikipedia →

🧭 Start here: a 6-step reading path

  1. Read the overview: Group by (SQL)A 5-minute orientation
  2. Pick up a classic book: The little SAS bookThe most-reprinted book on the subject
  3. Go sideways: Select (SQL)A closely related topic
  4. Go sideways: SQL syntaxA closely related topic

📖 Definitions

No dictionary entry for this exact phrase.

🗂️ The subject at a glance

  1. Examples
  2. WITH ROLLUP
  3. Common groupings

🏆 Landmark papers (most cited)

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

🔗 Related topics