I was wondering if there was a way to select the 3 most recent dates based on certain criteria egName Date------- -----------------------John 2007-07-07 09:20:00.000John 2007-05-07 09:20:00.000John 2007-07-14 09:00:00.000John 2007-05-07 10:00:00.000Mary 2007-07-06 12:20:00.000Mary 2007-05-04 13:20:00.000Mary 2007-07-12 15:00:00.000Mary 2007-05-01 10:00:00.000
would yieldName Date------- -----------------------John 2007-05-07 09:20:00.000John 2007-05-07 10:00:00.000John 2007-07-07 09:20:00.000Mary 2007-05-01 10:00:00.000Mary 2007-05-04 13:20:00.000Mary 2007-07-06 12:20:00.000