如何知道刚刚insert进去的记录的id

来源:互联网 发布:印花软件 编辑:程序博客网 时间:2024/03/29 07:20

mysql中

 

 

select auto_increment from information_schema.tables where table_schema='shopping' and table_name='user'

 

 

完整文字 auto_increment 编辑 删除 675

 

 

原创粉丝点击