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 |
|
WebKill
Starting Member
32 Posts |
Posted - 2012-08-28 : 00:57:08
|
| I need some query help, I have a table of transactions with usernames assigned to each, and a table of users with usernames and the users full name. How would I go about querying the transaction table and replace the username with the full name from the users table? |
|
|
lionofdezert
Aged Yak Warrior
885 Posts |
Posted - 2012-08-28 : 02:09:47
|
| Can you please share your table structure ? Sample data ? and Expected results ?--------------------------http://connectsql.blogspot.com/ |
 |
|
|
Andy Hyslop
Starting Member
14 Posts |
Posted - 2012-08-28 : 10:37:31
|
Since we don't have your table structures here is a stab in the dark, something like this:SELECT U.FullName<Other Columns Here.....>FROMTransactions AS TINNER JOIN Usernames AS U ON T.Username = U.Username |
 |
|
|
|
|
|