Answers for "sql query for displaying age from oldest to youngest"

SQL
0

sql query for displaying age from oldest to youngest

//Oldest to youngest
SELECT * FROM table_name ORDER BY age DESC;

//Youngest to oldest
SELECT * FROM table_name ORDER BY age ASC;
Posted by: Guest on April-08-2020

Code answers related to "sql query for displaying age from oldest to youngest"

Code answers related to "SQL"

Browse Popular Code Answers by Language