Oracle8i的左连接问题 放里面行不?A.fld1=substr(B.fld1(+),1,2); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select A.fld1, B.* from haha A ,(select * from haha where fld2='hehe' ) Bwhere A.fld1=substr(B.fld1(+),1,2); 或: select A.fld1, B.* from haha A left join (select * from haha where fld2='hehe' ) Bwhere A.fld1=substr(B.fld1,1,2); 更正:select A.fld1, B.* from haha A left join (select * from haha where fld2='hehe' ) Bon A.fld1=substr(B.fld1,1,2); select A.fld1, B.* from haha A ,(select * from haha where fld2='hehe' ) Bwhere A.fld1(+)=substr(B.fld1,1,2); 10g怎么导出公共同义词 sql 批量更新的问题 如何通过SQL语句实现添加查询结果列的查询? 问下:关于回滚段以及跟undo有啥关系,还有在oracle体系中什么时候用到回滚段呢等等? 一段SQL语句 请大家指点 请教各位大侠,如果在sql * plus里调看存储过程的内容 如何动态生成库表,以及如何向其进行数据操作! 关于IMPORT的问题 能在存储过程中新建或删除一个表吗? 你所知的有关ORACAL的好的专业站点!过内外都可! 如何评估数据库容量. 函数想返回一个表的结果集,怎么写???急急急--在线等
select A.fld1,
B.*
from haha A ,(select * from haha where fld2='hehe' ) B
where A.fld1=substr(B.fld1(+),1,2);
select A.fld1,
B.*
from haha A left join
(select * from haha where fld2='hehe' ) B
where A.fld1=substr(B.fld1,1,2);
select A.fld1,
B.*
from haha A left join
(select * from haha where fld2='hehe' ) B
on A.fld1=substr(B.fld1,1,2);
B.*
from haha A ,(select * from haha where fld2='hehe' ) B
where A.fld1(+)=substr(B.fld1,1,2);