machumpion
Registered User.
- Local time
- Today, 18:25
- Joined
- May 26, 2016
- Messages
- 93
Let's say I have a product table and an orders table.
Product table has fields: ProductID, Flavor, BagQuantity
Order table has fields: date, ProductID, OrderID, Quantity, Revenue
some ProductIDs sold are actually bundles of individual products
i.e." 4 bundle Chip bags: 2 ketchup/2 bbq"
there are already records in Product table for the individual items
i.e. BBQ chip bag- BBQ- 1 ;
Ketchup chip bag- Ketchup - 1
currently in the "Flavor" column for Bundle Products in the Product table, I label them as "various"
If I wanted to query the quantity of bags of each flavor sold (including for bundles), would I need to identify the flavors in each bundle by making a record in the product table for each bundled flavor?
i.e. 4 bundle chip bag:2bbq +2 ketchup - BBQ - 2
4 bundle chip bag: 2bbq + 2 ketchup - Ketchup - 2
Product table has fields: ProductID, Flavor, BagQuantity
Order table has fields: date, ProductID, OrderID, Quantity, Revenue
some ProductIDs sold are actually bundles of individual products
i.e." 4 bundle Chip bags: 2 ketchup/2 bbq"
there are already records in Product table for the individual items
i.e. BBQ chip bag- BBQ- 1 ;
Ketchup chip bag- Ketchup - 1
currently in the "Flavor" column for Bundle Products in the Product table, I label them as "various"
If I wanted to query the quantity of bags of each flavor sold (including for bundles), would I need to identify the flavors in each bundle by making a record in the product table for each bundled flavor?
i.e. 4 bundle chip bag:2bbq +2 ketchup - BBQ - 2
4 bundle chip bag: 2bbq + 2 ketchup - Ketchup - 2