What would be the outcome?

In the CUSTOMERS table, the CUST_CITY column contains the value ‘Paris’ for the
CUST_FIRST_NAME ‘ABIGAIL’. Evaluate the following query: What would be the outcome?

In the CUSTOMERS table, the CUST_CITY column contains the value ‘Paris’ for the
CUST_FIRST_NAME ‘ABIGAIL’. Evaluate the following query: What would be the outcome?

A.
Abigail PA

B.
Abigail Pa

C.
Abigail IS

D.
an error message



Leave a Reply 5

Your email address will not be published. Required fields are marked *


Trinux

Trinux

Why not A???

Balthazar

Balthazar

Because the starting index is negative means start from the end of the string

Noble

Noble

Isn’t a correct option? It should be? Plzz help

Chun

Chun

Just cause INITCAP

Stefano

Stefano

B is correct !

SELECT INITCAP(‘Abigail’||’ ‘||UPPER(SUBSTR(‘Paris’,-LENGTH(‘Paris’),2)))FROM DUAL;

Abigail Pa