没有合适的资源?快使用搜索试试~ 我知道了~
oracle ocp认证最新题库051-1
5星 · 超过95%的资源 需积分: 0 13 下载量 52 浏览量
2013-03-12
09:38:15
上传
评论
收藏 3.13MB PDF 举报
温馨提示
试读
50页
oracle ocp认证考试必备题库,本文档是ocp三个科目中的一个,属于oca部分,
资源推荐
资源详情
资源评论
Oracle 1z0-051
1z0-051 Oracle Database 11g: SQL Fundamentals I
Practice Test
Version 3.2
ActualTests.com
QUESTION NO: 1
See the Exhibit:
You need to display all promo categories that do not have 'discount' in their subcategory.
Which two SQL statements give the required result? (Choose two.)
A. SELECT promo_category
FROM promotions
MINUS
SELECT promo_category
FROM promotions
WHERE promo_subcategory = 'discount'
B. SELECT promo_category
FROM promotions
INTERSECT
SELECT promo_category
FROM promotions
WHERE promo_subcategory = 'discount'
C. SELECT promo_category
FROM promotions
MINUS
SELECT promo_category
FROM promotions
WHERE promo_subcategory <> 'discount'
D. SELECT promo_category
FROM promotions
INTERSECT
SELECT promo_category
Oracle 1z0-051: Practice Exam
"Pass Any Exam. Any Time." - www.actualtests.com 2
ActualTests.com
FROM promotions
WHERE promo_subcategory <> 'discount'
Answer: A,D
QUESTION NO: 2
See the Exhibit:
Which two SQL statements would execute successfully? (Choose two.)
A. UPDATE promotions
SET promo_cost = promo_cost+100
WHERE TO_CHAR(promo_end_date,'yyyy'>'2000';
B. SELECT promo_begin_date
FROM promotions
WHERE TO_CHAR(promo_begin_date,'mon dd yy')='jul 01 98';
C. UPDATE promotions
SET promo_cost = promo_cost+100
WHERE promo_end_date > TO_DATE(SUBSTR('01-JAN-200',8));
D. SELECT TO_CHAR(promo_begin_date,'dd/month')
FROM promotions
WHERE promo_begin_date IN (TO_DATE('JUN 01 98',TO_DATE('JUL 01 98'));
Answer: A,B
QUESTION NO: 3
Which two statements are true about sequences created in a single instance database? (Choose
two.)
Oracle 1z0-051: Practice Exam
"Pass Any Exam. Any Time." - www.actualtests.com 3
ActualTests.com
A. The numbers generated by a sequence can be used only for one table
B. DELETE <sequencename> would remove a sequence from the database
C. CURRVAL is used to refer to the last sequence number that has been generated
D. When the MAXVALUE limit for a sequence for reached, you can increase the MAXVALUE limit
by using the ALTER SEQUENCE statement
E. When a database instance shuts down abnormally, the sequence numbers that have been
cached but not used would be available once again when the database instance is restarted
Answer: C,D
QUESTION NO: 4
The SQL statements executed in a user session as follows:
Which two statements describe the consequence of issuing the ROLLBACK TO SAVE POINT a
command in the session? (Choose two.)
A. The rollback generates an error
B. No SQL statements are rolled back
C. Only the DELETE statements are rolled back
D. Only the seconds DELETE statement is rolled back
E. Both the DELETE statements and the UPDATE statement are rolled back
Answer: A,B
QUESTION NO: 5
Which three statements/commands would cause a transaction to end? (Choose three.)
A. COMMIT
B. SELECT
C. CREATE
Oracle 1z0-051: Practice Exam
"Pass Any Exam. Any Time." - www.actualtests.com 4
ActualTests.com
D. ROLLBACK
E. SAVEPOINT
Answer: A,C,D
QUESTION NO: 6
Evaluate the following SQL statements:
Which is the correct output of the above query?
A. +25-00, +54-02, +00 11:12:10.123457
B. +00-300, +54-02,+00 11:12:10.123457
C. +25-00,+00-650,+00 11:12:10.123457
D. +00-300,+00-650,+00 11:12:10.123457
Answer: A
QUESTION NO: 7
Which three statements are true regarding subqueries? (Choose three.)
A. Subqueries can contain GROUP BY and ORDER BY clauses
B. Main query and subquery can get data from different tables
C. Main query and subquery must get data from the same tables
D. Subqueries can contain ORDER BY but not the GROUP BY clause
E. Only one column or expression can be compared between the main query and subqeury
F. Multiple columns or expressions can be compared between the main query and subquery
Answer: A,B,F
QUESTION NO: 8
See the Exhibit:
Oracle 1z0-051: Practice Exam
"Pass Any Exam. Any Time." - www.actualtests.com 5
剩余49页未读,继续阅读
资源评论
- 魔烨2013-12-05非常不错的资源呀
- intelcore22013-04-21完全可以用
砂锅刀削面
- 粉丝: 16
- 资源: 10
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功