Mysql 数据插入与更新   replace into,insert into ...  select ... from dual where not exists,ON DUPLICATE KEY

Mysql 数据插入与更新 replace into,insert into ... select ... from dual where not exists,ON DUPLICATE KEY

如题项目中遇到的实际问题原有表结构包含联合主键 A,Bcreate table 'test'(    'A' int(10) unsigned not null,    'value' int(10) unsigned  not null,