SQL问题的请教,马上结贴 where a.hxbm = b.hxbm 这里都把列写错了。是where a.bm = b.bm 吧 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 你的pzbm字段是字符型的吗?如果是数字的话将2两边的单引号去掉就行了 where a.hxbm = b.hxbm 这里都把列写错了。是where a.bm = b.bm 吧****************这个是笔误!!!你们说的都还不对,谢谢 select a.bm,a.mc,b.pzbmfrom zxf.sfjl a ,zxf.hxda bwhere trim(a.hxbm) = trim(b.hxbm) and b.pzbm ='2' select a.bm,a.mc,b.pzbmfrom a ,bwhere a.bm(+)= b.bm and b.pzbm ='2' 我也以为很难的!其实... ...select a.bm,a.mc,b.pzbm from a,b where a.bm=b.bm and b.pzbm='2'; select a.bm,a.mc,(select b.pzbm from hxda b where a.hxbm = b.hxbm and b.pzbm ='2') from zxf.sfjl a 简单.select a.bm,a.mc,b.pzbmfrom zxf.sfjl a ,zxf.hxda bwhere a.bm = b.bm and b.pzbm ='2' 连接Oracle9i报ORA-12540:超出内部限制错误!!! erwin建的数据库物理模型怎么在Oralce里生成数据库 请教个个问题,里面描述 oracle不支持在select中嵌套dml操作,如何解决? SELECT语句问题 XDB开发-xml文件模式匹配的问题 字符集的疑惑 简单的触发器问题,更新时另外一个表的相应字段也跟着更新!请各位帮忙,先行谢过 SQL的问题! 如何对bLOB字段进行全文检索? 小弟是菜鸟,请问一下svrmgrl是什么,9I中有吗? 不能使用参看表结构,很奇怪......
****************
这个是笔误!!!
你们说的都还不对,谢谢
from zxf.sfjl a ,zxf.hxda b
where trim(a.hxbm) = trim(b.hxbm) and b.pzbm ='2'
from a ,b
where a.bm(+)= b.bm and b.pzbm ='2'
select a.bm,a.mc,b.pzbm from a,b where a.bm=b.bm and b.pzbm='2';
select a.bm,a.mc,b.pzbm
from zxf.sfjl a ,zxf.hxda b
where a.bm = b.bm and b.pzbm ='2'