I need to display the last 7 days as rows in oracle.
col1
sysdate
sysdate-1
..
sysdate-6
I need to use this and join with other table to make a single record available for each row in the table against a particular day.
Table Products
P1
P2
P3
Result:
P1 sysdate
P2 sysdate
P3 sysdate
P1 sysdate - 1
...
P3 sysdate - 6
Thanks,
Rajesh A S