I have a table that has ARRIVE and DEPART columns like this:
ARRIVE | DEPART
---------------------------
2016-03-15 | 2016-04-07
2016-05-16 | 2016-05-28
etc .....
Is it possible to get the range of dates between the arrive and depart dates in MySQL so that I could use the range in a python list? Instead of doing the conversion in Python?
So for example, the ARRIVE and DEPART of 2016-05-16 2016-05-28. Would produce:
2016-05-16
2016-05-17
2016-05-18
2016-05-19
etc ...
2016-05-28