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

Code Example 1

SELECT column_name(s)

FROM table_name

WHERE column_name BETWEEN value1 AND value2;

Code Example 2

select * from hockey_stats 
where game_date between '2012-03-11 00:00:00' and '2012-05-11 23:59:00' 
order by game_date desc;

Learn ReactJs, React Native from akashmittal.com