case能否写在where 条件内。谢谢 orale的case能否用在where 条件语句。比如当 a b表,a表的aId,b表的bId,bId2当bId2为空时,aId=bId关联,否则aId=bId26 关联 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select *from a,bwhere a.aId=nvl(b.bId2,b.bId); 当 a b表,a表的aId,b表的bId,bId2当bId2为空时,aId=bId关联,否则aId=bId26 关联select * from a,bwhere (b.id2 is null and a.id = b.id) or (b.id2 is not null and a.id = b.id2); 关于JOB出错.. oracle 兼容性问题 导出AWR报告错误 一个简单的 pl/sql程序块问题 给大表分区和给表建索引在查找性能上的区别在哪里? 请大家帮忙优化一个多表查询的问题 急急急!!!oracle的入门教材(电子版) EXP时出现问题,请大家帮忙! 2005年,表插入时间出错? 请教各位大师,如何将mysql的数据库导入到oracle数据库中!! 如何将不重复的记录去掉 用VB对ORACLE编程,执行几十万条UPDATE,怎么才能让程序每100个UPDATE语句提交一次?
from a,b
where a.aId=nvl(b.bId2,b.bId);
当bId2为空时,aId=bId关联,否则aId=bId26 关联select * from a,b
where (b.id2 is null and a.id = b.id) or (b.id2 is not null and a.id = b.id2);