Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

SQL For each of these scenarios, draw an ER model, clearly denoting maximum and minimum cardinality constraints . Write the one liner and four sentences

SQL

  1. For each of these scenarios, draw an ER model, clearly denoting maximum and minimum cardinality constraints.
  2. Write the one liner and four sentences for each diagram (statements that specify the minimum and maximum cardinality), and the number of tables needed. Post the Primary and foreign keys and any available attributes.
  3. Your diagram must be complete in all respects with all notations to receive full credit.

  1. A class is taught by one faculty, but a faculty can teach many classes. A faculty need not teach any classes but class must be taught by a faculty. A faculty has facultyid, name, address, and department. A class has an ID, name, location, meeting time, and a textbook.
  2. In a faculty office of a department, each faculty has separate printer assigned to her which is connected to her computer. A printer cannot be assigned to more than one faculty and a faculty cannot have more than one printer. The printer has a printer id, model name, date from and date to, and the faculty has faculty id, department, and date joined columns. A faculty must have a printer but a printer need not be assigned to a faculty.
  3. Employees have an id, name, department and datejoined. A manager who is also an employee is managing a department and can be a manager of several employees in that department. Ignore Department as an entity in doing your ER model and just show the relationship between employees and managers.
  4. In a physicians office patients are identified by patient_id and items charged to patients are identified by item_id. A patient can charge multiple items and the same item can be charged by multiple patients. A patient need not charge any item and an item need not be charged by any patient.

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_2

Step: 3

blur-text-image_3

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

Oracle Database Administration The Essential Reference

Authors: Brian Laskey, David Kreines

1st Edition

1565925165, 978-1565925168

More Books

Students also viewed these Databases questions

Question

Persuading Your Audience Strategies for

Answered: 1 week ago

Question

2. (1 point) Given AABC, tan A b b

Answered: 1 week ago