Question

What is the purpose of the "GROUP BY" clause in an SQL query?

A It filters the result set based on a condition.
B It groups the rows based on specified columns.
C It sorts the result set based on specified columns.
D It combines rows from multiple tables.
Practice Next

Relevant for Exams:

Hey! Ask a query