What is the purpose of the 'GROUP BY' clause in SQL?
Q1. What is the purpose of the 'GROUP BY' clause in SQL?
Answer: To group data by one or more columns
Explanation: The 'GROUP BY' clause groups data by one or more columns, allowing aggregate functions like SUM, AVG, and COUNT to be applied to each group.