I have a product table like below. I would like to create a sql that will give me the product name separated by semicolon.
ProductName AccountExpert
--------------------------
Tea JohnSmith
Banana GarySulvan
Water JohnSmith
Candy BobbySimmons
ConfecItem BobbySimmons
Bread JohnSmith
Soda JohnSmith
Sql output should like this
AccountExpert Products
-----------------------
JohnSmith Tea; Water; Bread; Soda
GarySulvan Banana
BobbySimmons Candy; ConfecItem