G
Guest
SELECT B.NAME, B.ID, TEST_DATA_1_2.ID1, TEST_2.NAME
FROM TEST_1 AS B, TEST_2, TEST_DATA_1_2
WHERE B.ID =(SELECT A.ID1 FROM TEST_DATA_1_2 A INNER JOIN B ON B.ID = A.ID1)
AND TEST_2.ID = (SELECT A.ID2 FROM TEST_DATA_1_2 A WHERE TEST_2.ID = A.ID2);
I want all the rows from table test_1 and only matching rows from table test_2
When I run this query, I get the message
The Microsoft Jet database engine cannot find the input table or query 'B'
Make sure it exists and that its name is spelled correctly. If I don't use a
join the query works but it doesn't allow me to get all the rows from table
test_1
FROM TEST_1 AS B, TEST_2, TEST_DATA_1_2
WHERE B.ID =(SELECT A.ID1 FROM TEST_DATA_1_2 A INNER JOIN B ON B.ID = A.ID1)
AND TEST_2.ID = (SELECT A.ID2 FROM TEST_DATA_1_2 A WHERE TEST_2.ID = A.ID2);
I want all the rows from table test_1 and only matching rows from table test_2
When I run this query, I get the message
The Microsoft Jet database engine cannot find the input table or query 'B'
Make sure it exists and that its name is spelled correctly. If I don't use a
join the query works but it doesn't allow me to get all the rows from table
test_1