select * from [table] where [time_field]>(time1) and [time_field]<(time2)*****
[table] 表名
[time_field] 时间字段名
(time1)(time2) 如果引用TEXT,须用#包含 #TEXT#