Building on the ERD
Sample Solution
Proposed Functionalities
Introduction
In this section, we will propose 10 specific functionalities that we plan to implement using queries in Access. These functionalities will cover all entities in our ERD, with the exception that only one of the subtypes needs to be covered. At least 5 functionalities will involve more than one entity.
Functionalities
Here is a list of 10 specific functionalities that we plan to implement using queries in Access:
- Generate a list of all products that are supplied by a specific customer. This functionality will involve the Product and Customer entities.
- Find the total sales of a specific product for a given time period. This functionality will involve the Product and Sale entities.
- Identify the top 10 customers by sales for a given time period. This functionality will involve the Customer and Sale entities.
- Find the top 10 best-selling products for a given time period. This functionality will involve the Product and Sale entities.
- Generate a list of all employees who have sold a specific product. This functionality will involve the Employee, Product, and Sale entities.
- Find the average sales per employee for a given time period. This functionality will involve the Employee and Sale entities.
- Generate a list of all customers who have not made a purchase in the past 6 months. This functionality will involve the Customer and Sale entities.
- Find the total inventory value for a specific product. This functionality will involve the Product and Inventory entities.
- Identify the products that are low in stock. This functionality will involve the Product and Inventory entities.
- Generate a list of all orders that are due to be shipped within the next week. This functionality will involve the Order and OrderItem entities.
Changes Made in Response to Feedback
We have incorporated the following changes to our ERD in response to your feedback:
- We have added an attribute called
ProductTypeIDto theProductentity. This attribute will allow us to identify the type of product, such as a book, DVD, or clothing item. - We have added a
SubtypeIDattribute to theCustomerentity. This attribute will allow us to identify the subtype of customer, such as a retail customer or a wholesale customer. - We have added a
Quantityattribute to theOrderItementity. This attribute will allow us to track the quantity of each product that is ordered.
We have also made the following changes to our proposed functionalities in response to your feedback:
- We have added a new functionality to generate a list of all products that are low in stock. This functionality will involve the
ProductandInventoryentities. - We have modified the functionality to find the top 10 customers by sales for a given time period to include the subtype of customer. This will allow us to see which type of customer is generating the most sales.
- We have modified the functionality to find the top 10 best-selling products for a given time period to include the type of product. This will allow us to see which type of product is selling the best.
We believe that these changes will make our ERD and proposed functionalities more robust and useful.
Conclusion
We are confident that we can implement the 10 proposed functionalities using queries in Access. We will provide examples of these queries in Deliverable 3.