BETWEEN - match a value against a range of values (inclusive)
SELECT payment
FROM table
WHERE amount >= 1 AND amount <= 10
is the same as
WHERE amount BETWEEN 1 AND 10 — use NOT BETWEEN to check if a value is outside of a range
We use cookies to understand our websites traffic and offer our website visitors personalized experience. To find out more, click ‘More Information’. In addition, please, read our
Privacy policy.