(a)
To find the relationship between students, courses and faculty members in the specified relation.
(a)
Explanation of Solution
The given relation is
The above relation Student and Faculty has many-to-many relationship since a new table is generated whose primary key is the combination of all primary key.
Since a faculty teaches many students and a student is taught by many faculties. Therefore, the relation between student and faculty is many-to-many relationship.
The relation between Student and Course has many to many relationships since a student can take many courses and a course can be taken by many students.
After creating new table, the collection of tables is as follows:
(b)
To find the relationship between students, courses and faculty members in the specified relation.
(b)
Explanation of Solution
The given relation is as follows:
Since one student can take many courses and one course is taken by many students.
Therefore, the attributes StudentNum and CourseNum in the Student relation used as the primary key shows the many-to-many relationship between StudentFaculty and Course tables.
The relation Faculty and Course has many-to-many relationship since one faculty can be assigned many course numbers and one course number can be assigned to many faculties.
After creating new table, the collection of tables is as follows:
(c)
To find the relationship between students, courses and faculty members in the specified relation.
(c)
Explanation of Solution
The given relation is as follows:
The relation StudentFaculty and Faculty has many-to-many relationship since many students have assigned many courses.
The relation Faculty and Course has many-to-many relationship as many faculties can be assigned many courses.
The relation StudentFaculty and Course has many-to-many relationship since one faculty can be assigned many course numbers and one course number can be assigned to many faculties.
Also, the relation StudentFaculty and Faculty has many to many relationships since one student is taught by many faculties and one faculty can be assigned to many students.
(d)
To find the relationship between students, courses and faculty members in the specified relation.
(d)
Explanation of Solution
The given relation is
The above relation Student and Faculty has many-to-many relationship since a new table is generated whose primary key is the combination of all primary key.
Since a faculty teaches many students and a student is taught by many faculties. Therefore, the relation between student and faculty is many-to-many relationship.
The relation between Student and Course has many tomany relationships since a student can take many courses and a course can be taken by many students.
After creating new table the collection of tables are as follows:
(e)
To find the relationship between students, courses and faculty members in the specified relation.
(e)
Explanation of Solution
The given relation is as follows:
The relation Student and Course has many-to-many relationship since many students have assigned many courses.
The relation Faculty and Course has many-to-many relationship since many faculties can be assigned to many subjects.
The relation Student and Faculty has many-to-many relationship since one faculty can be assigned many students and one student can be assigned to many faculties.
Want to see more full solutions like this?
Chapter 6 Solutions
Concepts of Database Management
- Computer Networking: A Top-Down Approach (7th Edi...Computer EngineeringISBN:9780133594140Author:James Kurose, Keith RossPublisher:PEARSONComputer Organization and Design MIPS Edition, Fi...Computer EngineeringISBN:9780124077263Author:David A. Patterson, John L. HennessyPublisher:Elsevier ScienceNetwork+ Guide to Networks (MindTap Course List)Computer EngineeringISBN:9781337569330Author:Jill West, Tamara Dean, Jean AndrewsPublisher:Cengage Learning
- Concepts of Database ManagementComputer EngineeringISBN:9781337093422Author:Joy L. Starks, Philip J. Pratt, Mary Z. LastPublisher:Cengage LearningPrelude to ProgrammingComputer EngineeringISBN:9780133750423Author:VENIT, StewartPublisher:Pearson EducationSc Business Data Communications and Networking, T...Computer EngineeringISBN:9781119368830Author:FITZGERALDPublisher:WILEY