select * from leve a where a.add_date >= '2012-10-01' and a.add_date < '2012-11-01';在postgresql中测试通过。时间是按范围查询,不是模糊。