from rows to columns
Hello guys,
I want to convert A to B.
ID question answer
1 name John
1 age 23
2 name Elias
2 age 67
3 name Lionel
3 age 50
ID Name Age
1 John 23
2 Elias 67
3 Lionel 50
Thanks for the help
0
Hello guys,
I want to convert A to B.
ID question answer
1 name John
1 age 23
2 name Elias
2 age 67
3 name Lionel
3 age 50
ID Name Age
1 John 23
2 Elias 67
3 Lionel 50
Thanks for the help
Comments
Use subqueryes but with different predicates and then join by their id.
- i hope it helps.