求一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) 各位大哥,求一SQL语法,或者解决办法. 关于oracle 10g bdump文件增长问题,请不吝指教! string类型的时间和character类型的时间如何转换? 怎么用正则表达式。判断一个字符串的前4位是数字第5位不是数字 创建数据库例程失败 oracle 数据库安装有问题 显卡驱动 求个SQL 救命:数据没法恢复了 再问个笨的要死的问题: 实验:关于LOB(LOB表的建立,存储,DBMS_LOB的一些初步学习) 谁帮我看一下这个简单的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)