Question

Sample data is provided for the database for the sales system. Using the sample data, you...

Sample data is provided for the database for the sales system. Using the sample data, you will determine the entities, key components of the entities, and business rules for the entities. Using the entities and business rules you will then create an ERD. Tasks:

1. For each entity provide the name, description, fields, data type, primary key, and foreign key.

2. For each direct entity type pair, provide the business rules.

3. Provide the ERD.

Customer Table

Customer ID, Last Name, First Name, Street Address, City, State, Zip Code, Current Balance, Credit Limit, Sales Rep. ID

Sales Representatives Table

Sales Rep ID, Last Name, First Name, Street Address, City, State, Zip, Region, Region Description, Total Commission, Commission Rate

Orders Table

Order ID, Order Date, Customer, Shipping Date,

Order Lines

Order ID, Part ID, Number Ordered, Quoted Price

Part Table

Part ID, Part Description, Units on Hand, Class, Warehouse Number, Unit Price

0 0
Add a comment Improve this question Transcribed image text
Know the answer?
Add Answer to:
Sample data is provided for the database for the sales system. Using the sample data, you...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Develop an EER (ER) model for the following situation using traditional EER notation.  You have been hired...

    Develop an EER (ER) model for the following situation using traditional EER notation.  You have been hired by a new start-up company, IT Consulting – a company that consults with corporations to determine their security needs. You came up with the following set of entities, attributes and business rules: CONSULTANT 2 types of consultants – business consultants and technical consultants.  Business consultants first work with a company for security needs, technical consultants perform services according to specs developed by business consultants. Attributes...

  • 1) Create Conceptual Schema Diagram 2) Create a fully attributed Loagical Data Model Diagram 3) Create...

    1) Create Conceptual Schema Diagram 2) Create a fully attributed Loagical Data Model Diagram 3) Create the SQL script that will generate the data model Develop an EER model for the following situation using the traditional EER notation, the Visio notation, or the subtypes inside supertypes notation, as specified by your instructor: Wally Los Gatos and his partner Henry Chordate have formed a new limited partnership, Fin and Finicky Security Consultants. Fin and Finicky consults with corporations to determine their...

  • Wally Los Gatos and his partner Henry Chordate have formed a new limited partnership, Fin and...

    Wally Los Gatos and his partner Henry Chordate have formed a new limited partnership, Fin and Finicky Security Consultants. Fin and Finicky consults with corporations to determine their security needs. You have been hired by Wally and Henry to design a database management system to help them manage their business. Due to a recent increase in business, Fin and Finicky has decided to automate their client tracking system. You and your team have done a preliminary analysis and come up...

  • SQL queries and procedures TABLE: Employees Business Rules: EmployeeID is defined as the primary key. Address...

    SQL queries and procedures TABLE: Employees Business Rules: EmployeeID is defined as the primary key. Address has been denormalized to include City and State for performance reasons. DeptNbr is a foreign key that references DeptNbr in the Department table Manager is a foreign key that references EmployeeID in the Employees table Data Structure: (EmployeeId, LastName, FirstName, Street, City, State, Zip, DateOfHire, DateOfBirth, JobTitle, Salary, DeptNbr(fk), Manager(fk)) TABLE: Department Business Rules: DeptNbr is defined as the primary key. Data Structure: (DeptNbr,...

  • --Create procedure for GetPartNums in SQL --GetPartNums- retrieve all part nums from the database --Database if...

    --Create procedure for GetPartNums in SQL --GetPartNums- retrieve all part nums from the database --Database if db_id('TestPremierProducts') is not null begin use master alter database TestPremierProducts set SINGLE_USER with rollback immediate drop database TestPremierProducts end create database TestPremierProducts go USE TestPremierProducts; go /* create the tables */ CREATE TABLE Rep (RepNum int Identity(1,1), LastName VARCHAR(15), FirstName VARCHAR(15), Street VARCHAR(15), City VARCHAR(15), State VARCHAR(2), Zip VARCHAR(5), Commission MONEY, Rate DECIMAL(3,2), PRIMARY KEY (RepNum)); go CREATE TABLE Customer (CustomerNum int Identity(1,1) PRIMARY...

  • 16. Using the descriptions of the attributes given in the figure, convert the ERD shown in...

    16. Using the descriptions of the attributes given in the figure, convert the ERD shown in Figure P6.1 into a dependency diagram that is in at least BCNE. Figure 6.1 for problem 16. -- Initial ERD for Problem 16. APPOINTMENT PK App Num FK1 Doc_EmplD DOCTOR App_Date App_Time PK Doc EmplD App_PatientID App Name DocFname App_Phone Doc Lname App_Street Doc Cell Phone App_City App_State App Zip Doc_EmpID: Employee ID for the doctor. App Status Doc Fname: Doctor's first name. Doc_Lname:...

  • For cach store provide the number of different films rented this year, the number of employees at...

    #SQL #Oracle Can anyone help me with this question?? Here is the tables: For cach store provide the number of different films rented this year, the number of employees at the store, and the average number of different films rented per sales representative. Also, provide the grand total (the same calculations for stores altogether) FILM LSTORE EMPLOYEE refers to manages S1 (0, N) INVENTORY MANAGER SALES REP EMBER . N registers rented a (0, N) RENTED ITEM ues (0, N)...

  • please complete this ERD diagram with proper signs and lines and write all tables in a...

    please complete this ERD diagram with proper signs and lines and write all tables in a text format highlighting all PK's and FK's table User PK User ID Login ID Password Level First Name Middle Name Last Name table Tenant table Employee PK Tenant ID PK Employee ID FK1 User ID Tenant Unit No Building ID Tenant Address Tenant City Tenant State Tenant Zip Tenant Phone FK1 User ID Employee Title Employee Address Employee Age Employee Salary table Work Order...

  • A database used for a toy store that keeps track of the inventory and purchase orders...

    A database used for a toy store that keeps track of the inventory and purchase orders from the store. All clients will have their membership ID card to shop. This database will help the store to keep track of their orders. It will also help the store to know how many products are available in the inventory. It is necessary to have a membership to purchase a product. The customer can also bring coupons to get discount. Key attributes: Salesman:...

  • A database used for a toy store that keeps track of the inventory and purchase orders...

    A database used for a toy store that keeps track of the inventory and purchase orders from the store. All clients will have their membership ID card to shop. This database will help the store to keep track of their orders. It will also help the store to know how many products are available in the inventory. It is necessary to have a membership to purchase a product. The customer can also bring coupons to get discount. Key attributes: Salesman:...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT