How can I implement SQL INTERSECT and MINUS operations in MS Access

前端 未结 5 541
梦谈多话
梦谈多话 2020-12-01 12:20

I have researched and haven\'t found a way to run INTERSECT and MINUS operations in MS Access. Does any way exist

5条回答
  •  没有蜡笔的小新
    2020-12-01 13:18

    Unfortunately MINUS is not supported in MS Access - one workaround would be to create three queries, one with the full dataset, one that pulls the rows you want to filter out, and a third that left joins the two tables and only pulls records that only exist in your full dataset.

    Same thing goes for INTERSECT, except you would be doing it via an inner join and only returning records that exist in both.

提交回复
热议问题