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.
好的,所以我在那里发现的一切似乎都在两个不同的日期之间。那不是我想要做的。我正在寻找一种基于两个或多个不同日期选择行的解决方案。
例如:
SELECT * FROM users WHERE DATE(date) IN ('2012-11-30','2012-11-01')
只是试图提取这两个日期的信息。非常感谢您的帮助!
SELECT * FROM `users` WHERE DATE(`date`) = "2012-11-30" OR DATE(`date`) = "2012-11-01";