0
我有一個像Mysql的GROUP_CONCAT錯誤
Id Name Location
1 A New York
2 A Melbourne
3 B Mumbai
4 B Paris
我需要導致以下格式的表:
Name Location
A New York , Melbourne
B Mumbai , Paris
我試圖select names , group_concat(location separator ',') from table;
但沒有得到預期的輸出。