Valid 1z0-071 Dumps shared by EduDump.com for Helping Passing 1z0-071 Exam! EduDump.com now offer the newest 1z0-071 exam dumps, the EduDump.com 1z0-071 exam questions have been updated and answers have been corrected get the newest EduDump.com 1z0-071 dumps with Test Engine here:
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. Which query produces output for CUST_LAST_SAME containing Oder for the first row and Aus for the second?
Correct Answer: A
The REPLACE function in Oracle SQL is used to replace occurrences of a specified substring with another substring. In this query, the inner REPLACE function call REPLACE(cust_last_name, 'son', '') removes the substring 'son' from cust_last_name. The outer REPLACE function call then replaces the substring 'An' with 'O'. For the given data, 'Anderson' would first be transformed to 'Ander' by the inner REPLACE, and then 'Ander' would be transformed to 'Oder' by the outer REPLACE. Similarly, 'Ausson' would first change to 'Aus' by the inner REPLACE, which is unaffected by the outer REPLACE. Reference can be found in the Oracle Database SQL Language Reference documentation, which details the functionality of string functions, including REPLACE.