我有如下記載: 而且我想返回結果是這樣的: 我有這個加入許多表後導致結果。所以仍然沒有想法達到這個要求。 注:我已經與組試過,但沒有奏效。 查詢: SELECT
P.CODE AS "projectNumber",
P.NAME AS "projectName",
P.START_DATE AS "startDate",
P.END_DATE AS "endDate",
TRIM (VP
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.