If you want to perform this data transformation in sql, then you can use a UNION ALL
query:
select id, subject, relationship, `1Section`, '1sQuestion1' col5, `1sQuestion1` col6
from yourtable
union all
select id, subject, relationship, `1Section`, '1sQuestion2' col5, `1sQuestion2` col6
from yourtable
union all
select id, subject, relationship, `2Section`, '2sQuestion1' col5, `2sQuestion1` col6
from yourtable
union all
select id, subject, relationship, `2Section`, '2sQuestion2' col5, `2sQuestion2` col6
from yourtable
See SQL Fiddle with Demo. Which gives the result:
| ID | SUBJECT | RELATIONSHIP | 1SECTION | COL5 | COL6 |
---------------------------------------------------------------
| 1 | John | Boss | 1Section | 1sQuestion1 | 2 |
| 2 | John | Peer | 1Section | 1sQuestion1 | 4 |
| 3 | Sally | Boss | 1Section | 1sQuestion1 | 3 |
| 4 | Sally | Peer | 1Section | 1sQuestion1 | 5 |
| 1 | John | Boss | 1Section | 1sQuestion2 | 4 |
| 2 | John | Peer | 1Section | 1sQuestion2 | 3 |
| 3 | Sally | Boss | 1Section | 1sQuestion2 | 3 |
| 4 | Sally | Peer | 1Section | 1sQuestion2 | 6 |
| 1 | John | Boss | 2Section | 2sQuestion1 | 3 |
| 2 | John | Peer | 2Section | 2sQuestion1 | 2 |
| 3 | Sally | Boss | 2Section | 2sQuestion1 | 4 |
| 4 | Sally | Peer | 2Section | 2sQuestion1 | 1 |
| 1 | John | Boss | 2Section | 2sQuestion2 | 4 |
| 2 | John | Peer | 2Section | 2sQuestion2 | 5 |
| 3 | Sally | Boss | 2Section | 2sQuestion2 | 5 |
| 4 | Sally | Peer | 2Section | 2sQuestion2 | 3 |