练习:
练习01:
查看scott中 emp表的信息:
select * from emp;
练习02:
在scott中 emp表中,编号为7369的部门编号?
select deptno from emp where EMPNO=7369;
在scott中 emp表中,job与7900 员工相同的员工有哪些?
练习03:
在scott中 emp表中,在10号部门中谁的工资+奖金最高?
select ename 姓名,sal+nvl(comm,0) 总工资 from emp where (sal+nvl(comm,0))=( select max(sal+nvl(comm,0)) from emp where deptno IN (10));




