select *
from testTable
where
2018-01-24 00:00:00
부터
2018-01-25 06:00:00
까지 검색하고 싶다면 어떤 쿼리문을 작성해야할까요 ?
날짜만은 Date 함수를 통해 했는데 이건 어떻게해야할까요
SELECT * FROM testTable WHERE 날짜 BETWEEN '2018-01-24 00:00:00' AND '2018-01-25 06:00:00' ;