我想查询某用户输入初始时间结束时间后查询出操作时间内所有的文档操作类型,应该怎么查,表如下图,表名record
select doc_type from record where doc_record_ctime bettwen 开始时间 and 结束时间; select doc_type from record where doc_record_ctime >= 开始时间 and doc_record_ctime <= 结束时间;