1.

What is the difference between GROUP BY and ORDER BY?

Answer»
GROUP BYORDER BY
Used for aggregating data in a database.Used for sorting data in a database.
Used to change the form and composition of DataUsed to change the display mode of data.
Attributes within GROUP BY are similarAttributes within ORDER BY are not similar.
Its FUNCTION is to calculate aggregates.Its function is to SORT and arrange in columns.


Discussion

No Comment Found