发布网友 发布时间:2022-04-13 04:41
共2个回答
热心网友 时间:2022-04-13 06:11
加max,去掉后面的order by 后面的热心网友 时间:2022-04-13 07:29
select max(sum(F_TotalDay))as SumTodayValue from t_web_reportbysale where (F_TotalType='营业收入') And (F_ComKey='30000548') group by F_ReportDayfrom order by F_ReportDayfrom desc limit 0,6