SELECT in_ev.type, pl.name, in_ev.year
FROM places pl INNER JOIN (SELECT e.type, e.place_id, e.year
FROM events e)in_ev ON in_ev.place_id=pl.place_id
WHERE EXISTS (SELECT 1 FROM in_ev sub_ev WHERE sub_ev.year=1994)
I'm trying to understand how inline views are processed and why we cannot use them as a "source table" in where clause subqueries. When I try to run this query I get ORA-00942: table or view does not exist
Above snippet is only for illustration reasons.
What is the exact difference in storage and processing between ordinary tables and inline views?