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); SQL语句参数化问题 SQL Plus 未选定行,PL/SQL插入之后无法显示数据…… 对单张表T,频繁的update、select ,是否需要将T拆成T1、T2 oracle登陆问题 寻求评估SQL代价的办法 如何大批量的往oracle中倒入数据? 比较字段的差别 如何查扎本年本月新增的数据,大大帮忙呀 ora-12560的错误怎么解决 请教,我单位有两个管理系统,后台为Oracel 7.3单机版数据库支持(急呀,谢谢) 如何将不重复的记录去掉 用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);