Tag Archives: SORTING Results

SQL SORTING Results

To fetch or display the data in sorted ascending or descending or we use SQL ORDER BY clause. And by default the ORDER BY sorting give support for Ascending order. SQL SORTING Results Syntax To use the basic ORDER BY clause follow, this syntax: SELECT column_name_x …. FROM table_name WHERE [condition] ORDER BY [column1, column2, .. columnN] [ASC |… Read More »