我在表中有两列
现在我想写一个查询,该查询应返回在Future或Past中有时间和日期的行
我写了这样的东西
select * from events e where concat(e.event_date,' ',e.event_time) <= date_format(now(),'%m/%d/%Y %g:%i %a')
但它并没有起作用,它只是其中一个你永远不知道它们有什么问题的东西
提前致谢 !
mysql sql
mysql ×1
sql ×1