Oracle 8i
CR XI R2
Hi everyone,
I have read that adding a select statement that correlates to a field in the main SELECT statement is possible. I tried doing so and was told I had an Invalid Column. "BKB437_REV_CD_COV" is the external table in question. Any ideas?
(SELECT
c.Rank
FROM bkb.uwvw_cpt300_rowid c
WHERE
c.med_ctrl_dimsn_key = BKB437_REV_CD_COV.MED_CTRL_DIMSN_KEY
and c.cpt_svc_dimsn_key = BKB437_REV_CD_COV.CPT_SVC_DIMSN_KEY
and c.rank = 1
)
CR XI R2
Hi everyone,
I have read that adding a select statement that correlates to a field in the main SELECT statement is possible. I tried doing so and was told I had an Invalid Column. "BKB437_REV_CD_COV" is the external table in question. Any ideas?
(SELECT
c.Rank
FROM bkb.uwvw_cpt300_rowid c
WHERE
c.med_ctrl_dimsn_key = BKB437_REV_CD_COV.MED_CTRL_DIMSN_KEY
and c.cpt_svc_dimsn_key = BKB437_REV_CD_COV.CPT_SVC_DIMSN_KEY
and c.rank = 1
)