I would like to delete records from one table that are not present in a query. I can solve the scenario when I need to compare one column:
Delete From AllRecords
Where AllRecords.ID Not In
(Select ID From MustStay)
However I cant solve this same scenario when the ID is composed of two colums which is my case.
Could somebody help?
Many thanks.
SWK
Delete From AllRecords
Where AllRecords.ID Not In
(Select ID From MustStay)
However I cant solve this same scenario when the ID is composed of two colums which is my case.
Could somebody help?
Many thanks.
SWK