?
Solved

many to many relationship

Posted on 2015-02-06
2
Medium Priority
?
133 Views
Last Modified: 2015-02-09
Hi,
I have three table designed like following:
tab1 <= many-to-may => tab2
tab2 <= many-to-may => tab3.

I know if I have many-to-many relationship between two table, I need a cross (association) table between them.
but, can I have one cross table between the above described three tables?

thanks.
0
Comment
Question by:CCVOIP
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 29

Expert Comment

by:MikeOM_DBA
ID: 40594662
You need two cross-reference tables.
0
 
LVL 11

Accepted Solution

by:
HuaMinChen earned 1500 total points
ID: 40594907
It will make a mess if you only use one cross table. It can be possible but there would be extra work to check/confirm if the record is for which relationship.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question