Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
cyberbeing
Starting Member
2 Posts |
Posted - 2011-07-16 : 23:56:57
|
Hi everyone, I have this problem of displaying distinct column and have the other corresponding column concatenated.. here is the sql statementSELECT titles.title, authors.au_lname as AuthorsFROM authors INNER JOINtitleauthor ON authors.au_id = titleauthor.au_id INNER JOINtitles ON titleauthor.title_id = titles.title_idThe result is like this..Title Authors The Gourmet microwave O'Leary The Gourmet microwave Gringlesby The Gourmet microwave Yokomoto but i want it to look something like this....Title Authors The Gourmet microwave O'leary,Gringlesby,YokomotoI need help please, Thank you |
|
|
mohdowais
Sheikh of Yak Knowledge
1456 Posts |
|
|
cyberbeing
Starting Member
2 Posts |
Posted - 2011-07-17 : 10:33:17
|
| Thanks |
 |
|
|
|
|
|