Chinaunix首页 | 论坛 | 博客
  • 博客访问: 604401
  • 博文数量: 487
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 4916
  • 用 户 组: 普通用户
  • 注册时间: 2018-07-05 13:59
个人简介

ocp考试资料群:569933648 验证码:ocp OCP 12c 19c考试题库解析与资料群:钉钉群号:35277291

文章分类

全部博文(487)

文章存档

2023年(37)

2021年(151)

2020年(37)

2019年(222)

2018年(38)

我的朋友

分类: Oracle

2019-02-22 09:54:06

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


)
阅读(780) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~