ex1:
SELECT * FROM `objects`
WHERE (date_field BETWEEN '2010-01-3014:15:55' AND '2010-09-2910:15:55')
ex2:
WHERErequireddate BETWEEN
CAST('2003-01-01' AS DATE) AND
CAST('2003-01-31' AS DATE);
select * fromuserswhere signup_date between'2020-05-01'and'2020-12-10 23:59:59';
// Important with the times,
// otherwize you will notgetallrecordsfromend date.
// Eventif you only have dateandno times in signup_date column