Answer
See explanation
Work Step by Step
In a one-to-many relationship, one record in a table can be associated with one or more records in another table. For example, A museum can have many works of art.
In many to many relationship, many records in a table can be associated with many records in the other table. Let’s say you have a list of books, and a list of authors—each book may have one or more authors, and each author may have written multiple books. In this case, you have many books related to many authors.
=> Both the concepts are explained using this diagram attached.
One-One Relationship: To exemplify this relationship, let's take the following examples
1- A student can have only one enrollment number.
2- A course can have only a single course code.
Many-Many Relationship: To exemplify this relationship, let's take the following examples
1- A student can opt for many courses and each course can have many students
2- An employee can be assigned to multiple projects and each project can have multiple employees working on it.
The following examples can be well demonstrated with the help of the following diagram