SQL-查询最后一条数据
准备数据表建立student表查询最后一条数据本文共分为三种方式max(id) 函数select * from student where id = (select max(id) from student);order by id desc limit 1select * from student order by id desc limit 1;last_insert_id(...