SQL (Structured Query Language) Question:

What does the following query do?

SQL Interview Question
SQL Interview Question

Answer:

SELECT SAL + NVL(COMM,0) FROM EMP;?
This displays the total salary of all employees. The null values in the commission column will be replaced by 0 and added to salary.


Previous QuestionNext Question
State true or false. EXISTS, SOME, ANY are operators in SQL?Which command executes the contents of a specified file?