select t.* from table1 t ,(selec A,max(C) from table1 group by A) a where t.A=a.A and t.C=a.C;
SQL表两列取一列唯一值的记录
原文:http://www.cnblogs.com/zmc/p/4858409.html