questions - Question:Which of the following SELECT statements will get the result 'elloworld' from the string 'HelloWorld'?

a.        SELECT SUBSTR ('HelloWorld',1) FROM dual;
b.        SELECT INITCAP(TRIM('HellowWorld', 1,1) FROM dual;
c.        SELECT LOWER (SUBSTR ('HellowWorld', 2,1) FROM dual;
d.        SELECT LOWER (SUBSTR('HellowWorld', 2,1) FROM dual;
e.        SELECT LOWER (TRIM ('H' FROM 'Hello World')) FROM dual;

asked Sep 13, 2013 in MYSQL by anonymous
edited Sep 12, 2013
0 votes

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.