In one-to-many relationship the table in ‘one’ side is called _______ and on ‘many’ side is called _______ A. Child , Parent B. Parent , Child C. Brother , Sister D. Father , Son

Child , Parent
Parent , Child
Brother , Sister
Father , Son

The correct answer is: In one-to-many relationship the table in ‘one’ side is called parent and on ‘many’ side is called child.

A one-to-many relationship is a type of database relationship in which one row in one table can be related to multiple rows in another table. The table in the “one” side of the relationship is called the parent table, and the table in the “many” side of the relationship is called the child table.

For example, in a table of customers, each customer can have multiple orders. In this case, the customer table would be the parent table and the order table would be the child table.

The following are some examples of one-to-many relationships:

  • A customer can have multiple orders.
  • A product can have multiple categories.
  • A user can have multiple posts.

In each of these examples, the table on the “one” side of the relationship has a foreign key that references the primary key of the table on the “many” side of the relationship. This allows the database to track the relationship between the two tables.

One-to-many relationships are a common type of database relationship, and they are used in many different types of applications.

Exit mobile version