鉴于此处的两个示例表:
门票表
ID User Description
0 James This is a support ticket
1 Fred This is a ticket too
属性表
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
我怎样才能得到这样的视图:
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
重要的是要注意属性表并不总是相同的。一些“票”可能具有其他人没有的属性。
这甚至可能吗?