Question: Consider the following relations for an order-processing application data- base at ABC, Inc. ORDER (O#, Odate, Cust, Total-amount) ORDER-ITEM(O#, Qty-ordered, Total-price, Discount%) Assume that each
Consider the following relations for an order-processing application data- base at ABC, Inc. ORDER (O#, Odate, Cust, Total-amount) ORDER-ITEM(O#, Qty-ordered, Total-price, Discount%) Assume that each item has a different discount. The Total price refers to one item, Odate is the date on which the order was placed, and the Total amount is the amount of the order. If we apply a natural join on the relations ORDER_ITEM and ORDER in this database, what does the resulting relation schema look like? What will be its key? Show the FDs in this resulting rela- tion. Is it in 2NF? Is it in 3NE Why or why not? (State assumptions, if you make any.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
