🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.Yes — BETWEEN includes both ends
  2. B.No — the upper end is excluded
  3. C.Only in MySQL
  4. 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 →