:21+04:00', '%Y-%m') between DATE_FORMAT(dt_begin, '%Y-%m') and DATE_FORMAT(`dt_end`, '%Y-%m')SELECT attach_offices.user_id as user_id, users.name') between to_date(to_char(dt_
因此,我正在开发一个应用程序,在这个应用程序中,我需要一个索引照片和文档的搜索工具--但有时我不知道文档起源的确切月份或日期,所以到目前为止,我一直将日期存储在我的MySQL表中,作为允许可选值的daterepresent 'this document came from the year 2015, but at some unknown point'
现在,这实际上运行得很好,MySQL仍然会以适当的方式对日期进行排序和排序试图