select user.name u_n,client.name c_n,t.date from (select user_id,max(date) date from login group by user_id) t,user,login,client where t.user_id=user.id and t.user_id=login.user_id and login.client_id=client.id and t.date=login.date order by user.name #这道题的思路是先把每一个用户最近登陆日期找到,形成临时表t,此时t(user_id,...