D
david
I need to solve the following problem. I need to find all
numbers in Table 1 that are not in table 2
Table 1 has 2604 rows and table 2 has 52617 rows.
The numbers in Table 1 are unique whereas in table 2 they
are repeated.
Here is my attempt that always locks up my machine, is
there a better way?
SELECT changerequestID
FROM changerequestwithdata
WHERE changerequestid not in (select changerequestID from
qryfinduniqueactivity);
this is qryfinduniqueactivity:
SELECT DISTINCT changerequestid
FROM activitywithdata;
numbers in Table 1 that are not in table 2
Table 1 has 2604 rows and table 2 has 52617 rows.
The numbers in Table 1 are unique whereas in table 2 they
are repeated.
Here is my attempt that always locks up my machine, is
there a better way?
SELECT changerequestID
FROM changerequestwithdata
WHERE changerequestid not in (select changerequestID from
qryfinduniqueactivity);
this is qryfinduniqueactivity:
SELECT DISTINCT changerequestid
FROM activitywithdata;