Search
Winners

Win Prizes

Social Presence
Like us on Facebook
Advertisements
Ads

Sql Query for multiple items returns in comma seperated model

Amritha444
Posted by Amritha444 under Sql Server on 8/4/2014 3:41:10 AM | Points: 75 | Views : 2190 | Status : [Member]

Hi all

Select * from table_details returns


Code Salesman date status

1 s1 1/1/2014 Y
2 s2 2/1/2014 Y
2 s1 2/1/2014 Y
3 s2 3/1/2014 Y


i want query to return rows like

Code Salesman date status

1 s1 1/1/2014 Y
2 s2,s1 2/1/2014 Y
3 s2 3/1/2014 Y

How to do this

Thanks in Advance

Amritha



Comments or Responses


Login to post response