SQL order by keyword
order by keyword is used to short the result by a column.You can short the result in ascending or descending order also by using ASC/DESC keywords.
SYNTAX :
SELECT column_name(s) FROM table_name ORDER BY column_name(s) ASC|DESC ;
id | name | age | city | bill |
1 | Tom | 34 | Paris | 5300 |
2 | Jhony | 51 | London | 400 |
3 | Ram | 64 | Delhi | 20000.7 |
4 | Simon | 23 | Portland | 32.65 |