I am using LEFT JOIN to join two tables but it is returning a few duplicates. This is my query:
SELECT tblDrill.Hole_ID, tblAssay.MidPoint, tblAssay.SampleNumber, tblAssay.Gold, tblMagSus.MagSus
FROM tblDrill LEFT JOIN tblMagSus ON (((tblAssay.MidPoint)>tblMagSus.From And (tblAssay.MidPoint)<tblMagSus.To)) AND (tblAssay.Hole_ID = tblMagSus.Hole_ID);
A few times, there is more than one tblAssay.MidPoint that falls between the tblMagSus.From and tblMagSus.To so it returns two records. I only want it to return the record that contains the highest MagSus value.