posted 1 month ago
Hello all,
I am stumped at the moment about how to write a certain oracle select query.
The flow is that I get the values from one row in table a, and then use different column values in that one row to search for many rows in another table.
What I have done so far is to use joins but it doesn't work because the values I need from the 'another' table use the same column.
Doing it as so gives a 'ORA-00918 column ambiguously defined' error.
I was able to get it working by creating sub queries for the left joins.
Is there a better way?