關於Mysql中 select last_insert_id() 取值問題

mysql中能夠設置主鍵自增:mysql mysql> create table t1(id int primary key auto_increment,name varchar(20)); Query OK, 0 rows affected (0.00 sec) mysql> desc t1; +-------+-------------+------+-----+---------+---
相關文章
相關標籤/搜索