i have a delete querry that finds duplicate records but im having trouble adapting the SQL to delete the record with the highest id.
Code:
DELETE tblevent.F1, tblevent.ID, tblevent.F2, tblevent.*
FROM tblevent
WHERE (((tblevent.F1) In (SELECT [F1] FROM [tblevent] As Tmp GROUP BY [F1] HAVING Count(*)>1 )));
Last edited: