Q. What does the GROUP BY clause do in a SQL query?
Solution:
GROUP BY is used with aggregate functions (e.g., COUNT, SUM) to group rows based on common values in one or more columns.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.