Question:

What do you mean by one-to-many relationships?

Show Hint

One-to-many means a single record is linked to multiple records in another table — common in relational databases.
  • One class may have many teachers
  • One teacher can have many classes
  • Many classes may have many teachers
  • Many teachers may have many classes
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

In database and relationship modeling, a one-to-many relationship means that a single entity in one table is associated with multiple entities in another table.
For example: In a school database, one Teacher may teach multiple Classes.
Here:
- The "one" side is the Teacher.
- The "many" side is the Classes.
- Each teacher’s ID can appear multiple times in the classes table.
Examining the options:
- Option (A) is incorrect because "one class may have many teachers" describes a many-to-many relationship.
- Option (B) correctly reflects one-to-many, where one teacher teaches multiple classes.
- Option (C) "many classes may have many teachers" is many-to-many.
- Option (D) "many teachers may have many classes" is also many-to-many.
Hence, the correct choice is $\mathbfOne\ teacher\ can\ have\ many\ classes$.
Was this answer helpful?
0
0