1表中有A,B,C三列,以B,C为条件分组,取每组中第一行的A
第一行a是根据什么排序呢?取最大最小?那就是用 max,min就行select b,c, max(a) from table group by b,c