求一sql 语句,急!!! sql求和问题表Aqxbm sl1 22 33 44 75 6表Bqxbm 245求表A中qxbm存在于表B中的 sl的和 用一条sql语句 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select sum(a.sl) slfrom a,bwhere a.qxbm=b.qxbm; SELECT SUM(A.SL) SL FROM A INNER JOIN B ON A.QXBM=B.QXBM select sum(nvl(sl,0))from awhere exists (select qxbm from b where b.qxbm=a.qxbm) select sum(sl)from A,Bwhere tb1.qxbn=tb2.qxbm select sum(a.sl) sl from a,b where a.qxbm=b.qxbm; select sum(nvl(a.sl,0)) as sl_sumfrom A awhere exists (select 1 from B where b.qxbm=a.qxbm) select sum(nvl(a.sl,0)) as sl_sumfrom A awhere exists (select 1 from B b where b.qxbm=a.qxbm) 请问oracle存储过程中,循环的时候有没有像JAVA那种continue 功能 谁介绍一本Mysql或oracle入门的书吧 oracle数据库慢怎么解决? 单引号的问题,请各位老师指教 oracle 能查sql server中的nchar类型的字段吗?ora-28500 专用服务器的概念 急死我了,请各位讲一下如何在一台计算机上安装和配置ORACLE9I的学习环境啊? 怎样查看和理解ORACLE中的约束条件 oracle中怎么对数据库创建用户和口令(手工和语句)??? 求助 谁帮我看一下这个简单的sql有什么问题啊 关于数据锁定的问题,有一行记录被锁定.如何查找到这条操作锁定的语句?
from a,b
where a.qxbm=b.qxbm;
from a
where exists (select qxbm from b where b.qxbm=a.qxbm)
from A,B
where tb1.qxbn=tb2.qxbm
from a,b
where a.qxbm=b.qxbm;
select sum(nvl(a.sl,0)) as sl_sum
from A a
where exists (select 1 from B where b.qxbm=a.qxbm)
from A a
where exists (select 1 from B b where b.qxbm=a.qxbm)