Answers for "syntaxs for sql to get the oldest item by birthdyay"

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"

Browse Popular Code Answers by Language