select 日期,订单号,min(xxxx) from table group by 日期,订单号