Click here to Skip to main content
15,910,981 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted
Updated 3-Aug-14 21:59pm
v2

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900