What are Relationships?
By in Design Patterns & Practices on Jan 11 2007
  • Rajkishor Yadav
    Mar, 2007 13

    There are three types of relationships in database.

    1. One-to-One relationship can be implemented as a single table and rarely as two tables with primary and foreign key relationships.
    2. One-to-Many relationships are implemented by splitting the data into two tables with primary key and foreign key relationships.
    3.  Many-to-Many relationships are implemented using a junction table with the keys from both the tables forming the composite primary key of the junction table.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS