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 |
|
compound
Starting Member
7 Posts |
Posted - 2006-11-16 : 12:20:12
|
| I have to tablesTable1Date Name11/11/2006 John11/11/2006 Kevin11/11/2006 DonTable2Date Name11/12/2006 John11/12/2006 EricI need a list of all unique names from these two tables. I'm probably brain dead, but I can't join them right. HELP! |
|
|
snSQL
Master Smack Fu Yak Hacker
1837 Posts |
Posted - 2006-11-16 : 12:23:48
|
| SELECT [Name] FROM Table1UNIONSELECT [Name] FROM Table2 |
 |
|
|
compound
Starting Member
7 Posts |
Posted - 2006-11-16 : 12:28:15
|
| snSQL, Thank you! That is exactly what I needed! |
 |
|
|
|
|
|