select approvename,Max(submitdate),tag from approvecourse where logname='fans'  group by approvename order by submitdate 
你不能再加一个排序吗