已SCOTT用户进系统,查询emp表中的这个题怎么写??显示雇员总数,以及获得补助的雇员数???
解决方案 »
- 11g R2 RAC安装,推荐使用asm磁盘组,具体怎么使用能有人介绍下吗
- 求一条sql,在oracle的scott用户下查询各部门工资排在前三名员工的部门编号,部门名称,姓名,工资
- 数据备份介绍点经验
- Oracle 彩票中奖查询
- 客户端9连接服务端10的问题
- 存储过程中使用游标时效率的问题
- ORACLE 视图中order by 不好用
- 一个数据表中记录关于日期的问题...在线等待啊
- 在Oracle9i下面,那个命令和Oracle8i的Svrmgrl的功能一样呢?
- 怎样解决HP UNIX系统和数据库字符集的问题?
- oracle 建表时 提示 SP2-0640: 未连接 在线等..
- 问个oracle日起转换的问题
select count(*) from scott.empselect count(*) from scott.emp where comm is not null
desc emp;select count(*),sum(case when comm>0 then 1 else 0 end) from emp;
select count(*) from scott.emp;
select count(*) from scott.emp where comm is not null;
我记得emp表中有个人的comm是0的,这个不能算是补助吧?
conn scott/password@orclselect * from empselect count(*) from emp