方法一:在MYSQL中有语句insert into ... on duplicate key update... INSERT INTO table (id, name, age) values (1, 'yourname', 18) ON DUPLICATE ...
確定! 回上一頁