R
Ritesh Sara
Hi there,
I have 2 tables and 3 keys and want to process a LEFT JOIN:
Table1: all records should be displayed (LEFT JOIN)
Table2: only those values should be added where the 3 keys match
This query does not work at all:
SELECT Table1, Table2
FROM Table1 LEFT JOIN Table2 ON (
(Table1.Key1=Table2 Key1) AND (Table1.Key2=Table2 Key2) AND
(Table1.Key3=Table2 Key3))
Error message: The SQL statement could not be executed because it contains
ambigous outer joins. To force one of the joins to be performed first,
create a separate query that performs the first join and then include that
query in your SQL statement.
Could somebody assist here please?
Thanks much,
Rajesh
I have 2 tables and 3 keys and want to process a LEFT JOIN:
Table1: all records should be displayed (LEFT JOIN)
Table2: only those values should be added where the 3 keys match
This query does not work at all:
SELECT Table1, Table2
FROM Table1 LEFT JOIN Table2 ON (
(Table1.Key1=Table2 Key1) AND (Table1.Key2=Table2 Key2) AND
(Table1.Key3=Table2 Key3))
Error message: The SQL statement could not be executed because it contains
ambigous outer joins. To force one of the joins to be performed first,
create a separate query that performs the first join and then include that
query in your SQL statement.
Could somebody assist here please?
Thanks much,
Rajesh