1. Determine the set of minimal functional dependencies for the following data.
The local bakery, Happy Cakes, needs your help designing a database that will support a kiosk in the store for customers tomake special orders. Orders are limited to cakes and cannot include cookies, pies, or pastries. Several flavors each of cake and frosting are available, and they can be made in a number of different sizes and shapes. Combinations of cake and frosting flavors are considered cake styles, and there will be a photograph of each style. All photographs will be taken with one piece cut from the cake, in order to make the interior visible.All cakes can be customized with decorations and messages (one type of decoration and one message per cake) which have a main color as requested by the customer. Each order will include customer and cake information as well as the date that the customer needs the cake.
Data:
cakeFlavor: the flavor of the cake
frostingFlavor: the flavor of the frosting
style: one of the typical combinations of cake and frosting flavors
picture: the filename of the picture of the cake style
shape: the shape of the cake
size: the size of the cake (diameter for rounds, length-by-width for rectangles)
layers: the number of layers
decoration: the type of decorations on the cake
color: the main color of the cake's decorations
message: the message that will be written across the finished cake |
orderNumber: the identification number for an order
orderDate: the date that the cake is needed
customerName: the customer's name (only one customer allowed per order)