I'm a novice to Oracle DB, and I'm getting an error that I can't quite understand.
I have two tables, table1 and table2, with the ID primary key field in table1 being a foreign key in table2.
Here's a query that works fine:
select c.* from table1 c
inner join table2 c2 on c.ID = c2.RID
the problem is I'm trying to write a query that's more complex, and as soon as I add more tables to my query, i get this error ORA-00904: C"."ID": invalid identifier
, which I get when I run the following:
select c.* from table1 c, table3 a, table4 b
inner join table2 c2 on c.ID = c2.RID
I've looked at this thread for help but it didn't really help my case (unless I missed something, but I doubt it)