Hi I need small query here are my tables
user table
userid username
user001 987
user002 123
user003 456
logintrack
usrid lastlogin
user001 7/22/2009
user001 7/23/2009
user002 7/24/2009
user001 7/25/2009
user003 7/26/2009
user002 7/25/2009
user001 7/26/2990
Expected Output
userid username lastlogin
user001 987 7/26/2009
user002 123 7/25/2009
user003 456 7/26/2009
Regards, Nagu