Facing an strange error, needed urgently. [message #310513] |
Tue, 01 April 2008 08:15  |
mohitmohan
Messages: 3 Registered: April 2008 Location: INDIA
|
Junior Member |
|
|
Hi All,
Out of the below mentioned query, I facing a weird error.
select a.PME_ID, b.ISIN, c.TICKER, d.ISSUE_TYPE, d.PRIMARY_GLOBAL_EXCHANGE_CODE, e.ISSUE_NAME, e.ISSUE_DESCRIPTION
from (select issue_oid, identifier_value as "PME_ID" from renew_t_issue_identifiers where identifier_type = 'PMEID') a,
(select issue_oid, identifier_value as "ISIN" from renew_t_issue_identifiers where identifier_type = 'ISIN') b,
(select issue_oid, identifier_value "TICKER" from renew_t_issue_identifiers where identifier_type = 'TICKER') c,
renew_t_issues d,
renew_t_issue_descriptions e,
(select T_EQTY_EXCH_GRP.PME_ID "pme_id" , max(T_EQTY_EXCH_GRP.DP_SEQ_NO) as "maxdp" from T_EQTY_EXCH_GRP GROUP BY T_EQTY_EXCH_GRP.PME_ID) f,
T_EQTY_EXCH_GRP g
WHERE a.issue_oid = b.issue_oid and
a.issue_oid = c.issue_oid and
a.issue_oid = d.issue_oid and
a.issue_oid = e.issue_oid and
a.PME_ID = f.pme_id and
f.pme_id = g.pme_id and
f.maxdp = g.DP_SEQ_NO
The error that I am is as below at above highlighted clause.
"ORA-00904: "F"."MAXDP": invalid identifier" as shown below

Please help me, I couldn't understand where m I mistaken.
|
|
|
|
|
|
|