📜  插入行的mysql id - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:27.490000             🧑  作者: Mango

代码示例1
-- For mysql
INSERT INTO table_name (col1, col2,...) VALUES ('val1', 'val2'...);
SELECT LAST_INSERT_ID();