Re: Many to many relationship data
Posted by: Peter Brawley
Date: October 04, 2007 12:51PM

If it could be automated, the bridge table would always contain a cross-join of the two tables---ie it would have a row for every possible combination of table1.id and table2.id. But if this were these case, you would not need the bridge table at all---you would only have to write an unconditional join ...

select t1.id,t2 id FROM table1 t1 JOIN table2 t2;

So I don't understand your question.

PB

Options: ReplyQuote


Subject
Written By
Posted
October 03, 2007 02:46PM
Re: Many to many relationship data
October 04, 2007 12:51PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.