sql select t.c_port_code c_port_code, sum(abs(t.N_jzbdl)) / nvl( ( select count(1) from T_M_T_FUNDNAV t join ( select p.c_port_code, case when r.c_rel