【2019年8月版本】OCP 071認證考試最新版本的考試原題-第5題

choose the best answeride

The CUSTOMERS table has a CUST_LAST_NAME column of data type VARCHAR2.測試

The table has two rows whose COST_LAST_MANE values are Anderson and Ausson.it

Which query produces output for CUST_LAST_SAME containing Order for the first row and Aus for the second?table

A) SELECT REPLACE (REPLACE(cust_last_name,'son',''),'An','O') FROM customers;ast

B) SELECT REPLACE (TRIM(TRALING 'son' FROM cust_last_name), 'An','O') FROM customers;class

C) SELECT INITCAP (REPLACE(TRIM('son' FROM cust_last_name),'An','O')) FROM customers;sso

D) SELECT REPLACE (SUBSTR(cust_last_name,-3), 'An', 'O') FROM customers;tab

Answer:Adi

(解析:通過測試,A 答案可以打印正確的結果。)view

相關文章
相關標籤/搜索