Reference no: EM13348767
问题:
CandyWarehouse is an online candy store. The store purchases candies from various vendors, and one of them is Fullerton Candy Factory. The store frequently places orders for candies of different flavors at the same time. Every order is placed with one definite vendor. The vendors never consolidate multiple orders into one shipment, and always ship merchandise promptly. typically, the vendors can fill the entire order in one shipment. Occasionally, thus, a vendor can be temporarily out of stock of a particular item. In such cases, the vendor waits until all the items become available and ships the whole order. The vendors do not allow the store to make partial payments of invoices or settle various invoices with one payment. The store has various bank accounts, and each payment will be made from only one of those accounts. Each transaction is handled by no more than one employee.
Stage 1: Database design
1.识别Candywarehouse会计系统的资源,事件和代理。使用Microsoft Word(或任何其他用于图形认证的软件工具)显示REA图。确保包括所有的红衣主教。2.整理您需要准备工作数据库所需的表清单。对于每个表,请指定主键,外键(如果有)以及至少两个其他属性。
Stage 2. Microsoft Access
1. Prepare the database in Microsoft Access. Link all the tables and enforce referential integrity. 2. Prepare at least 5 records for each table. Consider that all purchases occurred in July, August and September of 2013, and each purchase order contains at least two different candy flavors. 3. Prepare the subsequent queries in Microsoft Access: a. Total dollar purchases by candy flavor in August 2013. Show the item description and dollar purchase amount. b. Every order placed with Fullerton Candy Factory that exceed $2000, sorted from the highest to the lowest. List date of order, dollar purchase amount, and vendor name. c. All orders that have been paid for. List order #, order amount and payment amount. d. All orders that were not received within 5 days of order. List order number, vendor name, date of order, and date of receipt. e. The standard dollar amount of a purchase transaction.