1: 2: 3: 4: 5:
SELECT DISTINCT MAX(veEmploy.[EeFlxID]) AS [MaxID], [veEmploy].[EeCategory], [veEmploy].[EeSocNumber] FROM vEEmploy GROUP BY [veEmploy].[EeSocNumber],[veEmploy].[EeCategory]