- 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 plsql考试试卷
Oracle SQLPL/SQL Test
选择题(45 * 2)
用下列代码块回答问题:
SQL select ______(-45) as output from dual;
OUTPUT
------
-45
下列哪个单行函数无法产生这个输出?
A.abs() B.ceil() C.floor() D.round()
用下列代码回答问题:
Evaluate the set of SQL statements:
CREATE TABLE dept
(deptno NUMBER(2),
dname VARCNAR2(14),
loc VARCNAR2(13));
ROLLBACK;
DESCRIBE DEPT
What is true about the set?
哪个语句是正确的?
A. The DESCRIBE DEPT statement displays the structure of the DEPT table.
B. The ROLLBACK statement frees the storage space occupies by the DEPT table.
C. The DESCRIBE DEPT statement returns an error ORA-04043: object DEPT does not exist.
D. The DESCRIBE DEPT statement displays the structure of the DEPT table only if
there is a COMMIT statement introduced before the ROLLBACK statement.
用下列代码回答问题:
Examine the structure of the EMPLOYEES and DEPARTMENTS tables:
检查如下表结构
EMPLOYEES
Column name Data type Remarks
EMPLOYEE_ID NUMBER NOT NULL, Primary Key
EMP_NAME VARCHAR2 (30)
JOB_ID VARCHAR2 (20)
SALARY NUMBER
MGR_ID NUMBER References EMPLOYEE_ID COLUMN
DEPARTMENT ID NUMBER Foreign key to DEPARTMENT ID
column of the DEPARTMENTS table
DEPARTMENTS
Column name Data type Remarks
DEPARTMENT_ID NUMBER NOT NULL, Primary Key
DEPARTMENT_NAME VARCHAR2(30)
MGR_ID NUMBER References MGR_ID column of the
EMPLOYEES table
Evaluate this SQL statement:
SELECT employee_id, e.department_id, department_name,
salary
FROM employees e, departments d
WHERE e.department_id = d.department_id;
Which SQL statement is equivalent to the above SQL statement?
一下哪个语句和上面的语句执行结果相同?
A. SELECT employee_id, department_id, department_name,salary
FROM employees
WHERE department_id IN (SELECT department_id
FROM departments);
B. SELECT employee_id, department_id, department_name,salary
FROM employees
NATURAL JOIN departments;
C. SELECT employee_id, d.department_id, department_name,salary
FROM employees e
JOIN departments d
ON e.department_id = d.department_id;
D. SELECT employee_id, department_id, department_name,Salary
FROM employees
JOIN department
您可能关注的文档
最近下载
- 外研版(孙有中2024版)小学英语三年级上册U6 My sweet home Period1 Welcome to my home优质课比赛课件.ppt VIP
- 城市遥感知识学习.ppt VIP
- 2025年教科版(2024)小学科学二年级上册(全册)教学设计(附目录).docx
- 工程机械租赁投标方案、技术方案.docx VIP
- 中药临方炮制的现状及进展.pdf
- 港口工程初步设计文件编制规定,JTS110-4-2008.pdf VIP
- 水处理生物过程.ppt VIP
- 克莱门特w3000用户手册(中文版).pdf VIP
- 仪表及自动控制设备管理规定.pdf VIP
- 毕业设计-电动叉车设计.docx VIP
文档评论(0)