比如a列对应b列多行,如果想获得a每个值对应的b列最小值该怎么找,就相当于a分组了,然后对应的b列是最小的时间
select a,min(b) from biao group by a
select a,min(b) b from table GROUP BY A
select ROWID,LINE_NUM,LOT_ID,MIN(TRACKIN_DATE) AS TRACKIN_DATE FROM 表 group by ROWID,LINE_NUM,LOT_ID