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 |
|
cwfontan
Yak Posting Veteran
87 Posts |
Posted - 2009-10-15 : 11:58:56
|
| table 1ID START LOAD DELIVER1 123 432 1232 123 532 1233 123 262 2354 123 433 235table2locID Name432 PLace1532 Place2123 Place3433 place4235 PLaCe5262 Place6RETURN in query__________________________ID START LOAD DELIVER1 Place3 PLace1 Place32 Place3 Place2 Place33 Place3 Place6 PLaCe54 Place3 place4 PLaCe5 |
|
|
webfred
Master Smack Fu Yak Hacker
8781 Posts |
Posted - 2009-10-15 : 12:09:56
|
selectt1.ID,st.Name as Start,lo.Name as Load,de.Name as Deliverfrom table1 t1join table2 st on st.locID = t1.STARTjoin table2 lo on lo.locID = t1.LOADjoin table2 de on de.locID = t1.DELIVER No, you're never too old to Yak'n'Roll if you're too young to die. |
 |
|
|
cwfontan
Yak Posting Veteran
87 Posts |
Posted - 2009-10-15 : 16:22:57
|
| THANKS U |
 |
|
|
|
|
|