What is the use of **ORDER BY** query in SQL?

In GROUP SUMMARY STATISTICS lesson.7 (Casting) OF FUNDAMENTALS OF SQL, what is the function of the query ORDER BY?

Order by is used for sorting your answers.

e.g. Order by - default sort is in ascending order.
Order by desc - for top to bottom

1 Like