mysql 插入数据返回ID

INSERT INTO `t_org` (`name`) VALUES ('极光幼儿培训中心');
SELECT LAST_INSERT_ID()

原文地址:https://www.cnblogs.com/rchao/p/14722776.html