sum_agg()函数-组内求和;检查数据表的oper_date列,是否存在空或其它内容;
-- 可以把sql做个分组求和,在对比数据值;
_________
聚合函数-https://help.fanruan.com/finebi/doc-view-4.html
select oper_date,sum(pos_amt) as t
from tabname
where oper_date is not null and oper_date !=''
group by oper_date
————————
———— 勾选【查看所有数据】;
