select cableName,bairPress from currentcabledata where to_number(bairPress)>1580 and bureauname='玉桥营维'
上面是2个字段的一个收索我要通过统计这2个字段同时不重复的记录总数
上面是2个字段的一个收索我要通过统计这2个字段同时不重复的记录总数
解决方案 »
- 如何在java中获得oracle存储过程out的二维数组[高分求救]
- 数据库查列名问题?
- toad导出时报错,非常怪,我是oracle 10g
- dbca 在redhat 下不能运行???
- pro*c的程序在大数据量时,常在执行EXEC SQL时出CORE,why???
- oracle 8i在sco unix openserver 5.05下如何安装
- developer2000 与oracle9i的连接问题!
- for update
- oracle sql 正则表达式替换字符
- 各位前辈,我想求一个绝对值的写法
- 从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= '玉桥营维'