1. SELECT
    2. *
    3. FROM
    4. `table1`
    5. WHERE
    6. `field1`
    7. BETWEEN
    8. STR_TO_DATE('2020-07-01', '%Y-%m-%d %H')
    9. AND
    10. STR_TO_DATE('2020-10-27', '%Y-%m-%d %H')