OCP 12c最新考试题库及答案(071-2)

2、(4-7) choose the best answer:
You need to display the first names of all customers from the CUSTOMERS table that contain the
character ‘e‘ and have the character ‘a‘ in the second last position.
Which query would give the required output?
A) SELECT cust_first_name
FROM customers
WHERE INSTR(cust_first_name, ‘e‘)<>‘‘ AND
SUBSTR(cust_first_name, -2, 1)=‘a‘;
B) SELECT cust_first_name
FROM customers
WHERE INSTR(cust_first_name, ‘e‘)<>0 AND
SUBSTR(cust_first_name, -2, 1)=‘a‘;
C) SELECT cust_first_name
FROM customers
WHERE INSTR(cust_first_name, ‘e‘)<>0 AND
SUBSTR(cust_first_name, LENGTH(cust_first_name),-2)=‘a‘;
D) SELECT cust_first_name
FROM customers
WHERE INSTR(cust_first_name, ‘e‘)IS NOT NULL AND
SUBSTR(cust_first_name, 1,-2)=‘a‘;
Answer:B

原文地址:http://blog.51cto.com/13854012/2349482

时间: 2024-08-11 20:47:24

OCP 12c最新考试题库及答案(071-2)的相关文章

Oracle ocp 12c-071最新考试题库及答案-1

choose the best answer: View the Exhibit and examine the structure of the CUSTOMERS table. CUSTOMER_VU is a view based on CUSTOMERS_BR1 table which has the same structure as CUSTOMERS table. CUSTOMERS needs to be updated to reflect the latest informa

(2019)OCP 12c 062考试题库出现大量新题-4

4.Which four are true about creating and running a remote database scheduler jobs? A) A credential is optional for a remote database job. B) A database destination group must exist or be created for a job to run on multiple remote databases. C) A des

2018 OCP 052最新题库及答案整理-35

35.Your database is using Automatic Memory Management. Which two SGA components must be managed manually? A) default buffer cache B) redo log buffer C) large pool D) shared pool E) keep buffer pool Answer:BE 原文地址:http://blog.51cto.com/13854012/215616

2018版OCP 11g 052最新考试题库整理(带答案)(8)

8.Which two are true about the Fast Recovery Area (FRA)? A) It should be larger than the database. B) Space management In the FRA Is Influenced by the database backup retention policy. C) A database must be in ARCHIVELOG mode to use the FRA. D) It mu

2018版OCP 11g 052最新考试题库整理(带答案)(9)

9.Which is true about the Automatic Diagnostic Repository (ADR)? A) It includes diagnostic data for critical errors for each server and background process. B) Its location is always set by the ORACLE_BASE variable. C) It is used only if the DIAGNOSTI

2018版OCP 11g 052最新考试题库整理(带答案)(11)

11.Which three are true about UNDO data? A) It is used to roll back failed transactions. B) It is used to rewind a database by using FLASHBACK DATABASE. C) It is used to recover dropped tables by using FLASHBACK TABLE - TO BEFORE DROP. D) It is used

2018版OCP 11g 052最新考试题库整理(带答案)(10)

10.Which two are true about consistent database backups? A) They can only be taken when a RECOVERY CATALOG is used. B) They can only be taken if the database Is in ARCHIVELOG mode. C) They can only be taken If shutdown NORMAL,TRANSACTIONAL, or IMMEDI

2018版OCP 11g 052最新考试题库整理(带答案)(12)

12.Which two types of Information can be found in the alert log? A) instance recovery details B) a record of all DDL statements performed by non-DBA users C) a record of all actions performed by SYS and SYSTEM D) critical errors encountered by backgr

2018版OCP 11g 052最新考试题库整理(带答案)(13)

13.Which two are true about AWR snapshots? A) They are stored In the SYSAUX tablespace. B) They are not generated if STATISTICS_LEVEL Is set to TYPICAL. C) They can be modified by using DMLs. D) They can be retained forever. E) They are always create