This is probably a very common question but maybe with another twist.
I have two tables which I join and want to get comma seperated values of a particular column of second table
select name,(Comma seperated scores) 'Scores' from Person Inner join Score
on Person.Id=Score.PersonId
Example Output
name Scores
User1 zd,ad,cm
I have read that It can be done by having another function, but probably that's not very performance oriented also I want the Scores strings to be ordered by in ascending order. i.e ad,cm,zd
Is there a way to do it by continuing to use only Inner Joins ?