mysql获取一个表中的下一个自增(id)值的方法 http://blog.sina.com.cn/s/blog_708043ab0100pjn8.html select LAST_INSERT_ID() as id 获取最后一次插入的id