Hello EveryOne,
Can anyone provide me solution to my below requirement in sql ? I have below data in my table.
Date | Column1` | Column2 |
8/31/2019 | 1 | 6 |
8/31/2019 | 2 | 7 |
8/31/2019 | 3 | 8 |
8/31/2019 | 4 | 9 |
8/31/2019 | 5 | 10 |
I need below final out put with UNPIVOT operator.
Date | Column1` |
8/31/2019 | 1 |
8/31/2019 | 2 |
8/31/2019 | 3 |
8/31/2019 | 4 |
8/31/2019 | 5 |
8/31/2019 | 6 |
8/31/2019 | 7 |
8/31/2019 | 8 |
8/31/2019 | 9 |
8/31/2019 | 10 |
Anil