Quantcast
Channel: ITPUB论坛-专业的IT技术社区
Viewing all articles
Browse latest Browse all 18583

2个update

$
0
0
下面2个sql结果一样吗?sql1只是先过滤在update,比sql2性能更好? --sql1 update t1 a set a.sal = (select b.sal from t2 b where b.empno = a.empno) where exists (select 'x' from t2 b where b.empno = a.empno); --sql2 update t1 a s ...

Viewing all articles
Browse latest Browse all 18583

Trending Articles