开发者

Update field with data from the same table

I have a table of employees per year, need to replicate most of the employee开发者_开发技巧s within the same table just changing the year to which they relate.

Thanks alot.

Mike Teixeira


INSERT INTO EMPLOYEES (<foo..bar>, year) (SELECT <foo..bar>, '2011' FROM EMPLOYEES)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜