Given the two sample tables here:
Tickets Table
ID User Description
0 James This is a support ticket
1 Fred This is a ticket too
Properties Table
ID TicketID Label Value
0 0 Engineer Scott
1 1 Engineer Dale
2 0 Manu Dell
3 1 Manu HP
4 0 OS Windows
5 1 OS Linux
How can I arrive at a view like this:
ID User Description Engineer Manu OS
1 James This is a support ticket Scott Dell Windows
2 Fred This is a ticket too Dale HP Linux
It is important to note that the properties table would not always be the same. Some "Tickets" may have properties that others do not.
Is this even possible?