Oracle Database Administration I — Question 89

Which two queries execute successfully? (Choose two.)

Answer options

Correct answer: D, E

Explanation

Option D executes successfully because COALESCE can handle NULL values and will return the first non-null value, which is 100. Option E also executes successfully because NULLIF returns NULL if the two arguments are equal, and since both are 100, it returns NULL. Options A, B, and C will fail due to incompatible data types or logic.