Please Review Database Tables for Advanced Database Class

Click For Summary
The discussion centers on the requirements for a database design in an advanced database class, focusing on tracking customer and supplier transactions, employee roles, and product inventory. Key points include the need for a minimal number of tables for address and employee information, with specific attributes for customer-facing and internal support employees. The user seeks feedback on their entity-relationship diagram (ERD) and table structure to ensure accuracy before proceeding to SQL code development. The urgency is highlighted by an upcoming assignment deadline, and the user requests constructive criticism rather than irrelevant comments. The conversation emphasizes the importance of proper entity definitions and relationships in the database design.
iamjon.smith
Messages
117
Reaction score
3
After you have analyzed the existing material used by the company for their day-to-day duties, the current Access database, and the additional requirements that the current system does not meet, the following requirements entity/attributes have been compiled:

Customer information is tracked using ‘standard’ attributes.
A customer may purchase products or services; if they purchase products or services, the following is tracked:
Product purchased
Date of purchase
Total of purchase

A supplier may sell products or services; if they sold products or services, the following is tracked:
Product sold
Date of sale
Total of sale
Is item purchased available for resale

Your company wants to keep the number of tables storing address information to a bare minimum (read this as 1).

Customers can be both a "supplier" and "someone that purchased services," and it is not required that they be either.

Employee information is tracked using standard attributes.

An employee will either be considered customer interfacing or internal support.

If the employee is customer facing, the following information is tracked:
Customer for interaction (note that a customer will only interface with a single employee)
Product specialty
Hours of training
Commission rate

If the employee is internal support, then the following is tracked:
Salary
Support area

An employee can be either customer facing or internal support, but not both.

Your company wants to keep the number of tables storing generic employee information to a bare minimum (read this as 1).

Finally, the company wants to track products or services offered. This should be a single table with typical attributes that describe inventory.

Every customer that either makes a purchase or sells goods to the company must be associated with an employee.

Every transaction that a customer makes with the company is stored/tracked, A customer may buy or sell many products, and a product is sold to more than one customer.

Create an enhanced ERD to meet these requirements. Ensure that entities are properly defined and appropriate attributes are listed for each entity. Also, ensure that all entities are properly related.

Tables show All Tables with Table Name, Foreign Keys, and Primary Keys. Basic Relationships are also indicated.

I have been graded on this assignment already, and I think I have fixed my tables, but am not confident I am ready to move on to the next phase which is to provide the SQL code that would actually build the tables. Could someone review the tables I have created and let me know if everything is right, or point out what is wrong so that I can fix it. Any advice would be greatly appreciated. The next assignment due date is Monday 8/13, but the sooner I fix my tables, the better!


Logical_Data_Model.jpg
 
Physics news on Phys.org
Is this really a physics question?
 
Is this really a physics question?

No, it is not a physics question. That is why I placed this question in the "Engineering, Comp Sci, & Technology" discussion board, inside the "Homework & Coursework Questions" board.

This is a Comp Sci Engineering Coursework/Homework question.

Please do not post trash responses just to get your post number up. Either help, or don't help, but don't be a jerk.
 

Similar threads

  • · Replies 92 ·
4
Replies
92
Views
7K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
2
Views
3K
Replies
12
Views
2K
  • · Replies 7 ·
Replies
7
Views
10K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 108 ·
4
Replies
108
Views
19K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
4
Views
3K