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?
A.
WHEREp.age NOTBETWEEN12and20
B.
WHERE p.age NOTBETWEEN 13and20
C.
WHERE p.age NOT BETWEEN12and 19
D.
WHERE p.age NOT BETWEEN 13 and 19