PDA

View Full Version : Concat maybe?


NancyJ
11-30-2007, 12:19 PM
Theres a way in mysql to get a comma separated list of fields in a one to many relationship - rather than multiple rows for each record in the 'one' table. But I can't remember what it is, I thought it was concat but that didn't work... I've done it before but I can't remember what it was or why.

CFMaBiSmAd
11-30-2007, 03:37 PM
Probably this one - GROUP_CONCAT(expr)

NancyJ
11-30-2007, 04:15 PM
thats the bunny! I was close.

NancyJ
11-30-2007, 04:16 PM
...where did the thank you button go?

CFMaBiSmAd
11-30-2007, 06:30 PM
Probably a casualty of the hacking the forum suffered (there were two thank you buttons at one point yesterday.)