I have two dates (start_date and end_date). I am trying to create one record for each month between those two dates.
As an example:
start_date= 01/01/2016
end_date=23/04/2016
Output:
Period
2016-01-31
2016-02-28
2016-03-31
2016-04-30
I am fairly new to mysql and not sure how to achieve that. Could you please give me some ideas?
thanks