Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我读过 MySQL 在日期类型方面存在一些问题。我想得到一个考虑小时的日期间隔。我的问题是我可以做一个between查询,或者也可以写一个小时的专栏吗?
between
PS:
select * from main where main.date between 01-06-11 07:59 and 01-06-11 15:59