sqlserver语法
update tablea set tablea_column=tablea_column-tableb_column from tableb where tablea_id=tableb_id请问oracle语法怎么写?
update tablea set tablea_column=tablea_column-tableb_column from tableb where tablea_id=tableb_id请问oracle语法怎么写?
解决方案 »
- 关于运算符or的顺序问题
- 关于Oracle 导入 Sql 的问题
- java 中调用oracle 存储过程到execute()就不执行了
- 点击editdata按钮,为什么会跳出错误“these query result are not updateable....”
- date更新问题
- 请问一个sql语句:如何实现“连续”这个概念?
- 为啥我用了create 命令却在数据库中看不到表
- 请问一个sql语句的问题(我以前从没见过)急,在线等。高手帮忙
- 我用Oracle的JDBC连接Oracle数据库时,发现不能创建可更新的ResultSet
- oracle异地备份
- 求一统计空字段的sql,请各位高手帮忙
- oracle 9i登录OMS后在管理工具中怎么没有数据库节点?怎样添加数据库节点?
set table a_column = (select a.tablea_column-b.tableb_column fromm tableb b where tablea_id=b.tableb_id )
就OK拉
set tablea_column = tablea_column - (select tableb_column from tableb
where a.tablea_id=tableb_id)
where exists (select null from tableb
where a.tablea_id = tableb_id)