Question: List foreign key constraints that this database should have. Your answer should indicate the referencing table (the one in whose table definition the constraint should

List foreign key constraints that this database should have. Your answer should indicate the referencing table (the one in whose table definition the constraint should be included), the referenced table, and the attribute(s). You may use a format like the following without writing out the whole table definition or keywords FOREIGN KEY ...

Order. Phone REFERERENCES Customer. Phone

design  Relational Algebra query to find to find the lignums and streets of customers who have orders with status = "ready".

Customer (phone, bldg Num, street, apt Num) Dish(item, description, category) Dish Size(item, size, price) 

Customer (phone, bldg Num, street, apt Num) Dish(item, description, category) Dish Size(item, size, price) Order (order Num, phone, order Date, status) Order Items (order Num, item, size, qty)

Step by Step Solution

3.41 Rating (148 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

1 In the Order table there should be a foreign key constraint that references the Customer table o... View full answer

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!