127k views
5 votes
Parts are described by partnum, color, and price. Parts can be subassemblies as well and this means that they contain other parts. One part cannot be a component of more than one subassembly but a subassembly can contain many other parts. A part need not be a component of any subassembly (please note that a subassembly is a part well), but a subassembly must contain more than one part.

Need sql statements to create the table above. I am using ORACLE.

1 Answer

2 votes

Answer:

Attached is the solution:

Parts are described by partnum, color, and price. Parts can be subassemblies as well-example-1
Parts are described by partnum, color, and price. Parts can be subassemblies as well-example-2
User RoadRunner
by
5.6k points