insert select的相關文章
insert select的相關商品

MySQL :: MySQL 5.1 Reference Manual :: 13.2.5.1 INSERT ... SELECT Syntax
瀏覽:343
日期:2025-04-23
Having the same problem mentioned above (last_insert_id() returns "0"), I found this solution. You can use the following select statement: SELECT id FROM mytable WHERE id IS NULL; "id" has to be an auto_increment column to make it work. It will return the...看更多