Question: Specify Primary Key for each table below, also specify foreign keys, if any. For each foreign key, please indicate that foreign key references to which

 Specify Primary Key for each table below, also specify foreign keys,

Specify Primary Key for each table below, also specify foreign keys, if any. For each foreign key, please indicate that foreign key references to which table.

210 Figure 5.6 One possible database state for the COMPANY relational database schema. EMPLOYEE Fname Minit Lname San Bdate Address Sex Salary Super_ssn Dno John B Smith 1234567891965-01-09 731 Fondren, Houston, TX M 30000 333445555 Franklin T Wong 333445555 1955-12-08 638 Voss, Houston, TX M 40000 888665555 5 Alicia Zelaya 999887777 1968-01-19 3321 Castle, Spring, TX 25000 987654321 Jennifer S Wallace 987654321 1941-06-20 291 Berry, Bellaire, TX 43000 888665555 Ramesh K Narayan 666884444 1962-09-15 975 Fire Oak, Humble, TX M 38000 333445555 Joyce English 453453453 1972-07-31 5631 Rice, Houston, TX F 25000 333445555 Ahmad V Jabbar 987987987 1969-03-29 980 Dallas, Houston, TXM 25000 987654321 James E Borg 888665555 1937-11-10 450 Stone, Houston, TX M 55000 NULL 1 F F 4 5 5 4 Dnumber DEPARTMENT Dname Research Administration Headquarters 5 Mgr_ssn 333445555 987654321 Mgr_start_date 1988-05-22 1995-01-01 1981-06-19 4 DEPT LOCATIONS Dnumber Dlocation 1 Houston 4 Stafford 5 Bellaire 5 Sugarland 5 Houston 1 888665555 WORKS ON Essn 123456789 123456789 Pro 1 Hours 32.5 7.5 Dnum 5 5 | Ono 2 PROJECT Pname ProductX Product Productz Computerization Reorganization Newbenefits 3 40.0 Pnumber Plocation 1 Bellaire 2 Sugarland 3 Houston 10 Stafford 20 Houston 30 Stafford 5 1 20.0 666884444 453453453 453453453 333445555 4 2 20.0 1 2 10.0 4 3 333445555 333445555 10 DEPENDENT Essn 333445555 10.0 10.0 10.0 30.0 10.0 20 999887777 30 Dependent name Sex Alice F Theodore Joy 999887777 333445555 333445555 10 M Bdate Relationship 1986-04-05 Daughter 1983-10-25 Son 1958-05-03 Spouse 1942-02-28 Spouse 1988-01-04 Son 10 35.0 333445555 F 987987987 907987907 30 5.0 987654321 Abner M 30 20.0 123456789 Michael M 987654321 987654321 20 15.0 123456789 Alice F 1988-12-30 1967-05-05 Daughter Spouse 888665555 20 NULL 123456789 Elizabeth F

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!