查询不同类别中最大的一条

 select max(*) from user where (select * from user group by class); 
posted @ 2013-03-07 09:27  王翔(kingfly)  阅读(170)  评论(0)    收藏  举报