How to delete in MS Access when using JOIN's?
问题 I am attempting to use the DELETE clause in MS Access and have an issue when also using the JOIN clause. I have notice this can be accomplished by using the DISTINCTROW key word. For example, the following SQL statement does not allow for deletion: DELETE Table1.* FROM Table1 INNER JOIN Table2 ON Table1.Name=Table2.Name; However, this statement does: DELETE DISTINCTROW Table1.* FROM Table1 INNER JOIN Table2 ON Table1.Name=Table2.Name; Why does the DELETE work when using the DISTINCTROW key