0

How can I get the date range like month and year of the data from MySQL database? For example if a table in database has the record of data from Feb 2012 to Jan 2013, how can I get to know the date range of stored data record?

2

1 Answer 1

2

use the query

select min(date_column), max(date_column) from your_table

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.