Presentation is loading. Please wait.

Presentation is loading. Please wait.

Ingredients: - 1/4 cup butter (dairy) - 1 cup brown sugar (spice) - 1/2 teaspoon cinnamon (spice) - 1/4 cup banana liqueur (alcohol) - 4 bananas, cut in.

Similar presentations


Presentation on theme: "Ingredients: - 1/4 cup butter (dairy) - 1 cup brown sugar (spice) - 1/2 teaspoon cinnamon (spice) - 1/4 cup banana liqueur (alcohol) - 4 bananas, cut in."— Presentation transcript:

1 Ingredients: - 1/4 cup butter (dairy) - 1 cup brown sugar (spice) - 1/2 teaspoon cinnamon (spice) - 1/4 cup banana liqueur (alcohol) - 4 bananas, cut in half lengthwise, then halved (fruit) - 1/4 cup dark rum (alcohol) - 4 scoops vanilla ice cream (dairy) Directions: Combine the butter, sugar, and cinnamon in a flambé pan or skillet. Place the pan over low heat either on an alcohol burner or on top of the stove, and cook, stirring, until the sugar dissolves. Stir in the banana liqueur, then place the bananas in the pan. When the banana sections soften and begin to brown, carefully add the rum. Continue to cook the sauce until the rum is hot, then tip the pan slightly to ignite the rum. When the flames subside, lift the bananas out of the pan and place four pieces over each portion of ice cream. Generously spoon warm sauce over the top of the ice cream and serve immediately. Serves 4 Chef: Paul Blange RECIPE: BANANAS FOSTER

2 Test Questions: What are the data entities? List the attributes for each data entity. Identify the primary keys for each entity. What are the associations among the entities Which fields may be indexes? DATA ENTITIES

3 Test Questions: What is the union of food types fruit and dairy? What is a projection on the ingredients? What is the product of spice ingredients and alcohol ingredients?. RELATIONAL ALGEBRA

4 JOIN ON AGENT CODE NATURAL LEFT OUTER JOIN RIGHT OUTER JOIN

5 5 Steps in normalization

6 6 Table with multivalued attributes, not in 1 st normal form

7 7 Table with no multivalued attributes and unique rows, in 1 st normal form

8 8 Order_ID  Order_Date, Customer_ID, Customer_Name, Customer_Address Therefore, NOT in 2 nd Normal Form Customer_ID  Customer_Name, Customer_Address Product_ID  Product_Description, Product_Finish, Unit_Price Order_ID, Product_ID  Order_Quantity Functional dependency diagram for INVOICE

9 9 Partial dependencies are removed, but there are still transitive dependencies Getting it into Second Normal Form Figure 5-28 Removing partial dependencies

10 10 Third Normal Form 2NF PLUS no transitive dependencies (functional dependencies on non-primary-key attributes) 2NF PLUS no transitive dependencies (functional dependencies on non-primary-key attributes) Note: This is called transitive, because the primary key is a determinant for another attribute, which in turn is a determinant for a third Note: This is called transitive, because the primary key is a determinant for another attribute, which in turn is a determinant for a third Solution: Non-key determinant with transitive dependencies go into a new table; non-key determinant becomes primary key in the new table and stays as foreign key in the old table Solution: Non-key determinant with transitive dependencies go into a new table; non-key determinant becomes primary key in the new table and stays as foreign key in the old table

11 11 Transitive dependencies are removed Removing transitive dependencies Getting it into Third Normal Form


Download ppt "Ingredients: - 1/4 cup butter (dairy) - 1 cup brown sugar (spice) - 1/2 teaspoon cinnamon (spice) - 1/4 cup banana liqueur (alcohol) - 4 bananas, cut in."

Similar presentations


Ads by Google