大數據就業實戰培訓 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