Database Systems: Design, Implementation, & Management
12th Edition
ISBN: 9781305627482
Author: Carlos Coronel, Steven Morris
Publisher: Cengage Learning
expand_more
expand_more
format_list_bulleted
Expert Solution & Answer
Chapter 5, Problem 4P
Explanation of Solution
Crow’s Foot ER diagram for Tiny College:
The following data model shows the solution for the given question.
Explanation:
- In the above data model, the “Employee” is the supertype entity of “Staff”, “Admin” and “Professor” subtypes and the primary key of “Employee” entity is “Emp_No”. The primary and foreign key of these subtypes are “Emp_No”. Another foreign key of “Professor” entity is “Dept_Code”.
- The overlapping constraint (o) is used as a category symbol. Here the “Employee” supertype entity has optional subtype entity.
- The “Student” table contains the details of students and every student can get advices from the “Staff” table...
Expert Solution & Answer
Trending nowThis is a popular solution!
Students have asked these similar questions
Draw the ER diagram based on the following specification.
A tutorial school is using a database to manage information about teachers,
courses, and students. Each teacher is identified by staff_id, has a name, an email
address, and a phone number. Each student is identified by student_id, has a
name, an email address, and a registration date. Each course is identified by
course_id, year, and semester. In addition, each course has a name. Each course is
associated with multiple lessons. A lesson has a lesson number, a location, a date,
a start-time, and an end-time. Lesson numbers are sequentially numbers, starting
from 1, generated separately for each course.
Each teacher teaches at least one course. Each student takes at least one course.
Each course is taught by one teacher. Each course can be taken by many students.
Design and draw an ER diagram that captures the information about the university. Consider thefollowing information about a university database: Professors have an SSN, a name, an age, a rank,and a research specialty. Projects have a project number, a sponsor name (e.g., NSF), a startingdate, an ending date, and a budget. Graduate students have an SSN, a name, an age, and a degreeprogram (e.g., M.S. or Ph.D.). Each project is managed by one professor (known as the project’sprincipal investigator). Each project is worked on by one or more professors (known as theproject’s co-investigators). Professors can manage and/or work on multiple projects. Each projectis worked on by one or more graduate students (known as the project’s research assistants). Whengraduate students work on a project, a professor must supervise their work on the project.Graduate students can work on multiple projects, in which case they will have a (potentiallydifferent) supervisor for each one. Departments have a…
Create an ER diagram for the following requirements:You are asked to design a database to store music album information. A simplified set of requirementsare provided below.- A music album has a title, year of release, total running time, one or more artists, and list ofsongs.- Each song has a lead artist and may have a list of additional artists. Each song has a list of otherassociated people such as mixer, mix engineer, keyboards, guitar, etc. Each song has a genre,running time, and lyrics. Each song can be associated with many albums, but needs to beassociated with at least one.- Each person has a first name, last name, and nickname.
Chapter 5 Solutions
Database Systems: Design, Implementation, & Management
Ch. 5 - Prob. 1RQCh. 5 - What kinds of data would you store in an entity...Ch. 5 - Prob. 3RQCh. 5 - What is a subtype discriminator? Give an example...Ch. 5 - Prob. 5RQCh. 5 - What is the difference between partial...Ch. 5 - Prob. 7RQCh. 5 - According to the data model, is it required that...Ch. 5 - Prob. 9RQCh. 5 - Prob. 10RQ
Ch. 5 - Prob. 11RQCh. 5 - Prob. 12RQCh. 5 - Prob. 13RQCh. 5 - When implementing a 1:1 relationship, where should...Ch. 5 - What is time-variant data, and how would you deal...Ch. 5 - Prob. 16RQCh. 5 - Prob. 1PCh. 5 - Prob. 2PCh. 5 - Prob. 3PCh. 5 - Prob. 4PCh. 5 - Prob. 5PCh. 5 - Prob. 6PCh. 5 - Prob. 7PCh. 5 - Prob. 8CCh. 5 - Prob. 9CCh. 5 - Prob. 10C
Knowledge Booster
Similar questions
- A university wants to develop a database system to manage student enrollment and course registration. They need an ERD to represent the key entities and their relationships. Entities: Student: Each student has a unique student ID, a name, a date of birth, and an email address. Course: Each course has a unique course code, a title, a description, and the number of credits. Enrollment: Each enrollment represents a student's registration in a specific course for a particular semester. It includes information about the grade received for that course. Professor: Each professor has a unique professor ID, a name, and an email address. Professors teach one or more courses. Create an ERD that represents the relationships between these entities. Include Entity name, attributes, identify Primary and Foreign key and crow foot relationships.arrow_forwardQuestion : Draw the EER diagram that describes the following scenario: ( PLEASE EXPLAIN STEP BY STEP AND IN DETAIL) We want to design a database for keeping track of information about votes taken is the PAKISTAN PROVISIONS in the current administration. They include the PARLIAMENT and the SENATE. A MINISTER in the PAKISTAN is either a Parliament Member or a Senator depending on to which body they are elected to. The database needs to keep track of each PAKISTAN CITY’s Name (e.g., ‘Lahore’, ‘Karachi’, ‘Multan’) and include the Region of the country to which the city belongs (whose domain is {‘Punjab’, ‘Sind’, ‘KPK’, ‘Baluchistan’}) and its population in the 170 million. Each MINISTER is described by his or her Name, plus the District represented, the Start_date when the parliament was first elected, and the political Party to which he or she belongs (whose domain is {‘PPP’, ‘PTI’, ‘PML(N)’, ‘PML(Q)’, ‘ANP’, ‘MQM’, ‘Independent’, ‘Other’}). A city can have a number of parliament…arrow_forwardDraw an E/R diagram for the described database below.arrow_forward
- Draw ER (or EER) diagram: A conceptual database design for a chain of furniture stores is needed. The following is a summary of the database requirements: a) The chain has many different stores in various cities and states. Each STORE has unique StoreNumber, plus an Address(made up of Street, City, State, ZipCode), and a StoreManager (who is an employee). Each store is organized into a number of departments. b) Each DEPARTMENT contains certain types of furniture (such as ‘dining’, ‘living room’, ‘bedroom’, ‘office’, etc.), and has a DeptName that is unique within each store; it also has a DeptManager (who is an employee), and a number of SalesPersons (who are employees). c) The company employs many employees. Each EMPLOYEE has a unique SSN, plus a Name (made up of FirstName, Minit, LastName), a job (e.g. ‘store manager’, ‘dept manager’, ‘sales associate’, ‘sales person’, etc.), plus DateOfBirth, Sex, Salary, and CommissionRate. Each employee works for a particular store. Design an ER…arrow_forward1. Draw an E/R diagram for a University database. This database should contain information about the university's students, departments, professors, teaching assistants (also students of the university), courses offered by a department, which students are enrolled in what courses, which professors are teaching which courses, student letter grades. You may include any other information deemed appropriate. • Some restrictions apply as listed below| 1. A Professor only works in at most one department. 2. Students and professors have been assigned unique email id's 3. A course is only taught by one professor and offered by one department. 4. A course is uniquely identified by the course number, section number and semester. Example: CSCE520-001 Spring21 5. A course has at most one TA.arrow_forwardER Modeling 3. You will prepare an ER diagram describing the schema of a University database. High Achievers University (HAU) would like you to design a database that tracks its adminis- trative operations, and helps them monitor their energy usage across campus. HAU consists of departments, research groups, and employees. For each department, the database should record the department name, and the department's unique identifier. Research groups belong to exactly one department, and the database stores the research group ID, name, and its monthly budget. Each research group has to have at least one employee working in it, and is assigned at most one room as workspace. For each employee, the University assigns a unique employee ID, and records the employee's last name, first name, telephone number, address, salary, gender, data of birth, and his/her years of service. An employee may work in zero or more research groups. An employee may be a department chair. If so, they can be the chair…arrow_forward
- All I need is an ER diagram that takes into account everything described. Thank You.arrow_forwardDesign an Entity-Relationship diagram for the below environment. determine 1-Total participation.2-Partial participation Consider a MAIL_ORDER database in which employees take orders for parts from customers. The data requirements are summarized as follows: o The mail order company has employees, each identified by a unique employee number, first and last name, and Zip Code. o Each customer of the company is identified by a unique customer num, first and last name, and Zip Code. o Each part is identified by a unique part number, a part name, price, and quantity. o Each order placed by a customer is taken by an employee and is given a unique order number. Each order contains specified quantities of one or more parts. Each order has a date of receipt as well as an expected ship date. The actual ship date is also recorded.arrow_forwardPart 3 5. Database design often involves decisions about the storage of attributes. For example a Telephone Number can be stored as a one attribute or split into three attributes (one for each of the three hyphen-delineated groups of numbers in a Telephone Number (XXX)-XXX-XXXX, I.e (123)-456-7890). However, Telephone Number is usually stored in one attribute. The decision is usually based on how the database will be used. This exercise asks you to think about specific situations where dividing the Telephone Number is useful. List and describe the different situations, give examples.arrow_forward
- Based on the given brief scenario below, draw an ER diagram: Your Library database consists of Student information and Book Information. A Student has a unique student id, name, phone number and date of birth. All students will have first, middle and last names, and may have one or two contact numbers. Students borrow books. A book will have a unique id, name, price and multiple author's info. The author info is composed of author name, author's last degree, author's last institution. (Note: You should also remember the relationship constraints) Suppose you also want to see an age attribute for the students in your database which can be found by calculating it from the date of birth and the current date.Show the age attribute in your above ER diagram? And name what type of attribute it is.arrow_forward3) Draw a domain class diagram according to the below scenario: Suppose that you are designing a schema to record information about reality shows on TV. Your database needs to record the following information: • For each reality show, its name, genre, basic_info and participants name. Any reality show has at least two or more participants. • For each producer, the company name, company country. A show is produced by exactly one producer. And one producer produces exactly one show. • For each television, its name, start year, head office. A television may broadcasts multiple shows. Each show is broadcasted by exactly one television. • For each user, his/her username, password, and age. A user may rate multiple shows, and a show may be rated by multiple users. Each rating has a score of 0 to 10.arrow_forwardDoctors have id. name. date of birth. and specialty. Patients have id. name, and date of birth. and address. Medicines have name. patent number, and milligrams We want to build A database that keeps track of the medicines prescribed by a doctor to patients The prescription process happens in a hospital. (a) Draw a complete Entity-Relationship diagram for the description above. You must include all the details, such as keys, weak entities (if any). cardinality constraints., etc Your diagram must use n-ary relationships You must use arrow notation Your diagram must avoid redundancy.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781305627482Author:Carlos Coronel, Steven MorrisPublisher:Cengage Learning
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781305627482
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning