Question

    What is the purpose of the SQL "GROUP BY"

    clause?
    A To sort the data in ascending order Correct Answer Incorrect Answer
    B To group rows based on the specified columns Correct Answer Incorrect Answer
    C To join two or more tables Correct Answer Incorrect Answer
    D To filter data based on a condition Correct Answer Incorrect Answer
    E None of these Correct Answer Incorrect Answer

    Solution

    The "GROUP BY" clause is used to group rows based on the specified columns, often used in conjunction with aggregate functions.

    Practice Next