随笔 - 233  文章 - 0  评论 - 246  阅读 - 84万
01 2010 档案
基于连接和子查询的update语句
摘要:1: 效率高, 连接,update 后跟别名update a set a.Field1= b.Field1fromTable1 aleft joinTable2 b on a.SID=b.IDwhere b.Codelike 'm%'效率高2: 子查询,update后跟表名update Table1set Field1= (select Field1 from Table2where Table2... 阅读全文
posted @ 2010-01-28 15:21 BobLiu 阅读(3250) 评论(0) 推荐(0) 编辑


点击右上角即可分享
微信分享提示