sql query for displaying age from oldest to youngest

Solutions on MaxInterview for sql query for displaying age from oldest to youngest by the best coders in the world

showing results for - "sql query for displaying age from oldest to youngest"
Wendy
20 Jun 2020
1//Oldest to youngest
2SELECT * FROM table_name ORDER BY age DESC;
3
4//Youngest to oldest
5SELECT * FROM table_name ORDER BY age ASC;