I have two tables
tblDupeIDs (EnrollmentID int, MaxUploadDate DateTime)
tblEnrollment (EnrollmentID int, UploadDate DateTime)
I would like to delete all records from tblEnrollment where tblEnrollment.EnrollmentID = tblDupeIDs.EnrollmentID AND tblEnrollment.UploadDate <> tblDupeIDs.MaxUploadDate.
Any thoughts on how to do this?
Thanks!
JM