大数据就业实战培训 Oracle就业实战培训
071考试题库之前是比较稳定的,但随着Oracle的调整,071考试不断的增加新的考题,增加了考试的难度,所以我们专门收集整理了这些考试,并对这些考题进行解析,希望可以对考生有帮助。
每周五晚8点,我们有免费的OCP解析公开课,地址:https://ke.qq.com/course/326223 OCP题库交流群:1015267481,验证ocp
-------------------------------------------------------
071考试-第53题、choose the best answer:
Examine the command to create the BOOKS table.
SQL>CREATE TABLE books
(book_id CHAR(6) PRIMARY KEY,
title VARCHAR2(100) NOT NULL,
publisher_id VARCHAR2(4),
author_id VARCHAR2(50));
The BOOK_ID value 101 does not exist in the table.
Examine the SQL statement:
SQL> INSERT INTO books(BOOK_ID, TITLE, AUTHOR_ID)
VALUES ('101', 'LEARNING SQL', 'Tim Jones');
Which statement is true?
A) It executes successfully only if the PUBLISHER_ID column name is added to the columns list and NULL is explicitly specified in the INSERT statement.
B) It executes successfully only if NULL is explicity specified in the INSERT statement.
C) It executes successfully only if the PUBLISHER_ID column name is added to the columns list in the INSERT statement.
D) It executes successfully and the row is inserted with a null PUBLISHER_ID.
Answer:D