- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
oracle练习day04(附答案及多种解法)(Oracle exercise day04 (with answers and multiple solutions))
oracle练习day04(附答案及多种解法)(Oracle exercise day04 (with answers and multiple solutions))
Day01 (with answers) (because the content is too simple to upload is not through the Baidu library, then with day04 upload)
Table 1. query staff pay more than 1600 of the employees name and salary.
Select ename, Sal from EMP where sal1600;
Table 2. query staff number 7369 of the employees name and number of department staff.
Select ename, deptno from EMP where empno=7369;
3. select the staff table in wages in 4000 to 5000 of the employees name and salary.
Select ename, Sal from EMP where Sal not between 4000 and 5000;
4. select the staff table in 20 and No. 30 Department staff name and Department of no..
Select ename, deptno from EMP where deptno in (20,30);
5. select the staff table in the employee name third letter name staff A.
Select ename from EMP where ename like__A%;
In the table 6. lists Department Department name and city.
Select dName, LOC from dept;
7. shows the staff table is not repeated post job.
Select distinct job from emp;
8 connect the staff table in the staff name, position, salary, a connection between the columns, column head into OUT_PUT (hint: use the connector ||, alias).
Select name: ename || || , job position || ||, sal OUT_PUT from EMP || salary
9 staff query table emp employee number, name, salary, and the salary increase% after 20%.
Select empno, ename, Sal, sal*1.2 sals from emp;
In addition to the ACCOUNT 10 lists what department department.
Select dName from dept where lower (dName) =account;
===============================================================================
Day04 (with answers and solutions)
1. create table employee field:
ID number,
First_Name VARCHAR2 (20),
Last_Name VARCHAR2 (20),
MGrid NUMBER,
Job VARCHAR2 (20),
Salary number (7,2)
Create table employee (ID number, first_Name VARCHAR2 (20), last_Name VARCHAR2 (20), MGrid number, job VARCHAR2 (20), salary number (7,2));
Table 2. to insert the following data, and submit the query data;
您可能关注的文档
- lol设计团队基本理念我们尽量避免的若干机制(转)(The basic concept of the lol design team several mechanisms that we try to avoid).doc
- lr 关联文档(LR relational documents).doc
- lol走位技巧学会走位远离坑爹!(Lol walk away from cheating skills learn to walk!).doc
- lol蛮族之王半ap打法攻略(The Barbarian King lol semi AP Raiders game).doc
- lte缩略语(lte缩略语).doc
- lua_sting详解(lua_sting详解).doc
- lubei-summary-html中meta的http-equiv属性详解(Lubei-summary-html in meta http-equiv attributes detailed).doc
- linux_c(复习)(linux_c(复习)).doc
- lvds信号pcb布线技巧(PCB routing skills for LVDS signals).doc
- lv广告营销与旅行的意义(LV advertising marketing and the significance of travel).doc
- ospf-五种网络类型(广播、nbma、点到点等)(Ospf- five network types (broadcast, nBMA, point-to-point, etc.)).doc
- ospf使用spf算法(OSPF uses the SPF algorithm).doc
- ospf eigrp等路由协议详细配置手册(OSPF, EIGRP and other routing protocol detailed configuration manual).doc
- otc渠道操作实务(OTC channel operation practice).doc
- otdr使用(OTDR usage).doc
- otdr测试(OTDR test).doc
- outfit, the 重装英豪已知成就列表(Outfit the, the outfit known achievement list).doc
- otis 维修案例(奥的斯维修案例).doc
- oоо浉ふ蓙 食品添加剂 平时练习(oоо浉ふ蓙 食品添加剂 平时练习).doc
- op330安全防范系统操作流程(Op330 security system operation flow).doc
文档评论(0)