sql="select sum(日利润) from tablename where month(日期)="&month(date())&""
select sum(profit) from t where datefield between #开始日期# and #结束日期#