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';

 

相关文章:

  • 2022-01-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
  • 2021-12-26
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-17
  • 2022-01-22
  • 2022-12-23
  • 2022-12-23
  • 2021-12-22
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案