OCP11g+12c考试资料群:1015267481 验证码:ocp

【Oracle 12c】CUUG OCP认证071考试原题解析(29)

29.choose the best answer

Evaluate the following query:

SQL> SELECT promo_name || q'{'s start date was \}' || promo_begin_date

AS "Promotion Launches"

FROM promotions;

What would be the outcome of the above query?

A) It produces an error because the data types are not matching.

B) It executes successfully and displays the literal "{'s start date was \} " for each row in the output.

C) It executes successfully and introduces an 's at the end of each promo_name in the output.

D) It produces an error because flower braces have been used.

Answer:B

(执行结果如下:

Promotion Launches

---------------------------------------------------------------

NO PROMOTION #'s start date was \01-1 月 -99

newspaper promotion #16-108's start date was \23-12 月-00

)

posted @ 2019-02-22 09:56  cnblogs_5359  阅读(274)  评论(0编辑  收藏  举报