MySQL get records of last date of each month
I need to fetch records of last date of each month based on the dates of records in the database table. Now, if I fetch the last dates of each month in my table using following query: SELECT MAX(`date`) AS…