Skip to content

Commit 87559ec

Browse files
authored
public repo - revert this revision
1 parent 1611fd2 commit 87559ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎docs/ssms/visual-db-tools/map-many-to-many-relationships-visual-database-tools.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ms.reviewer:
2020

2121
---
2222
# Map Many-to-Many Relationships (Visual Database Tools)
23-
[!INCLUDE[appliesto-ss-asdb-asdw-pdw-md]](../../includes/appliesto-ss-asdb-asdw-pdw-md.md)]
23+
[!INCLUDE[appliesto-ss-asdb-asdw-pdw-md](../../includes/appliesto-ss-asdb-asdw-pdw-md.md)]
2424
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 relationship between the `authors` table and the `titles` table to match each author to all of his or her books and to match each book to all of its authors. Creating a one-to-many relationship from either table would incorrectly indicate that every book can have only one author, or that every author can write only one book.
2525

2626
Many-to-many relationships between tables are accommodated in databases by means of junction tables. A junction table contains the primary key columns of the two tables you want to relate. You then create a relationship from the primary key columns of each of those two tables to the matching columns in the junction table. In the pubs database, the `titleauthor` table is a junction table.

0 commit comments

Comments
 (0)