|
|
Many to many relationship and association table
When we have a many to many relationship between 2 tables, why do we create
a 3rd table between known as association table ? Don't seem to understand.
Please assist.
Thanks
|
|
0
|
|
|
|
Reply
|
Raj
|
8/5/2010 3:53:41 AM |
|
On Wed, 4 Aug 2010 20:53:41 -0700, "Raj" <raj@hotmail.com> wrote:
>When we have a many to many relationship between 2 tables, why do we create
>a 3rd table between known as association table ? Don't seem to understand.
>Please assist.
To establish what links to what.
Were it 1-to-many, each row in the many table can have an FK into
the 1 table. How can you do it with many-to-many? Where would you
put the values? With the association table, every valid combination
has a row in the association table with FKs into the two many tables.
Sincerely,
Gene Wirchenko
|
|
0
|
|
|
|
Reply
|
Gene
|
8/5/2010 4:35:56 AM
|
|
>> When we have a many to many relationship between 2 tables, why do we create a 3rd table between known as association table? <<
The third table is a relationship and not an "association table"; I
have no idea where you got that term.
How else would you do it? Think about it.
A table models either a set of entities or a relationship or an
auxiliary set of data. I have several examples of how to use UNIQUE
constraints set the degree and membership of a relation. If you don't
know those terms, you need to read a book on basic data modeling.
|
|
0
|
|
|
|
Reply
|
CELKO
|
8/6/2010 2:55:01 AM
|
|
|
2 Replies
1131 Views
(page loaded in 0.056 seconds)
Similiar Articles: Many to many relationship and association table - microsoft.public ...When we have a many to many relationship between 2 tables, why do we create a 3rd table between known as association table ? Don't seem to understan... Relationships - microsoft.public.accessA so-called 'junction' table models a many-to-many relationship, between ... ... Wikipedia, the free encyclopedia An interpersonal relationship is an association ... relationships/ tables - microsoft.public.access.gettingstarted ...A so-called 'junction' table models a many-to-many relationship, between ... Many to many relationship and association table - microsoft.public ... When we have a ... Many to Many Relationships in CRM - microsoft.public.crm ...Many to many relationship and association table - microsoft.public ... When we have a many to many relationship between 2 tables, why do we create a 3rd table between ... Denormalize data into one single field (by query) - microsoft ...Many to many relationship and association table - microsoft.public ... Denormalize data into one single field (by query) - microsoft ... I want to retrieve the data from a ... Form based on many to many relationship - microsoft.public.access ...Many to many relationship and association table - microsoft.public ... When we have a many to many relationship between 2 tables, why do we create a 3rd table ... Append query takes a while and DB freezes until done - microsoft ...... database with a link table in it for a many-to-many relationship. The table has ... Many to many relationship and association table - microsoft.public ... Append query takes a ... Duplicate Values in the index, primary key or relationship ...Many to many relationship and association table - microsoft.public ... Duplicate values in the index, primary key, or relationship messag ... Many to many relationship and ... Primary and Foreign Keys - microsoft.public.access.tablesdbdesign ...Many to many relationship and association table - microsoft.public ... Primary and Foreign Keys - microsoft.public.access.tablesdbdesign ... Isn't your JoinManner table ... Mapping tables - microsoft.public.accessMany to many relationship and association table - microsoft.public ... P of EAA: Association Table Mapping - Martin Fowler Association Table Mapping. The many-to-many relationship - Tekstenuitleg.net - aritcles about ...The many-to-many relationship is a relationship where multiple rows from table A can correspond to multiple ... Also note (again) that the association table beer ... P of EAA: Association Table Mapping - Martin FowlerAssociation Table Mapping. Saves an association as a table with foreign ... people for decades: create an extra table to record the relationship. Then use Associa-tion Table ... Many to many relationship and association table SQL ServerWhen we have a many to many relationship between 2 tables, why do we create a 3rd table between known as association table Don't seem to understand. Plea Database Design - Many-to-many - TomJewett.com - home page... is called a many-to-many association between ... So for every many-to-many, we will need a junction table in the ... turned into a one-to-many relationship ... How to: Map Many-to-Many Relationships - Microsoft Corporation ...Many-to-many relationships let you relate each row in one table to many rows in another table, and vice versa. For example, you could create a many-to-many ... 7/20/2012 8:03:53 AM
|
|
|
|
|
|
|
|
|