自增取id值: select LAST_INSERT_ID() 后取返回,不写id值 如下图: select LAST_INSERT_ID() 取uuid() select uuid() 先取值在插入 select uuid() 相关文章: