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 |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2006-04-06 : 20:06:55
|
| Barbara writes "We have a table that has multiple records/rows where all 7 columns are the same because there is one column that is different. For example... User Location Table. Columns include:UserNameLocationRecords in table could have multiple records per user:Barbara ArizonaBarbara Las VegasBarbara New YorkMary ArizonaMary TexasIs there a way in sql code to write that so that I don't get the records repeated over and over. Just would get:Barbara Arizona, Las Vegas, New YorkCould gather all the locations where username = Barbara and concatentate them or group them into one for dislay purposes??ThanksBarbara" |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
|
|
|
|
|