select cableName,bairPress from currentcabledata where to_number(bairPress)>1580 and bureauname='玉桥营维'
上面是2个字段的一个收索我要通过统计这2个字段同时不重复的记录总数
上面是2个字段的一个收索我要通过统计这2个字段同时不重复的记录总数
解决方案 »
- .NET调用ORACLE存储过程报错,参数“prm_errormsg”: 没有为可变长度的数据类型 String 设置大小。
- Oracle 中使用insert 语句插入中文数据 提交后出现乱码.
- oracle主体复制时,复制机上oracle一定要建立一个连接吗?
- Oracle里面让他只显示一条数据的sql应该怎么写 谢谢
- 请问,如何修改oracle的连接数量.
- 请教Oracle10G中,如何释放UNDOTABS1表空间所占用的空间。
- PLSQL Developer怎么连接数据库啊?
- 数据库倒入问题!!!!!!!!!!!!!!!!
- 奇奇怪怪:用dbstart能正常启动用svrmgrl和sqlplus就不行,青睐看看阿
- ORACLE缺失表达式是为什么?
- 从A表查询数据往B表中插入时存在的问题,谁帮忙解决下?
- ORACLE 存储过程返回记录的问题?
select cableName,bairPress,count(*) from currentcabledata
where to_number(bairPress)> 1580 and bureauname= '玉桥营维 '
group by cableName,bairPress 最好给点数据和你想要的结果.
select cableName, bairPress, count(1)
from currentcabledata
where to_number(bairPress) > 1580
and bureauname = '玉桥营维 '
group by cableName, bairPress
having count(1) = 1
select cableName,bairPress from currentcabledata where to_number(bairPress)>1580 and bureauname=玉桥营维'
group by cableName,bairPress
FROM currentcabledata
WHERE To_Number(bairPress)> 1580
AND bureauname= '玉桥营维'