select * from inf_ac where fin in ( select fin from inf_ac group by fin ) and i_time in ( select max(i_time) from inf_ac group by fin );