Computer Science Homework Solutions
Problem
#20837

Access Homework Help

Please see the attached instruction (another excel attachment is for Data part in the instruction).

And answer the following 5 questions below by drawing lines to connect the fileds in word.


1) Decide how many tables you will need, and which fields will be in each one.  Explain your reasoning for doing it this way, in writing.

2) Specify the data type for all fields.  Use the Leszynski Naming Convention for all table and field names.

3) Determine which relationships will need to be created, as well as the type of relationship.  Clearly indicate all proposed relationships in writing.

4) Decide which fields will be primary key fields and which ones will be the foreign key fields of the different proposed tables.



5) Indicate which fields will be connected to which fields in the relationships.  Make sure it will be clear to me when I look at your tables which fields will be connected to which other fields.



Attached file(s):
Attachments
Instruction.doc  View File
Final Project Data.xls  View File

Attachment Content Summary (Note: view attachment at the above link before purchasing. Actual attachment content may vary slightly from that shown below.)

Instruction.doc
Overview

 

 

You work for a company named World Wide Imports, which has customers
throughout the U.S.

 

You want to develop a database that contains the following:

 

        Customer names and addresses

        Contacts for each customer

        Sales reps within your company who handle customer
accounts

        Territories within which the sales reps operate

        The orders placed by customers

        A list of the different products your company sells to
the different customers

        Prices and descriptions of the products that you sell

 

 

You ultimately will be doing numerous queries, to extract different
pieces of information, including the following:

 

        Customers listed with contacts and the sales reps who
handle the account

        Customers listed with the products they have ordered

        The total product cost (List Price * Discount
Percentage, subtracted from List Price)

        Orders placed within a range of dates

        Customers within a particular territory who have
bought specific products

        A list of customers who are inactive, so that they may
be archived

        A list of the completed orders

        The total amount ordered by each customer

 

You plan to send letters to the contacts in all of the companies who
order from you, with information about new products.  Therefore, you
know that you will need all the necessary fields for a form letter mail
merge.

 

You want subdatasheets in your tables that will display the following:

 

        Customers with contacts

        Sales reps with customers and contacts within each
company

        Products with the orders that have been placed for
that product

        Territories with the customers in that territory, then
with the contacts for each customer.  [Each customer will potentially
have multiple contacts – President, Vice President, CEO, Marketing
Manager, etc.]

 

You will also, from time to time, want to see different pieces of
information displayed for the records in a table, and will therefore
need to change the contents of a subdatasheet. 

 

In order to make the data-entry process easier, you will create the
following:

 

        Input masks for phone and Zip Code fields

        Value lists whenever there is a finite number of
options from which the end-user can choose

        Validation Rules to control the values that are being
entered into fields

        Case control for the State field

        Required fields whenever certain information may not
be omitted

 

 

 

 

 

 

 

 

Specifics

 

 

There are 20 customers with whom you work.  You want to keep track of
the following information for each customer:

 

        Customer ID#

        Customer Name

        Customer Address

        Customer City

        Customer State

        Customer ZIP

        Customer Territory #

        The ID# of the Sales Rep who handles the account

        Whether the customer is active or inactive

 

There are 35 contacts for the different companies.  Some customers have
one contact, while others have as many as three.  The contacts need to
be tied to the company, so that you will be able to display the contacts
for each company in a
tabl⁥畳摢瑡獡敨瑥愠摮椠畱牥敩⹳ഠච潙⁵慷瑮琠
敫灥琠慲正漠⁦桴⁥潦汬睯湩⁧湩潦浲瑡潩潦⁲慥
挠湯慴瑣›ꀍ

0

2

B

а

в

т

T

V

f

ш

ъ

ꐓdꐔd⑛封Ĥ摧ᓈ‘᐀        Contact ID#

        Contact First Name

        Contact Last Name

        Contact Position

        Contact Phone

        Contact Title (Mr., Ms., etc.)

        The company to which the contact pertains

 

There are 8 territories in which the sales reps operate.  Each
territory has a code number (1 – 8) and a full name.

 

The territories will need to be tied to the sales rep, so that a given
territory may be displayed with its sales rep in a table subdatasheet
and in queries.

 

There are 8 sales reps, one for each territory.  The sales reps need to
be tied to the customers so that a sales rep may be displayed with
his/her customers in a table subdatasheet and in queries.

 

You want to keep track of the following information for each sales rep:

 

        ID #

        Last Name

        First Name

        Territory in which they operate

        Phone

        The number of hours they work

        The date they were hired

 

You need to maintain a list of the 49 products you sell.  You want to
keep track of the following information for the products:

 

        Product Code

        Description of the product

        Category

        Size

        Finish

        List Price

        Discount Percent

 

You also need to keep track of the orders placed by customers, including
the following information:

 

        Product code

        ID# of the customer who purchased the product

        ID# of the sales rep who handles the account

        Quantity ordered

        Date of order

        Date the order was filled

        Whether or not the order is complete

 

 

 

 

 

 

 

 

The Data

 

 

All of the data you need for this project have been created for you, in
an Excel workbook file named FINAL PROJECT DATA.XLS.  This Excel file
is one of the files you have downloaded from the server.

 

There are four sheets in the workbook file:

 

Customers, Contacts & Reps

Territories

Products

Orders

 

But be careful:  The layout of the sheets of data in the Excel file is
not necessarily the organization that will work for your tables.  In
fact, you can bet it isn’t.  (Things don’t work that easily when
we’re designing databases.).  You’ll need to look at the data
carefully and decide how it should be separated out for your tables.

 

As you begin this project, your first step (and this is a critical step)
is to decide how your tables are going to be organized.  Specifically:

 

Which fields will go in which table?

 

What will be the primary key field in each table?

 

What will be the foreign key field in each table?

 

How will each table be related to the other tables in the database, and
what type of relationship will it be?

 

Please take the time to plan this out, based on what you have to work
with (that is, the data in the Excel file).

 

 

 
Solution
What is this?
By OTA - Overall OTA Rating
Colette Bingham, MS (IP) - 4.6/5
Purchase Cost Now
$2.19 CAD (was ~$11.97)
Included in Download
  • Plain text response
  • Attached file(s):
    • TableRelationship.ppt
    • TABLES.doc
$2.19 Instant Download
Add to Cart
Why you can trust BrainMass.com
  • Your Information is Secure
  • Best Online Academic Help Service
  • Students find real academic Success
Related Solutions
  • Example of Database Relationships - Look for an example of a one-to-one relationship, an example of a one-to-many relationship, and an example of a many-to-many relationship in a newspaper, magazine, book, or everyday situation you enco ...
  • Give examples of the following Database relationships: one-to-one one-to-many many-to-many - Look for an example of a one-to-one relationship, an example of a one-to-many relationship, and an example of a many-to-many relationship in a newspaper, magazine, book, or everyday situation you enco ...
  • ref5) NOOP uses. - Many instruction sets contain the instruction NOOP, meaning no operation, which has no effect on the processor state other than incrementing the program counter Suggest some uses of this instruction.
  • Store and Region - 1. Describe the type(s) of relationship(s) between STORE and REGION. Draw the entity relationship diagram for the relationship between STORE and REGION. Draw the relational schema for the relationship ...
  • Compute the size of the program counter and the instruction register. - A 32-bit microprocessor has 32-bit instructions with 2 fields, 1st field: 1 byte, contains the opcode 2nd field: operand or operand address How many bits are needed for the program counter and t ...
Browse