SQL:不存在则 insert, 存在则 update
摘要:方法一: 在MYSQL中有语句 insert into ... on duplicate key update... INSERT INTO table (id, name, age) values (1, 'yourname', 18) ON DUPLICATE KEY UPDATE name='
阅读全文
posted @ 2025-03-27 14:23
posted @ 2025-03-27 14:23
posted @ 2021-01-15 15:32