SQL 日期范畴查询 Home » IDC云服务 » SQL 日期范畴查询 SQL 日期范围查询 如何对DateTime 数据进行粗略的查询 比如 查询所有2012-07 的数据 where 语句如何写? date_format(f1,’%Y-%m’)=’2012-07′