我插入的时候,要如何知道它分配的ID号是多少呢?
<!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> mysql> desc fb64_key; +-------+-------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-------+-------------+------+-----+---------+----------------+ | fbid | int(11) | NO | PRI | NULL | auto_increment | | fbkey | varchar(16) | NO | | NULL | | +-------+-------------+------+-----+---------+----------------+ 2 rows in set (0.00 sec)
<!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->INSERT INTO `webgame`.`fb64_key` ( `fbid` , `fbkey` ) VALUES ( NULL , '222' );