Multiple choice technology web technology

What is the Result of the Following two Queries SELECT CEIL(-123.50) FROM DUAL; SELECT CEIL(123.50) FROM DUAL;

  1. 123,124

  2. -123.-124

  3. 123,-124

  4. -123, 124

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

CEIL(-123.50) = -123 (ceiling rounds toward positive infinity, so -123.50 rounds up to -123). CEIL(123.50) = 124 (ceiling rounds up from 123.50 to 124). The correct result is -123, 124.