In the following SQL statement, which one is a literal
SELECT 'Employee Name: '|| ename from emp where deptno=10;
A. 10
B. ename
C. Employee Name:
D. ||
Character literal is always quoted by single quotes.
Double quotes are used for column alias name, table name etc to keep the case format. Also if you want to use Oracle reserve words for naming (not recommended), you have to quote with double quotes.
Bookmarks