0% found this document useful (0 votes)
49 views8 pages

Relationships: Bsit 2 / Prog Nciv 2 / BKK 2

The document discusses different types of relationships between tables in a database: one-to-one (1:1), one-to-many (1:M), and many-to-many (M:M). A one-to-one relationship means a record in one table is related to a single record in another table. A one-to-many relationship means one record in one table can be related to multiple records in another table. A many-to-many relationship means one record in a table can be related to multiple records in another table and vice versa.

Uploaded by

Ikawa Afue
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views8 pages

Relationships: Bsit 2 / Prog Nciv 2 / BKK 2

The document discusses different types of relationships between tables in a database: one-to-one (1:1), one-to-many (1:M), and many-to-many (M:M). A one-to-one relationship means a record in one table is related to a single record in another table. A one-to-many relationship means one record in one table can be related to multiple records in another table. A many-to-many relationship means one record in a table can be related to multiple records in another table and vice versa.

Uploaded by

Ikawa Afue
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 8

DBMS

BSIT 2 / PROG NCIV 2 / BKK 2

RELATIONSHIPS

1
ONE-TO-ONE (1:1)

A certain record in a table is related to


another single record or attributed on
another table

Entity relates to another single entity

2
ONY-TO-MANY (1:1)

3
ONE-TO-MANY (1:M)

Many records in one table correspond to


one record in another table

One entity is related to other entities

4
ONY-TO-MANY (1:M)

5
MANY-TO-MANY (M:M)

One record in one table corresponds to


many rows in another table and also
vice-versa.

Many entities relates to many attributes


or other entities

6
MANY-TO-MANY (M:M)

7
Any questions?

End of Lecture.

You might also like