Answers for "mysql query to sort by date"

SQL
0

mysql sort by date column

SELECT * FROM members ORDER BY date_of_birth DESC; -- Dates are newest at the top of the table
SELECT * FROM members ORDER BY date_of_birth; -- Dates are oldest at the top of the table
Posted by: Guest on July-05-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language