Oracle18c EGDB
I have a feature class called EVENTS (fields: EVENT_ID, EVENT_YEAR) and a related table called FUNDING (fields: EVENT_ID, FUNDING_YEAR).
I want to filter (display in the attribute table) events where there are related funding rows from other years. For example:
I want the filter to be dynamic. And I want the event rows to be editable. I don't need to display any fields from the related table.
What are my options?
event_id in (
select
e.event_id
from
events e
left join
funding f
on e.event_id = f.event_id
where
e.event_year <> f.fund_year
and e.event_status in ('F','P','A','C')
group by
e.event_id
) I can edit the events in the attribute table. No joins required.
Are there any other options or anything I've overlooked?
Thanks.