Oracle
1Z0-860 · Question #108
1Z0-860 Question #108: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-860 to reveal the answer and full explanation for question #108. The question stem and answer options stay visible for context.
Question
A developer is working with an entity User, which has an identity field and a salary field. Which Java Persistence query will return those users with the highest salaries?
Options
- ASELECT u FROM User u WHERE u.salary >= ALL (SELECT d.salary FROM User d)
- BSELECT u FROM User u WHERE u.salary >= ANY (SELECT d.salary FROM User d)
- CSELECT u FROM User u WHERE ALL(u.salary >= (SELECT d.salary FROM User d))
- DSELECT u FROM User u WHERE u.salary >= (SELECT ALL(d.salary) FROM User d)
Unlock 1Z0-860 to see the answer
You've previewed enough free 1Z0-860 questions. Unlock 1Z0-860 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.