想的太复杂了巴?
select a,count(1) from aa
group by a
where count(1)>2就是你要的结果了?
select a,count(1) from aa
group by a
where count(1)>2就是你要的结果了?
解决方案 »
- 索引有效性问题
- oracle数据库导出导入后出现很多小红叉,比方说存储过程,进入之后空格然后编译无问题
- 在ie中如何访问oracle数据库
- oracle 如何灵活的处理不包含的关系
- date类型默认是减天数,能否减分钟?
- 关于object browser操作数据库的问题
- [求助] ORA-04031: unable to allocate 4200 bytes of shared memory
- 这么给一个已经存在的大表创建很多PARTITION?急
- 我用oracle database assistant创建了一个数据库实例,可是删不掉???
- 各位ORACLE高手,难道ORACLE连这样的SQL语句都不支持吗?!!
- 下面是一段自己修改的一个oracle存储过程,里面错误应该很多,大家找。按错误个数及难度给分.
- oracle9i on HP-UX 实例启动问题!急!
from aa
group by a
having count(distinct b) > 1