上一页 1 ··· 5 6 7 8 9

数据库学习7-25

摘要: 课堂练习1 1.查询和simth一个部门的其他员工姓名。 select ename from emp where deptno=(select deptno from emp where ename='SMITH')and ename !='SMITH'; 2.查询存在员工的部门的工作地点。 sel 阅读全文
posted @ 2019-07-26 17:39 一只小白two 阅读(1043) 评论(0) 推荐(0) 编辑

数据库学习7-24

摘要: oracle 第四章 练习1 1.查询员工姓名中中包含大写或小写字母A的员工姓名。 select ename from emp where ename like '%A%' or ename like '%a%'; 2.查询部门编号为10或20,入职日期在81年5月1日之后,并且姓名中包含大写字母A 阅读全文
posted @ 2019-07-26 17:30 一只小白two 阅读(2046) 评论(0) 推荐(0) 编辑

数据库学习7-23

摘要: oracle 第三章 练习1 1.查询职位为SALESMAN的员工编号、职位、入职日期。 select empno,job,hiredate from emp where job = 'SALESMAN'; 2.查询1985年12月31日之前入职的员工姓名及入职日期。 select ename,hi 阅读全文
posted @ 2019-07-23 20:52 一只小白two 阅读(1370) 评论(0) 推荐(0) 编辑

数据库7-22

摘要: oracle 第二章 练习1 1.使用两种方式查询所有员工信息 select * from emp select EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,COMM,DEPTNO from emp 2.查询员工编号、员工姓名、员工职位、员工月 薪、工作部门编号。 select 阅读全文
posted @ 2019-07-22 20:26 一只小白two 阅读(951) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9