Select * from 表名 order by id desc limit 1;
例如:Select * from student order by sno desc limit 1;
表student所有数据如下: