2013-01-15 74 views

回答

5

要获得最后插入的ID使用

SELECT LAST_INSERT_ID() 

the documentation

+0

我只是告诉你这个http://stackoverflow.com/questions/3180510 /最后插入-ID-VS-SELECT-maxid –

相关问题