I'm trying to convert the column data to rows.
For example:
**ID Date Name Work Desc Morning Hrs AfterNoon Hrs Night Hrs Misc Hrs**
201345 12/18/2019 Kobe Done 24 tickets 4 6 2 0
201346 12/18/2019 Lebron Need to complete 3 5 6 0
201347 1/2/2020 Steph Do something 4 6 7 0
121 12/19/2019 Lebron Leave 0 0 0 8
I need the records as below
**ID Date Name Work Desc Task Hrs Activity**
201345 12/18/2019 Kobe Done 24 tickets 4 Morning
201345 12/18/2019 Kobe Done 24 tickets 6 Afternoon
201345 12/18/2019 Kobe Done 24 tickets 2 Night
201346 12/18/2019 Lebron Need to complete 3 Morning
201346 12/18/2019 Lebron Need to complete 5 Afternoon
201346 12/18/2019 Lebron Need to complete 6 Night
201347 1/2/2020 Steph Do something 4 Morning
201347 1/2/2020 Steph Do something 6 Afternoon
201347 1/2/2020 Steph Do something 7 Night
121 12/19/2019 Lebron Leave 8 Leave
In an SQL Query. Please help me through this. Thanks in advance!!