Multiple choice

Which of the following table is/are an example of one-to-many relationships in relational database design?

  1. Two tables 'Product' and 'Orders'.

  2. Two tables 'Product' and 'ProductDetails'.

  3. Two tables 'Teachers' and 'Classes'.

  4. All of the above.

  5. Only (1) and (3).

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

A teacher can teach many classes but a class can have only one teacher. Hence,  it is a one-to-many relationship.