Question

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

    query?
    A It filters the result set based on a condition. Correct Answer Incorrect Answer
    B It groups the rows based on specified columns. Correct Answer Incorrect Answer
    C It sorts the result set based on specified columns. Correct Answer Incorrect Answer
    D It combines rows from multiple tables. Correct Answer Incorrect Answer

    Solution

    It groups the rows based on specified columns.

    Practice Next

    Relevant for Exams: