阅读背景:

将行复制并粘贴到具有不同值的同一个SQL表中

来源:互联网 

I wrote an application for resident housing at a college. In one of the tables (rooms) I have a list of all the rooms and their current/max occupancy. Now, I've added a new column called "semester" and set all of the existing rows to have a semester value of "fall." Now I want copy and paste all of these rows into the table but change the semester value to "spring." The result should be twice as many rows as I started with - half with fall in the semester value and half with fall. Wondering what the best way to accomplish this is?I wrote an application for resident housing at




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: