Oracle interview question

Puzzles, Java, and SQL were mostly asked.