In postgresql, I can use a subquery in a join condition
SELECT * FROM table1 LEFT JOIN table2 ON table1.id1 = (SELECT id2 FROM table2 LIMIT 1);
But when I try to use it in Access
SELECT * FROM table1 LEFT JOIN table2 ON table1.id1 = (SELECT TOP 1 id2 FROM table2);
I get a syntax error. Is this really not possible in Access or just my mistake?
I know that I can get the same result with WHERE , but my question is about Access JOIN capabilities.
Jofsey
source share