G
GaryJ
Hi folks,
I'm using Access 2003. I have a table that includes foreign keys to several
other tables. I'm trying to write a query that will pull data from the
primary and secondary tables. So I'm trying something along the lines of:
SELECT a.1, a.2, a.3, a.4, b.1, b.2, c.1, c.2
FROM
a INNER JOIN b ON a.1 = b.1
INNER JOIN c ON a.2 = c.1;
In this model, a contains FK's for b and c, but there's no relation between
b and c.
What is the proper syntax for this? Many thanks
I'm using Access 2003. I have a table that includes foreign keys to several
other tables. I'm trying to write a query that will pull data from the
primary and secondary tables. So I'm trying something along the lines of:
SELECT a.1, a.2, a.3, a.4, b.1, b.2, c.1, c.2
FROM
a INNER JOIN b ON a.1 = b.1
INNER JOIN c ON a.2 = c.1;
In this model, a contains FK's for b and c, but there's no relation between
b and c.
What is the proper syntax for this? Many thanks