I have a simplified problem such as...
select a.year
, ( select b.column
from table b
, ( select c.year
from table c
where c.year = b.year <= ORA-00904 "B"."YEAR": invalid identifier
)
where b.year = a.year
)
from table a
group by a.year
My question is why am I getting the error? Is there a way around it?