I have the following query but I want to display only the latest (newest) date for each user, ie Rick James to only display once with the latest date. My sample code and data is below:select U.UserID, U.FirstName, U.LastName, U.EmailAddress, SI.StartDateTime, SI.MessageCode from Users Ujoin SessionInfo SIon U.UserID = SI.UserIDgroup by U.UserID, U.FirstName, U.LastName, U.EmailAddress, SI.StartDateTime, SI.MessageCodeorder by SI.StartDateTimeDESC
87 Rick James rjames@hotmail.com 2012-05-03 01:04:00 089 Graeme Clover glocver@hotmail.com 2012-04-03 01:04:00 088 asds aasdsa ads@asd.com 2012-04-03 00:55:00 687 Rick James rjames@hotmail.com 2012-04-03 00:53:00 086 Chris Riley criley@gmail.com 2012-04-03 00:38:00 3