芯が強い人になるESTJ-A

# 主键自增,获得数据库最后一条数据

IT開発 Tags: 无标签 阅读: 249

主键自增,获得数据库最后一条数据

思路
先倒序排序
再获得第一条数据

select * from table_name order by id desc limit 1;