Hey guys I want to get a month list which contain the months between 2 given month. For ex if i give month from January to June. Then I should be able to get all the months between them. I want to use those months in a repeater header. Can you tell me the query
select month(str_to_date('January','%M')); -- 1
select month(str_to_date('June','%M')); -- 6
Through the above code I will get the month numbers now i want to get the months between these 2.