我在" sum上创建了一个功能索引(coalesce(INDICATED_REVENUE,0) - coalesce(ACTUAL_REVENUE,0))"在查询下面查询,但仍然很慢,我还能尝试什么?
统计数据是最新的
select
sum(coalesce(INDICATED_REVENUE,0) - coalesce(ACTUAL_REVENUE,0))
from TAB1 t
where t.tid = '925914455'
and t. PM = '7'
and t.Token is not null