用SQL语句复制记录

insert into person  select * from person where id=’21’

如果id为自动编号,就把改为:

insert into person  select deptid,dept,salary,indate,othersalary from person where id=’21’

 

    原文作者:SQL
    原文地址: https://blog.csdn.net/bangtt/article/details/69523180
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞