我尝试显示 1 个月度数据,但我想显示例如 01.06.2013 和 01.07.2013 之间?如何更改此查询以在两个日期之间显示?提前致谢
select b.ID ID, bt.type BULTEN_TYPE, b.ID TOPIC, b.Bul_Effect EFFECTT, b.Bul_Comment COMMENTS,
concat(date_format(b.Bul_date,'%d.%m.%Y'), ' ', b.Bul_hour, ':', b.Bul_min) as BEGIN,
concat(date_format(b.bitdate,'%d.%m.%Y'), ' ', b.bithour
, ':', b.bitmin) as FINISH from bulten b, bulten_type bt, statu s WHERE b.Bul_Type = bt.ID and
b.Status = s.ID and Bul_date >= date(now() - interval 1 month) order by ID desc;