Update dp2 a set a.amt= (select((b.qty*b.rate)-b.discount) from dp2 b where a.dpinheadid=b.dpinheadid)
ORA-01427: single-row subquery returns more than one row
#For.Ex: TABLES DP2 A,DP2 B
(b.qty*b.rate)-b.discount) THIS VALUE Update TO This column A.AMT
在版本之前和之后添加一些示例表数据。 (以及格式化的文本,请使用'{}'。) – jarlh