读书人

求将A表某个字段update到B表的SQL语句

发布时间: 2012-03-09 16:54:56 作者: rapoo

求将A表某个字段update到B表的SQL语句
表A、表B共有字段X,

现要update表B的字段Z=表A的字段Y

求sql语句

[解决办法]
试试
update b set z=(select y from a where a.x=b.x)
[解决办法]

探讨
试试
update b set z=(select y from a where a.x=b.x)

读书人网 >Informix

热点推荐