Question: Consider the following database schema and example instance: ingredient recipe foodItem stock Hints: - Underlined attribute form the primary key of a relation - The

Consider the following database schema and example instance: ingredient recipe foodItem stock Hints: - Underlined attribute form the primary key of a relation - The attribute recipe of relation ingredient is a foreign key to relation recipe. The attribute foodItem of relation ingredient is a foreign key to relation fooditem. - The attribute foodItem of relation stock is a foreign key to relation foodItem. a) [20 points] Write complete DDL statements to create these four tables, you must include in your create statements the appropriate actions (reject, cascade, set to NULL, set to default) for each referential integrity constraint
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
