摘要: 需求: 将t2(t_statbuf)表中id和t1(T_Mt)表相同的记录更新进t1表。 1.错误的写法: 1 update table_name t1 set (a,b,c)=( select a,b,c from table_name_2 t2 where t1.a=t2.a); 这种写法,会更 阅读全文
posted @ 2016-10-20 20:57 美好的明天 阅读(1087) 评论(0) 推荐(0)