Oracle
1Z0-860 · Question #77
1Z0-860 Question #77: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-860 to reveal the answer and full explanation for question #77. The question stem and answer options stay visible for context.
Question
A developer wants to create a Java Persistence query that restricts the results of an age-based query. Specifically, the developer wants to select everyone who is NOT a teenager. (A teenager is someone who is 13,14,15,16,17,18, or 19 years old.) Which expression in the query's WHERE clause is correct?
Options
- AWHERE p.age NOTBETWEEN12 and 20
- BWHERE p.age NOTBETWEEN 13 and 20
- CWHERE p.age NOT BETWEEN12 and 19
- DWHERE p.age NOT BETWEEN 13 and 19
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.