← Quiz: Filtering and Sorting: all 10 questions
Quiz: Filtering and Sorting · Question 3 of 10
salary BETWEEN 40000 AND 60000 includes a salary of 60000?
salary BETWEEN 40000 AND 60000 includes a salary of 60000?
- A.Yes — BETWEEN includes both ends
- B.No — the upper end is excluded
- C.Only in MySQL
- D.Only if salary is DECIMAL
Answer & explanation
Correct answer: Yes — BETWEEN includes both ends
BETWEEN is inclusive on both sides.
Can you get the rest right without peeking?
Take the timed Quiz: Filtering and Sorting quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →