0

How SORT and ORDER BY differ each other?

Where should we use SORT and ORDER BY in query.

12th Aug 2018, 4:59 AM
Gentleman Jack
1 Answer
+ 1
I have never seen a SQL keyword 'SORT' The general syntax is: SELECT column-names FROM table-name WHERE condition ORDER BY column-names After ORDER BY can be a ASC or DESC for ascending or descending.
12th Aug 2018, 1:07 PM
Detlef
Detlef - avatar