What are different relationships existing in database?

devquora
devquora

Posted On: Feb 22, 2018

 

A relationship in database is established when one table has a foreign key that references the primary key of another table. There are three relationships existing between database-
  • One-to-one– This simple relationship exists among two tables having same rows or columns.
  • One-to-many– Two tables connected by a foreign key and a primary key enjoys one-to-many relationship.
  • Many-to-many – It is a complex relationship in which many records in one table is connected to many records in another table.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    DBMS Interview Questions

    What is DBMS?

    DBMS (Database Management System) is a computer software application that allows users and other applications to view,..

    DBMS Interview Questions

    Enlist various types of interactions created by DBMS ?

    There are various kinds of interactions supported by DBMS like- Data definition Update Retrieval Administration..

    DBMS Interview Questions

    What are the features of Database language?

    Database language is used to create and store data in computer system. DBMS itself is one of the features of database l..