原地址:http://blog.csdn.net/ycb1689/article/details/43834445 方法一: update a set HIGH=b.NEW from SPEC1 a,tmpDOT b where a.high=b.old 方法二: UPDATE A SET HIGH=B.NEW FROM A LEFT JOIN B ON (A.HIGH=B.OLD) 方法三: update a set high = (select new from tmpdot whe
SQL面试题(1) create table testtable1(id int IDENTITY,department varchar(12) ) select * from testtable1insert into testtable1 values('设计')insert into testtable1 values('市场')insert into testtable1 values('售后')/*结果id department1 设计2 市场3 售后 */create t