Computer Science, asked by hirensahni4500, 1 year ago

Find lowest Date (custom) in MySQL?

Answers

Answered by Anonymous
0

\huge\red{Answer }

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