oracle库.
1.查询 select * from scott.emp where 5 - (select count(1) from scott.dept where 1= 0 ) > 0 无结果
2。查询 select * from scott.emp where 5 - 0> 0 有结果
3 .查询 select * from scott.emp where (select count(1) from scott.dept where 1= 0 ) = 0 有结果同样的1语句在其他oracle数据库执行没问题,有结果。 跪求大神指教,不胜感谢。
1.查询 select * from scott.emp where 5 - (select count(1) from scott.dept where 1= 0 ) > 0 无结果
2。查询 select * from scott.emp where 5 - 0> 0 有结果
3 .查询 select * from scott.emp where (select count(1) from scott.dept where 1= 0 ) = 0 有结果同样的1语句在其他oracle数据库执行没问题,有结果。 跪求大神指教,不胜感谢。
解决方案 »
- oracle 11G R2已经有下载了 也散散分.
- 数据库备份
- 删除和更新指定行,如limit(10,20)
- 求一sql写法,顶者有分,不够在加!
- 请高手指点(马上结帖)在线等
- 哪位高手给指点这个SQL应该怎么写
- help!!!the install of oracle8i on linux9 is going now.......
- 招聘经验丰富Oracle兼职教师!北京 农科院附近 100元/月 起 mail:[email protected]
- 关于1521端口问题
- 怎样用sqldeveloper 创建varchar2(10 char) ?
- 【江湖救急】sql plus中文提示乱码
- 单表横表转纵表查询速度慢求解决方法?
猜测(select count(1) from DUAL where 1 = 0)被TO_CHAR为NULL,其他部分也会被强制TO_CHAR(),算数运算变成了逻辑运算,具体为什么是这样就要有请大佬了