SQL TUTORIALS-
SQL ORDER BY Key-word
Introduction-
What is SQL ORDER BY? SQL ORDER BY ascending and descending explained
ORDER BY keyword in SQL is used to sort the result set of a query by one or more columns. You can sort the data in ascending (ASC) or descending (DESC) order...
✅ SQL ORDER BY Syntax
✅ 🔹 Syntax:
SELECT column1, column2, ...
FROM table_name
ORDER BY column1 [ASC | DESC], column2 [ASC | DESC], ...;
✅Result Show :-
| ID | Name | Salary |
|---|---|---|
| 1 | ANNI | 10000 |
| 2 | SUJAN | 8000 |
| 3 | BOULT | 5000 |