View Single Post
  #2 (permalink)  
Old September 20th, 2003, 12:10 PM
BethMoffitt BethMoffitt is offline
Friend of Wrox
Join Date: Jul 2003
Location: Houston, Texas, USA.
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts

Replace tblUsers with the proper name of your table in all instances and this would provide unique values with the max date:

SELECT tblUsers.UserID, tblUsers.UserName, Max(tblUsers.UserDate) AS MaxDate
FROM tblUsers
GROUP BY tblUsers.UserID, tblUsers.UserName;


Beth M
Reply With Quote