OCP认证是Oracle非常重要的一个认证,对于11g版本来说,考试科目为071、052、053,对于12c版本来说,考试科目为071、062、063,可见071是个很重要的考试,这里我们收集了近期071考试的原题,分享给大家。
--------------------------------------------
071考题整理-第64题、choose the best answer:
View the Exhibit and examine the structure of the ORDERS and ORDER_ITEMS tables.
Evaluate the following SQL statement:
SELECT oi.order_id, product_id, order_date
FROM order_items oi JOIN orders o
USING(order_id);
Which statement is true regarding the execution of this SQL statement?
A) The statement would not execute because the table alias prefix is not used in the USING clause.
B) The statement would not execute because the column part of the USING clause cannot have a qualifier in the SELECT list.
C) The statement would not execute because table aliases are not allowed in the JOIN clause.
D) The statement would not execute because all the columns in the SELECT clause are not prefixed with table aliases.
Anser:B
(解析:该题考的是语法,因为 USING 子句的列部分在 SELECT 列表中不能具有限定符,所以该语句不会执行,把前缀 oi 去掉就可以了,但是其它的列可以用表的别名做为前缀:
SELECT order_id, oi.product_id, order_date
FROM order_items oi JOIN orders o
USING(order_id);
)该题之前有过类似的考题。
-----------------------------------------------
OCP解析公开课时间:【每周五晚8点】
OCP解析公开课地址:https://ke.qq.com/course/326223
OCP解析群资料分享:1015267481 验证:ocp
另外,除了OCP公开课,OCM题库直播也同步进行中,OCM最新题库大爆料-【每周四晚8点】,【微信群直播】,可以联系咨询老师进群参与