select * from emp;2
select empno, ename, job from emp;3
select empno 编号, ename 姓名, job 工作 from emp;4
select job from emp;5
select distinct job from emp;6
select distinct empno, job from emp;说明:因为雇员编号不重复, 所以此时证明所有的列没有重复,所以不能消除掉重复的列
查询出雇员的编号, 姓名, 工作, 但是显示的格式:编号是: 7369 的雇员, 姓名是: smith, 工作是: clearselect '编号是: ' || empno || '的雇员, 姓名是: ' || ename || ', 工作是: ' || job from emp;8
求出每个雇员的姓名及年薪select ename, sal * 12 income from emp;9
求出工资大于 1500 的所有雇员信息select * from emp where sal > 1500;10
查询每月可以得到奖金的雇员信息select * from emp where comm is not null;11
查询没有奖金的雇员信息select * from emp where comm is null;12
查询出基本工资大于 1500 同时可以领取奖金的雇员信息select * from emp where sal > 1500 and comm is not null;13
查询出基本工资大于 1500 或者可以领取奖金的雇员信息select * from emp where sal > 1500 or comm i