此查询的注释 (/* */) 部分执行,但整个查询在 /////// 部分出现问题。请帮助解决此问题。
SELECT *
FROM (
/* (SELECT U1.EMAIL, S1.GRNNUM
FROM RDT_USER U1,
(SELECT O.ID, GRNNUM
FROM RDT_ORGANIZATION O,
(SELECT GRNNUM, RECEPIENTCODE, ORGINATORCODE
FROM RDT_GOODSRECEIPTNOTE M
WHERE M.ACTIONSTATUS = 0
AND M.LATEST = 1
AND (SYSDATE - M.GENDATE) >= 0) S
WHERE O.FUCODE = S.ORGINATORCODE) S1
WHERE U1.ORGID = S1.ID)*/ A///////here am getting right paranthesis missing,
(SELECT U.EMAIL, T1.GRNNUM
FROM RDT_USER U,
(SELECT O.ID, GRNNUM
FROM RDT_ORGANIZATION O,
(SELECT GRNNUM, RECEPIENTCODE, ORGINATORCODE
FROM RDT_GOODSRECEIPTNOTE M
WHERE M.ACTIONSTATUS = 0
AND M.LATEST = 1
AND (SYSDATE - M.GENDATE) >= 0) T
WHERE O.FUCODE = T.ORGINATORCODE) T1
WHERE U.ORGID = T1.ID) B)
WHERE A.GRNNUM = B.GRNNUM