Draw an ER diagram for the situation below including primary keys, attributes, cardinalities and necessary relationships.
Be sure to break down any many to many relationships
List any assumptions that you made for your ERD
Thomas Fauci, owner of Fauci Ace Hardware store, has hired you as a contractor to design a database management system for his chain of three stores that sell building equipment and materials. He would like to track sales, clients, and employees. The following list of business rules and specifications must be incorporated in your design:
Clients place orders through a store. Fauci need to track the following about clients: name, address, city, state, zip code, telephone, date of birth, and primary language. A client may place many orders. A client does not always have to order through the same store all the time. Clients may have one or more charge accounts, although they may also have no charge accounts. The following information needs to be recorded about accounts: balance, last payment date, last payment amount, and type. A store may have many clients. The following information about each store needs to be recorded: store number, location (address, city, state, zip code), and square footage. A store may sell all items or may only sell certain items. Orders are composed of one or more items. The following information about each order needs to be recorded: order date and credit authorization status. Items may be sold by one or more stores. We wish to record the following about each item: description, color, size, pattern, and type. An item can be composed of multiple items; for example, a dining room wallcovering set (item 20) may consist of wallpaper (item 22) and borders (item 23). Mr Fauci employs 78 employees. He would like to track the following information about employees: name, address (street, city, state, zip code), telephone, date of hire, title, salary, skill, and age. Each employee works in one and only one store. Each employee may have one or more dependents. We wish to record the name of the dependent as well as the age and relationship. Employees can have one or more skills. Skill efficiencies are important to Mr Fauci.