Well, that does do it, but you still need a table (your_table) containing a list of dates. What I would like to do is SELECT dates from a table that doesn't really exist. That way I don't have to maintain a table of dates. Is there a way to select dates from a sort of phantom table in MySQL?