I have a table which has multiple columns but I am only interested in querying on two of them the two columns are structured so:
Column A Column B
CD010 CDU
CD010
CD010 FSA
CD020 CDU
CD030
CD040 CDU
CD040
CD050 FSA
I want to return records from column A which only match either a null vale or CDU in column b
So in the above example I would get back CD020, CD030, CD040 only.
I wrote a query to select records where column B = CDU or Null and another where column B does not = CDU or null but when I try to run a query to find records in query 1 not in query 2 Access just hangs
I'm hoping there is a more efficient way
Column A Column B
CD010 CDU
CD010
CD010 FSA
CD020 CDU
CD030
CD040 CDU
CD040
CD050 FSA
I want to return records from column A which only match either a null vale or CDU in column b
So in the above example I would get back CD020, CD030, CD040 only.
I wrote a query to select records where column B = CDU or Null and another where column B does not = CDU or null but when I try to run a query to find records in query 1 not in query 2 Access just hangs
I'm hoping there is a more efficient way