您的位置:首页 > 数据库 > Oracle

【OCP-12c】CUUG最新考试原题整理及答案(071-11)

2019-02-15 13:22 916 查看

11、(5-8) choose the best answer:

Examine the structure of the BOOKS_TRANSACTIONS table.

You want to update this table such that BOOK_ID is set to 'INVALID' for all rows where no MEMBER_ID

has been entered.

Examine this partial SQL statement:

SQL> UPDATE books_transactions

SET book_id = 'INVALID'

WHERE...............

Which condition must be used in the WHERE clause to perform the required update?

A) MEMBER_ID = "";

B) MEMBER_ID IS NULL;

C) MEMBER_ID = NULL;

D) MEMBER_ID = '';

Answer:B

(解析:该题的题眼在“where no MEMBER_ID has been entered”)

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  cuug oracle ocp