Create the Schema (NOT ER Diagram) for a database that will keep track of studen
ID: 3720730 • Letter: C
Question
Create the Schema (NOT ER Diagram) for a database that will keep track of students and campus organizations.
For each student, we will keep track of his or her unique student ID, and his or her name and gender.
For each organization, we will keep track of its unique organization ID and the location.
Each student in the database belongs to at least one organization and can belong to multiple organizations.
Each organization in the database has at least one student belonging to it and can have multiple students.
For every instance of a student belonging to an organization, we will record the student's function in the organization (e.g., president, vice president, treasurer, member, etc.).
Explanation / Answer
Solution :
Student :
StudentId (stores unique ID of student)
gender (stores gender of studnet )
Name (stores name of studnet)
------------------------------------------
Organization :
OrganizationID (stores unique organization ID)
location (stores location )
StudentOrganization :
StudentID (Identifies studnet for pair (student, organization))
OrganizationID (Identifies organization for pair (student, organization))
function (function of student in organization )
if you have any doubts then you can ask in comment section if you find the solution helpful then upvote the answer. Thank you.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.