Question
A person can be an employee, alumnus or a student. For person P_id (identifier), date of birth, gender and contacts are stored. Person can have
A person can be an employee, alumnus or a student. For person P_id (identifier), date of birth, gender and contacts are stored. Person can have more than one contact numbers and there are no other types of person that exists. An instance of person can belong to more than one type. Date hired and salary is the unique attributes of employee. For alumnus degree is required to be stored that comprises of year and designation. Major department is the attribute of student. A student can be a graduate student or an undergraduate student but not both at the same time. No other type of student exists. For graduate student test score is stored and for undergraduate student class standing is stored. Employee can be faculty, staff or others but not both at the same time. For faculty rank is stored and for staff position is stored. Undergraduate student can issue books from the library. An undergraduate student can issue at most one book and a book is issued by no student or one student. Issue date, return date and fine amount are stored when undergraduate student issues a book. Book has attributes b_id, b_title and b_category and b_id is the primary key for the book. Undergraduate student can get enrolled for more than one courses and a course is enrolled by at least one undergraduate student. Course has attributes course_id (identifier), credit, description and code. Courses can have one, none, or many prerequisites. Each course is prerequisite of zero, one or many courses. Department offers one or more courses and a course gets offered by one or many departments. Every instance of department has unique dept_id and other attributes are name and location that needs to be stored. Location is composed of city, postal code and zip code.
Prepare a case study of Al-salahi construction company
• Clearly mention entities, attributes and relationships
• Number of entities should be at least 10.
Step by Step Solution
3.34 Rating (169 Votes )
There are 3 Steps involved in it
Step: 1
persontypePtypeidtype instanceofperson id Pid Ptypeid person Pid dateofbirth gen...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started