我正在尝试将我的MySQL结果格式化为一行而不是行。这是我的结果的样子
select name, picks from week1:
Name Picks
---- ---------------
Nick Smith New York Giants
Nick Smith Dallas Cowboys
Nick Smith Carolina Panthers
Nick Smith Philadelphia Eagles
Frank Ann New York Giants
Frank Ann New York Jets
Frank Ann Carolina Panthers
Frank Ann Buffalo Bills
.
.
Etc
我正在尝试将MySQL结果格式化为:
Nick Smith New York Giants, Dallas Cowboys, Carolina Panthers, Philadelphia
Frank Ann New York Giants, New York Jets, Carolina Panthers, Buffalo Bills
....
...
Etc
WRAP OFF
无法工作,因为该特定人的精选将显示为一行
任何想法如何实现这一目标?
谢谢!