I have a 2 tables in SQL Server in which there are multiple locations for a name, all I need to do is to club locations into one cell for that names.
Table 1
Name
H
I
J
Table 2
Name Location
H Delhi
H Mumbai
H Hyderabad
I Chennai
I Delhi
Now after applying join the result should be as follows
Name Location
H Delhi, Mumbai, Hyderabad
I Chennai, Delhi
Please help me out in this asap.