单表数据保守备份

insert into devdata_copy select * from devdata where dataid not in (select dataid from devdata_copy);

你可能感兴趣的:(sql,数据备份)