Answered step by step
Verified Expert Solution
Question
1 Approved Answer
What are the pros and cons of the implementation proposed by Adrian? Please give one pro and con. Adrian stumbled about the design below that
What are the pros and cons of the implementation proposed by Adrian? Please give one pro and con.
Adrian stumbled about the design below that displays each employee must work in exactly one department while each department must employ at least one employee. In addition, a department must have a manager and the manager is an employee of the company works in Employees department manages Adrian proceed to convert the conceptual design to the following logical design by using the conversion rules specified in Lesson 5 Employees manages departments text phonetext text text name name email departmentid integer address managerid text works in .address text Finally, Adrian created the relational schema for an Oracle database as shown below: CREATE TABLE departments id INTEGER NAME VARCHAR2 (50) NOT NULL managerid INTEGER NOT NULL phone VARCHAR2 (20) NOT NULL address VARCHAR2 (120) PRIMARY KEY (id) FOREIGN KEY (mangerid) Create Table employees ( id INTEGER name VARCHAR2 (50) NOT NULL email VARCHAR2 (20) NOT NULL departmentid NOT NULL. PRIMARY KEY (id) FOREIGN KEY (departmentid) REFERENCES users (departments) REFERENCES users ( employees)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