Question

In SQL, what is the primary purpose of the GROUP BY clause?

A To sort the final result set in ascending or descending order
B To arrange rows sharing common column values into summary groups for aggregate functions
C To filter individual rows before any aggregation is performed
D To combine columns from two or more unrelated tables
E To permanently delete duplicate rows from a table
Practice Next

Hey! Ask a query

🎓
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
  • 200 Questions with Detailed Solutions
  • Section-wise Coverage (GA, English, Quant & Reasoning)