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 |
|
DMarmolejos
Yak Posting Veteran
65 Posts |
Posted - 2008-06-26 : 15:48:51
|
| SELECT FROM ORDR INNER JOIN RDR1 ON ORDR.DocEntry = RDR1.DocEntry INNER JOIN OSLP ON ORDR.SlpCode = OSLP.SlpCode, INV10WHERE GROUP BY This code works, but how can I join INV10 as well? The unique identifier that INV10 has is DocEntryRDR1 has DocEntry as welland so does ORDRAny help is appreciated, thank you. |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
DMarmolejos
Yak Posting Veteran
65 Posts |
Posted - 2008-06-26 : 17:10:47
|
| thanks but that didnt fix it.. am i putting this together right?FROM ORDR INNER JOIN RDR1 ON ORDR.DocEntry = RDR1.DocEntry INNER JOIN OSLP ON ORDR.SlpCode = OSLP.SlpCode INNER JOIN INV10 ON INV10.DocEntry = RDR1.DocEntry |
 |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
|
|
|