Geography, asked by sneha9994, 5 months ago

differentiate order by and group by with an example. ​

Answers

Answered by kaviramesh203
0

Explanation:

ORDER BY alters the order in which items are returned.

GROUP BY will aggregate records by the specified columns which allows you to perform aggregation functions on non-grouped columns (such as SUM, COUNT, AVG, etc). ORDER BY: sort the data in ascending or descending order.

Answered by ValtAoiBeybladers
5

Answer:

hope my helped you

Explanation:

ORDER BY alters the order in which items are returned. GROUP BY will aggregate records by the specified columns which allows you to perform aggregation functions on non-grouped columns (such as SUM, COUNT, AVG, etc). ORDER BY: sort the data in ascending or descending order

Similar questions