I have a table like so, which stores classes like this. There are probably 30 classes that are listed this way. Some examples of class names are 'Blood Borne Safety', 'CPR Training', 'Fork Lift'.
Name | Class1 | Class1TrainerName | Class2 | Class2TrainerName
------|---------------|---------------------|-----------|---------------
Scott | 3/28/2017 | Casey | 4/19/2017 | David
Jim | | | 2/9/2019 | David
And I want to turn it to look like this.
Name | ClassName | ClassDate | Trainer |
--------|--------------|-------------|----------|
Scott | Class1 | 3/28/2017 | Casey |
Scott | Class2 | 4/19/2017 | David |
Jim | Class2 | 2/9/2019 | David |
How can I convert table1 to data for table2?