Oracle interview question

Logical thinking question