Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following schema (PK Bold , FK in italics ). Use MySQL Workbench to create the EER diagram that corresponds to the schema given

Consider the following schema (PK Bold, FK in italics). Use MySQL Workbench to create the EER diagram that corresponds to the schema given below

EMPLOYEE(EmpID, EmpName, DeptNum, JobTitle, EmpSalary)

TRIP( TripID, DepartureCity, DestinationCity, DepartureDate, ReturnDate, EmpID)

EXPENSE( TripID, Item, Date, Amount)

Business rules:

all employees can have a pension plan

sales employees have clients

management employees have projects

Duplicate the EER diagram you created for item 2, rename it, and modify it as follows:

Modify the EMPLOYEE entity to reflect that employees are either clerical, sales or management. Make up attributes as needed and state any assumptions you need to make.

Modify the TRIP entity to reflect different kinds of trips: sales presentations, attend conferences, training

Business rules:

sales employees have sales presentations

sales and management employees attend conferences

all employees get training

Complete the following tasks:

State two conditions that indicate when a database designer should consider using supertype/subtype relationships.

Given an example of such a relationship (other than those discussed in the module) chosen from an application in your major (state your major).

What is the purpose of a subtype discriminator? Clearly identify the values (or some of the values if there are many) in your example.

Create the EER diagram for your example.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

XML Data Management Native XML And XML Enabled Database Systems

Authors: Akmal Chaudhri, Awais Rashid, Roberto Zicari, John Fuller

1st Edition

0201844524, 978-0201844528

Students also viewed these Databases questions

Question

=+ Are there additional forms of employee representation?

Answered: 1 week ago

Question

=+What is the nature of their impact?

Answered: 1 week ago