解决了
===========
select * from table where date_format(concat(date,' ',time), %Y-%m-%d %H:%s:%i) >='2004-10-01 20:00:00'请教是否还有其他方法?
===========
select * from table where date_format(concat(date,' ',time), %Y-%m-%d %H:%s:%i) >='2004-10-01 20:00:00'请教是否还有其他方法?
再增加一个字段
date time mode
===============================
2004-10-01 | 19:10:30 | a
2004-10-01 | 20:13:21 | a
2004-10-01 | 22:39:56 | a
2004-10-02 | 01:02:12 | b
2004-10-02 | 03:18:06 | b如何一次查出时间大于 2004-10-01 20:00:00',mode分别为 a,b各两条的数据?group by 仅能各1条。谢谢