What is the difference between GROUP BY and ORDER BY clause in SQL?

  1. GROUP BY controls presentation of rows and ORDER BY controls presentation of columns for results of SELECT statement

  2. GROUP BY controls presentation of columns and ORDER BY controls presentation of rows for results of SELECT statement

  3. GROUP BY orders rows in query's return and ORDER BY orders columns in query's return

  4. none


Correct Option: A

Find more quizzes: