Check out example codes for "sql between". It will help you in understanding the concepts better.

Code Example 1

/*the BETWEEN operator is used to filter the result set within 
a certain range. the values can be numbers, texts or dates */
SELECT column_name(s)
FROM table_name
WHERE column_name BETWEEN value1 AND value2;

Code Example 2

SELECT column_name(s)
FROM table_name
WHERE column_name BETWEEN value1 AND value2;

Code Example 3

SELECT column_name(s)
FROM table_name
WHERE column_name BETWEEN value1 AND value2;

Learn ReactJs, React Native from akashmittal.com