dentify entity types and relationship.
As a retail company, we cater for the needs of various customers. Some customers are once off customers who visit the shop, buy their desired products, pay and leave. We also have regular customers. Our regular customers are those whose information we keep within our system.
Each customer has a unique identification that is used each time they buy from the shop. The customer information kept in the system is the name, their phone numbers, email address, city, postal address, etc. A customer makes payment(s) to their account. There is a unique payment identification for the payment, a date of payment and an amount paid by the customer.
Each customer can make as many orders as possible, and for each order, an order number is generated, which also captures the date of order, required date when the order will be delivered, and a status of delivery (whether it was delivered, to be delivered).
Each order has its own orderdetails, which are captured. The orderdetails captures the order number, product code, quantity ordered of each product, price of each item, order line number, etc. For each order, there is one order detail available. For each productline we capture the unique product line id, text description of the productline.
Each productline can have an infinite amount of products. This is optional for products. The products that are part of the productline have a one to one relationship. The orderdetails for the products also have a one to one relationship.
For all our products we keep the following information: product code (which is unique to each product), product name, productline, product scale, product vendor, product description, quantity in stock, price, etc. Our customers are optionally served by an one employee at a time, while our employees can serve as many customers as possible.
We keep employees’ details such as the employee id, last and first name, extension, email, job title, etc. Each employee works only in one office, while our offices have many employees. Note that not all employees serve customers, because we have some who are supervisors.
Please note that we have many offices within the same region, and we have offices in 6 provinces. So, our offices have a unique code, and each is their own city/region. Information such as the office phone numbers, addresses are important to us.”
Identify entity types and relationship.
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 4 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)