DELETE *
FROM dbo_idfy
WHERE PEOPLE_CODE_ID NOT IN (SELECT
dbo_ACADEMIC.PEOPLE_CODE_ID
FROM dbo_ACADEMIC INNER JOIN dbo_idfy ON dbo_ACADEMIC.PEOPLE_CODE_ID =
dbo_idfy.people_code_id
WHERE (((dbo_ACADEMIC.ACADEMIC_YEAR)=[Enter Academic Year]) AND
((dbo_ACADEMIC.ACADEMIC_TERM)=[Enter Academic Term]) AND
((dbo_ACADEMIC.ACADEMIC_SESSION)="01") AND ((dbo_ACADEMIC.ACADEMIC_RATING)
="Here")));
What can I do to make this work? When I try to run ithe query it just sits there.
FROM dbo_idfy
WHERE PEOPLE_CODE_ID NOT IN (SELECT
dbo_ACADEMIC.PEOPLE_CODE_ID
FROM dbo_ACADEMIC INNER JOIN dbo_idfy ON dbo_ACADEMIC.PEOPLE_CODE_ID =
dbo_idfy.people_code_id
WHERE (((dbo_ACADEMIC.ACADEMIC_YEAR)=[Enter Academic Year]) AND
((dbo_ACADEMIC.ACADEMIC_TERM)=[Enter Academic Term]) AND
((dbo_ACADEMIC.ACADEMIC_SESSION)="01") AND ((dbo_ACADEMIC.ACADEMIC_RATING)
="Here")));
What can I do to make this work? When I try to run ithe query it just sits there.