【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

)

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章