I'm writing a query that return multiple rows that are identical in all ways except for one column. What I want to do is combine those rows into one row and join that one column with commas.
So if my query currently returns something like this:
Animal Name Toy
Cat Kitty Mouse
Cat Kitty CatNip
Dog Rover Bone
Dog Rover Chew Toy
I want it to return this instead:
Animal Name Toy
Cat Kitty Mouse, CatNip
Dog Rover Bone, Chewtoy
Does that make sense?
Any suggestions?