Table Marks(score) has rows 40, 50, 60, 70 and 80. SELECT COUNT(*) FROM Marks WHERE score BETWEEN 50 AND 70; What is returned?
Correct answer B. 3
Explanation
BETWEEN is inclusive at both ends: score BETWEEN 50 AND 70 means score >= 50 AND score and <.
Answer checked How we write and check questions
Discussion