Find lowest Date (custom) in MySQL?
Answers
Answered by
0
You can order by the date field in your database.
For oldest:
SELECT * FROM table WHERE condition ORDER BY dateField ASC LIMIT 1
For two oldest:
SELECT * FROM table WHERE condition ORDER
HOPE IT HELPS YOU !!
Similar questions