SQL查询表中最后一条数据
SQL查询表中最后一条数据文章目录SQL查询表中最后一条数据准备数据表查询最后一条数据准备数据表建立student表,并插入几条数据查询最后一条数据本文共分为三种方式//max(id) 函数select * from student where id = (select max(id) from student);//order by id desc limit 1select * from st
·
更多推荐
已为社区贡献6条内容
所有评论(0)