What is the purpose of the 'GROUP BY' clause in SQL?

Practice Questions

1 question
Q1
What is the purpose of the 'GROUP BY' clause in SQL?
  1. To sort the result set
  2. To aggregate data across multiple records
  3. To filter records
  4. To join multiple tables

Questions & Step-by-step Solutions

1 item
Q
Q: What is the purpose of the 'GROUP BY' clause in SQL?
Solution: 'GROUP BY' is used to aggregate data across multiple records, often used with aggregate functions like COUNT, SUM, AVG.
Steps: 4

Related Questions

Soulshift Feedback ×

On a scale of 0–10, how likely are you to recommend The Soulshift Academy?

Not likely Very likely