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 |
|
Marge0512
Starting Member
6 Posts |
Posted - 2011-11-17 : 15:00:24
|
| Hello, i don't have anything fancy here. Most will be bored but I just wanted to make sure that what I have will not create problems. I have four tables that are linked by a case number. Is this SQL ok?select Distinct * from Table1 A, Table2 B, Table3 C, Table4 Dwhere A.Casenum = B.Casenum and B.Casenum = C.Casenumand C.Casenum = D.CasenumOrder by A.CasenumThanks in advance! |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
X002548
Not Just a Number
15586 Posts |
|
|
Marge0512
Starting Member
6 Posts |
Posted - 2011-11-17 : 16:25:29
|
| That's what I was wondering....if I needed the inner join or not. I did test this and it worked fine though. I will take off the distinct. Thank you so much for the responses!! |
 |
|
|
|
|
|