I am querying a couple tables, and for some reason Microsoft Access 2016 continually informed me that my SQL query JOIN ON
syntax is incorrect. Specifically, the JOIN
syntax is highlighted, followed by the ON
syntax when removing that (the latter for clearer reasons based on prior knowledge of SQL JOIN ON
syntax).
Here is the code:
SELECT Column1, Column2, Table1.Column3
FROM Table1
JOIN Table2
ON Table1.Column3 = Table2.Column3
AND Column4 = '{NAME}'
ORDER BY Column4;
Is there something incorrect about this syntax? By the way, this is using ANSI-89 Syntax.