getting this message but don't understand :/
"ORA-01799: a column may not be outer-joined to a subquery"
simple version of query looks something like...
select id.name,
cov.begin_date,
cov.end_date,
cov.maint_date
from identifcation id
coverage cov,
where id.member_id = 'X'
and cov.subscriber_id = id.association_id
and cov.begin_date = (select Max(begin_date) from coverage)
Essentially, because a member can have multiple coverage rows I want the row with the most relevant begin date.
What am I doing wrong?
"ORA-01799: a column may not be outer-joined to a subquery"
simple version of query looks something like...
select id.name,
cov.begin_date,
cov.end_date,
cov.maint_date
from identifcation id
coverage cov,
where id.member_id = 'X'
and cov.subscriber_id = id.association_id
and cov.begin_date = (select Max(begin_date) from coverage)
Essentially, because a member can have multiple coverage rows I want the row with the most relevant begin date.
What am I doing wrong?