If commission is null then the text “Not Applicable” must be displayed, instead of blank space. How do I write the query?

  1. select nvl(to_char(comm),'NA') from emp;

  2. select nvl(comm,'NA') from emp;

  3. select nvl(comm,NA) from emp;

  4. None of the above


Correct Option: A

Find more quizzes: