Interview Questions

How do you retrieve the first 5 characters of FIRSTNAME column of EMP table?

COBOL SQL Interview Questions


(Continued from previous question...)

How do you retrieve the first 5 characters of FIRSTNAME column of EMP table?

SELECT SUBSTR(FIRSTNAME, 1, 5) FROM EMP;

(Continued on next question...)

Other Interview Questions