Many-to-many relations?
Posted: Sat 13 Feb 2010 13:43
Hi,
I'm using Dbforge Studio for MySQL (Express edition).
In a "Database Diagram", how do I define a many-to-many relation?
In my Diagram, I defined 2 tables: "Customer" and "Supplier".
Now I want a many-to-many relation between them (through some junction table, say we call it "CustSupplier", which contains only the required foreign keys).
Would anyone be kind enough to tell me what to do, exactly?
I tried "New Relation", but it seems to assume I want "one-to-many"....
Thanks very much
I'm using Dbforge Studio for MySQL (Express edition).
In a "Database Diagram", how do I define a many-to-many relation?
In my Diagram, I defined 2 tables: "Customer" and "Supplier".
Now I want a many-to-many relation between them (through some junction table, say we call it "CustSupplier", which contains only the required foreign keys).
Would anyone be kind enough to tell me what to do, exactly?
I tried "New Relation", but it seems to assume I want "one-to-many"....
Thanks very much
