Oracle Interview Question

Logical thinking question