select * from geimstatus_history twhere to_date(t.data_time,'YYYY-mm-dd') = to_date(sysdate,'YYYY-mm-dd') AND t.car_state='11' order by t.gei_mes desc, t.data_time desc