解决方案 »
- 联合查询与左连接有什么区别?
- 不同数据库中的表复制
- 有没有压缩包可用在oracle8i下?
- 权限问题。
- 监听老是自动关闭
- Access数据库导出某种文件后,用Oracle数据库将某种文件导入.某种文件是什么样的文件最好呢?
- 请问ftp://202.96.64.144/Oracle9iVideo/下载的视频播放时只有声音没有图像,要用什么播放器,装什么插件啊?急!!!!
- 初学,关于 Oracle 过滤系统表的问题(高分请教,UP有分)~
- 求征SQL语句
- 请教:DATE型字段做主键有什么优缺点
- 在redhat 企业版 5.4 上安装oracle9204出现问题
- vs2008中使用ado连接oracle 9i数据库,如何响应触发器发出的事件并获得返回值?
select count(*) from cup where outfee=0 or infee=0;
(select count(*) rs from cup where outfee=0)b
貌似可以,楼主试下
select count(*) from cup where infee=0;
union all
select count(*) from cup where outfee=0;
union all
select count(*) from cup where outfee=0;
高!
select
sum(case when infee=0 then 1 else 0 end),
sum(case when outfee=0 then 1 else 0 end)
from cup;