You should be using a join rather then individual AND conditions. try thi instead:
select MapRef, max(LstSlDate) as LstSlD1 into snap_new from snapshot
group by MapRef;
SELECT SnapShot.* INTO snap_new2
FROM snapshot INNER JOIN Snap_New ON (snapshot.LstSlDate = Snap_New.LstSlD1) AND (snapshot.Mapef = Snap_New.MapRef);
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only