So I'm connecting to an external SQL server. The data I need to access is stored across three tables, lets call them:
tblTinkerers
tblWidgets
tblParts
tblTinkerers is related to tblWidgets by the latter's PK.
tblWidgets is related to tblParts by the latter's PK
So, to see what Tinkerers need which parts, you need to traverse the tables. Now, I've not really worked with this SQL server thing, and don't quite understand a lot of the restrictions. Normally, I would just make a query between the first two tables, and then another query with the combination of the first two with the third.
I can't seem to do that now.
So, I'd very much like either of the following:
1) an easier way to do this normally that I'm missing, or
2) a way I can create joins within this SQL realm.
Please and thank you all.
tblTinkerers
tblWidgets
tblParts
tblTinkerers is related to tblWidgets by the latter's PK.
tblWidgets is related to tblParts by the latter's PK
So, to see what Tinkerers need which parts, you need to traverse the tables. Now, I've not really worked with this SQL server thing, and don't quite understand a lot of the restrictions. Normally, I would just make a query between the first two tables, and then another query with the combination of the first two with the third.
I can't seem to do that now.
So, I'd very much like either of the following:
1) an easier way to do this normally that I'm missing, or
2) a way I can create joins within this SQL realm.
Please and thank you all.
Comment