通过本文主要向大家介绍了删除记录的sql语句,sql语句删除重复记录,sql恢复数据记录语句,sql语句添加记录,sql语句查询重复记录等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
insert into article (id,class,title,content) select id,'2',title,content from article where class='1'
如果id为自动编号,就把改为:
insert into article (class,title,content) select '2',title,content from article where class='1'
如果class为数字类型,则去掉单引号. </div>
如果id为自动编号,就把改为:
insert into article (class,title,content) select '2',title,content from article where class='1'
如果class为数字类型,则去掉单引号. </div>

