ocp认证题库_ccf认证考试报名

ocp认证题库_ccf认证考试报名Choose two Examine the data in the CUST NAME column of the CUSTOMERS table: CUST_NAME ————-…

Choose two

Examine the data in the CUST NAME column of the CUSTOMERS table:

CUST_NAME

——————————

Renske Ladwig

Jason Mallin

Samuel McCain

Allan MCEwen

Irene Mikkilineni

Julia Nayer

You want to display the CUST_NAME values where the last name starts with Mc or MC.

Which two WHERE clauses give the required result?

A) WHERE INITCAP (SUBSTR(cust_name, INSTR(cust_name,” “) +1 ) ) IN (“MC%”, “Mc%)

B) WHERE UPPER (SUBSTR(cust_nane, INSTR(cust_name, ” “) +1 ) ) LIKE UPPER(“MC%”)

C) WHERE INITCAP(SUBSTR(cust_nane, INSTR(cust_name,” “) +1 ) ) LIKE “Mc%”

D) WHERE SUBSTR(cust_name,INSTR(cust_name,” “) +1 ) LIKE “Mc%” OR “MC%”

E) WHERE SUBSTR(cust_name, INSTR(cust_name,” “) +1 ) LIKE “Mc%”

Anser:BC

(解析:原来第 66 题,此题的变化是多了 Answer:B。注意 instr 和 substr 的用法,没有实验还是很难理解的。

Answer:C

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
转载请注明出处: https://daima100.com/10904.html

(0)
上一篇 2022-12-19
下一篇 2022-12-19

相关推荐

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注