Hi
I'm having trouble creating a fast refreshing materialized view from:
select
case when adj_trading_date IS NOT NULL
then adj_trading_date
else eod.trading_date
end
from reconciliation_MUY.Emis_Outlet_Detail eod
LEFT OUTER JOIN reconciliation_MUY.emis_trading_date_adj adj on adj.outletindx = eod.outletindx;
Each time I try, I get: 'ORA-12015: cannot create a fast refresh materialized view from a complex query'.
The query itself seems quite simple - I'm not sure why it's deemed "complex"? How could I re-write it so that it isn't complex?
Thanks.