Should be something like this, as I am not sure about what tables you have and from which table the records are to be deleted.
Select A.*
from TableForDelete A, TableRef1 as B, TableRef2 as C
Where A.IDField=B.IDField and A.IDField=C.IDField
The where clause might change depending on the relationship between the tables that are involved.
Hope that helps.
Cheers!
-Vijay G
|