Oracle interview question

Core java,puzzles,sql queries/