adspace
What is difference between group by and order by clause?
Answer Posted / Om Prakash Divakar
The GROUP BY clause in SQL is used to group rows that have the same values, while the ORDER BY clause is used to sort the results. The GROUP BY clause comes after the WHERE and HAVING clauses, if used, and before the ORDER BY clause.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers