I have this problem: I have a table with columns that are an article and a date from and a date to (which is a time interval), for example:
ITEM | DATE_FROM | DATE_TO
IT_01 | 01/01/2021 | 07/01/2021
I would like to generate a query that generates a new column in which the interval from the date from and the date to is specified, generating the rows with the article of that interval, leaving the result like this:
ITEM | DATE_FROM | DATE_TO | DATE_PER_DAY
--------+---------------+-----------------+------------------
IT_01 | 01/01/2021 | 07/01/2021 | *01/01/2021*
IT_01 | 01/01/2021 | 07/01/2021 | *02/01/2021*
IT_01 | 01/01/2021 | 07/01/2021 | *03/01/2021*
IT_01 | 01/01/2021 | 07/01/2021 | *04/01/2021*
IT_01 | 01/01/2021 | 07/01/2021 | *05/01/2021*
IT_01 | 01/01/2021 | 07/01/2021 | *06/01/2021*
IT_01 | 01/01/2021 | 07/01/2021 | *07/01/2021*
Thanks