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.
这个查询有什么问题?我按照这里BETWEEN找到的语法。
BETWEEN
SELECT * from immunochemistry WHERE release_date BETWEEN '01-01-2015' AND '12-31-2015';
为什么我的数据库中仍然有 2013 和 2020?
您的日期需要采用'2015-01-01'MySQL 的格式。根据文档。
'2015-01-01'