查看一条最新的数据库数据--方法 select * from table order by id desc limit 1; select * from table where id=(select max(id) from table) ; 个人感觉应该下面的效率高,mark