Possible Duplicate:
SQL Query to get aggregated result in comma seperators along with group by column in SQL Server
I have two following tables:
CarID | CarName | Color
------+----------+----------
1 | Ford | White
2 | Mitsu | Black
3 | Mitsu | Green
OwnerID | OwnerName | CarID
--------+-----------+-------
1 | John | 1
1 | John | 3
2 | Mark | 2
And I need a following report:
CarName | Owners
--------+------------
Ford | John
Mitsu | John, Mark
How could it be done?