2009å¹´07æ06æ¥22:54 MySQL LAST_INSERT_IDã使ã£ã¦æ¡çªãã¼ãã«ãæ±ã æ¡çªãã¼ãã«ã¨ããã®ã¯ãä¾ãã°åã DB ã®éããã¼ãã«ï¼data_1ãã¼ãã«ã¨data_2ãã¼ãã«ã¨ãï¼ã§ id ãéè¤ãããããªãï¼ã¤ã¾ããdata_1ãã¼ãã«ãdata_2ãã¼ãã«ã§ã¯ auto_increment ã¯ä»ããªãï¼å ´åãªã©ã«ãã¦ãã¼ã¯ãª id ãçæããããã®ãã¼ãã«ã§ãããããªæãã CREATE TABLE num ( id bigint(20) unsigned NOT NULL DEFAULT '0' ) ENGINE=InnoDB; +-------+---------------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +---
{{#tags}}- {{label}}
{{/tags}}