テーブルのお客様がいます
customerno sname contactid address
1 aaa 101 north
1 bbb 102 south
1 ccc 103 west
2 ddd 104 south
2 ccc 105 north
2 eee 106 null
特定の顧客の詳細を1行に変換したい。私は次のような結果が欲しい
Customerno sname1 sname2 sname3 address1 address2 address3
1 aaa bbb ccc north south west
2 ddd ccc eee south north null
助けて ........