nerdexam
Oracle

1Z0-082 · Question #137

Which two queries execute successfully?

The correct answer is E. SELECT COALESCE(100, NULL, 200) FROM DUAL. See the full explanation below for the reasoning.

SQL and PL/SQL

Question

Which two queries execute successfully?

Options

  • ASELECT NULLIF(NULL, 100) FROM DUAL;
  • BSELECT COALESCE (100, 'AM FROM DUAL;
  • CSELECT 2TOLLIF(100, 'A') FROM DUAL;
  • DSELECT NULLIF(100,100) FROM DUAL;
  • ESELECT COALESCE(100, NULL, 200) FROM DUAL;

How the community answered

(37 responses)
  • A
    3% (1)
  • B
    8% (3)
  • C
    11% (4)
  • D
    3% (1)
  • E
    76% (28)

Topics

#NULLIF#COALESCE#NULL handling functions#single-row functions

Community Discussion

No community discussion yet for this question.

Full 1Z0-082 Practice