English

What is a relationship in databases? List its types.

Advertisements

Question

What is a relationship in databases? List its types.

Short/Brief Note
Advertisements

Solution

There exists a relationship between two tables when the foreign key of one table references the primary key of other tables.
The Entity-Relationship(ER) diagram is based on the three types listed below.

  • One-to-One relationship
  • One-to-Many relationship
  • Many-to-Many relationship
shaalaa.com
  Is there an error in this question or solution?
Chapter 3: Introduction to Database Management System - Evaluation - PART – III [Page 83]
Advertisements
Share
Notifications



      Forgot password?
Use app×