Access substitute for EXCEPT clause

前端 未结 4 1189
有刺的猬
有刺的猬 2020-12-07 01:36

How can I get the same result I would get with the SQL code below in ms access? It does not recognize the EXCEPT clause...

SELECT DISTINCT 
             


        
4条回答
  •  天涯浪人
    2020-12-07 02:09

    use the find unmatched wizard in MS Access > Create > Query Wizard and you will get the following result

    Union is a separate Access Query which i used to union a few tables instead of using sub queries

    SELECT TableMain.Field1
    FROM TableMain LEFT JOIN [Union] ON TableMain.[Field1] = Union.[field1]
    WHERE (((Union.field1) Is Null));
    

提交回复
热议问题