1.

The SQL statement SELECT SUBSTR(‘123456789’, INSTR(‘abcabcabc’,’b’), 4) FROM EMP; prints(a) 6789(b) 2345(c) 1234(d) 456789This question was posed to me in an interview.My doubt stems from A Simple Transaction Model in division Transactions of Database Management

Answer»

Correct choice is (b) 2345

The EXPLANATION is: SUBSTR are USED to match the particular characters in a string.



Discussion

No Comment Found

Related InterviewSolutions