Question: Create a relation that represents the dependence between objects. The table should have two attributes called object and dependent, where object is the primary key
Create a relation that represents the dependence between objects. The table should have two attributes called object and dependent, where object is the primary key of the relation and dependent is a foreign key that references object. Then insert three tuples into this table:
1. o1 is dependent on o2
2. o2 is dependent on o3
3. o3 is dependent on o1
Note that this problem is similar to chicken-egg problem but only involves one relation. What you need to submit is proper DDL and DML statements in sequence that can accomplish this with Oracle-VM.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
