SQL Server 2008 データベースに次のテーブルがあります。
MsgID TrackerId MsgContent
1 123 red //MsgContent corresponding to colour
2 123 E2120 //MsgContent corresponding to model
5 123 sam //MsgContent corresponding to password
1 111 orange //MsgContent corresponding to colour
2 111 M3420 //MsgContent corresponding to model
5 111 pam //MsgContent corresponding to password
結果が次のような単一のクエリが必要です。
TrackerId Colour Model Password
123 red E2120 sam
111 orange M3420 pam
では、この問題を解決するにはどうすればよいでしょうか。前もって感謝します。