SQLite: Get all dates between dates
问题 I need some help with a SQL (in particular: SQLite) related problem. I have a table 'vacation' CREATE TABLE vacation( name TEXT, to_date TEXT, from_date TEXT ); where I store the date (YYYY-MM-DD), when somebody leaves for vacation and comes back again. Now, I would like to get a distinctive list of all dates, where somebody is on vacation. Let's assume my table looks like: +------------+-------------+------------+ | name | to_date | from_date | +------------+-------------+------------+ |