Skip to content
CodeKruPro

Does BETWEEN include both ends?

QuizEasy

The salaries from 64,000 to 82,000 in employees are 64,000 (two people), 70,000 and 82,000. No one else earns a salary in that range. How many rows does this query return?

SELECT name FROM employees WHERE salary BETWEEN 64000 AND 82000;
  • 4
  • 1
  • 3
  • It depends on the database

This question is part of Pro+

Pro+ opens every question in Interview Prep and the mock interview. Every article and the first 2 questions of each topic stay free. Hands-on Selenium and API tasks follow their course lesson's own lock.

See Pro+

Already have Pro+? Sign in