1 select tcfi.* from t_cust_face_identify tcfi where tcfi.cust_no = ‘2004081422003482994‘ order by tcfi.create_time desc limit 1;
1 select * from table where id=(select MAX(id) from table )
1 应该加主键条件吧:select * from table a where id=(select MAX(id) from table where key =a.key ) and key =‘n‘;