Is it possible to use subquery in join condition in Access?
问题 In postgresql I can use subquery in 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 syntax error. Is it actually impossible in Access or just my mistake? I know that I can get the same result with WHERE , but my question is about possibilities of JOIN in Access. 回答1: It's not possible, per the MSDN documentation: