Multiple choice technology databases

The o/p of the below query.. select 1/0 from dual ;

  1. Error: Syntax error

  2. INFINITY

  3. NULL

  4. 0

  5. Error: divisor is equal to zero

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

Attempting to divide by zero in Oracle SQL raises a runtime exception with the message 'ORA-01476: divisor is equal to zero' rather than returning NULL or Infinity.