Answered step by step
Verified Expert Solution
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
- For each of these scenarios, draw an ER model, clearly denoting maximum and minimum cardinality constraints.
- 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.
- Your diagram must be complete in all respects with all notations to receive full credit.
- 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.
- 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.
- 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.
- 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
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