I have two tables. The first table EES has the list of employees that I need and their information. The second table EPAY has even more employees and each employee may have duplicate rows.
I am wanting to delete any employee on EPAY that does not exist on EES.
I tried creating a delete table with the join from EPAY to EES, where a field on EES is null and then added the table fields from EPAY to be deleted. When I "view", it is showing all the rows that should be deleted, however, when I run, it is giving me the error that it "could not delete from specified tables".
Is there a way to do this? I'm not that familiar with delete queries, even though this seems to 'make sense' to me.
I am wanting to delete any employee on EPAY that does not exist on EES.
I tried creating a delete table with the join from EPAY to EES, where a field on EES is null and then added the table fields from EPAY to be deleted. When I "view", it is showing all the rows that should be deleted, however, when I run, it is giving me the error that it "could not delete from specified tables".
Is there a way to do this? I'm not that familiar with delete queries, even though this seems to 'make sense' to me.
