ORA-01427: single-row subquery returns more than one row
Hi all,
update invmast im set netcost=(select sum(nvl(st.tot_cost,0))
FROM INVMAST im, Saletran st
Where im.sale_id = st.sale_id
and im.location = '01'
and st.type='INP' group by st.sale_id,im.location,st.type)
after executing update query
ORA-01427: single-row subquery returns more than one row