Question: 1.Solve the following questions using Oracle. All comments and non executable Oracle statements in these files must start with the keyword REM (you may also

1.Solve the following questions using Oracle. All comments and non executable Oracle statements in these files must start with the keyword REM (you may also use Java/C++ comment styles)

Include foreign key constraints where needed. Notice that the relation manages is recursive between employee and employee (similar to the relations prereq and course in the university database.) Also notice that both employee_name and manager_name are foreign keys in the relation manages referencing the relation employee. Be careful about the order you create the tables.

1.Solve the following questions using Oracle. All comments and non executable Oracle

Give an SQL schema definition for the employee database of Figure 3.20. Choose an appropriate domain for each attribute and an appropriate primary key for each relation schema. Reference Figure 3.20: employee ( works (employee-name, companyame, salary) company (company name, city) manages (employee name, manager name) employee name, street, city) Figure 3.20 Employee database

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!