mysql语句组合在一起

mysql语句组合在一起,第1张

我常用到的,update tab1 set tab1.col1=(select tab2.col1 from tab2 where tab2.col2=tab1.col2)

where exists(select 1 from tab2 where tab2.col2=tab1.col2)

access : 表.select 字段a &表.字段B as 字段x from 表;

Oracle: 表.select 字段a || 表.字段B 字段x from 表;


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/8654605.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-04-19
下一篇 2023-04-19

发表评论

登录后才能评论

评论列表(0条)

保存