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 |
|
anthcott
Starting Member
1 Post |
Posted - 2011-06-17 : 11:32:59
|
| Can you please show me a simple way to merge two rows that have similar columns? Eg: consider merging the following table based on Author and Title.ORIGINAL TABLE:BOOK TITLE --------AUTHOR-------EDITIONAll about Dogs-----Peter--------StandardAll about Cats-----Jack --------InternationalAll about Cats-----Jack --------StandardAll about Rats-----Jack --------StandardAll about Bats-----Jane --------InternationalDESIRED FORMAT:BOOK TITLE---------AUTHOR-------EDITIONAll about Dogs-----Peter--------StandardAll about Cats-----Jack --------International, StandardAll about Rats-----Jack --------StandardAll about Bats-----Jane --------InternationalThe point is that Books of different editions but same author and title should be in one row. Please guide. Thank you |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2011-06-17 : 13:05:55
|
| Take a look here: http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=161943 |
 |
|
|
|
|
|