我有一个如下所示的表:
date code name score set
09/09/12 967873 Team A 24 1
09/09/12 967873 Team B 22 1
09/09/12 967873 Team A 21 2
09/09/12 967873 Team B 16 2
02/04/12 965454 Team X 21 1
02/04/12 965454 Team Y 19 1
02/04/12 965454 Team X 21 2
02/04/12 965454 Team Y 19 2
你猜对了!这是一场排球比赛!但是,我希望我的输出在一行中。例如:
date code Teams Set-1 Set-2 Set-3
09/09/12 967873 Team A VS.Team B 24-22 21-16 -
and so on....
**Notice that the game could have a third set as well
我需要某种自我加入来将上述格式改进为更便于用户查看的格式...如果您需要更多详细信息,请告诉我。
谢谢,