Identify the primary key for each entity with an asterisk

Assignment Help JAVA Programming
Reference no: EM131588917

Suggested approach to solve this problem:

STEP 1: This should be on paper

1) Identify the entities and attributes hidden in the Excel spread sheet.
a) Potential Entities: Customer, Order, ITEM, Ordered- ITEM and Shipper ian be represented with a rectangle.

CUSTOMER

*Customer Number

Customer Address

Customer State

Customer Zip

Customer Distance

ITEM

*ItemNo

ItemDescription

Item weight

Item Cost

ItemPrice

ITEM

*ItemNo

ItemDescription

Item weight

Item Cost

ItemPrice

b) Identify each column on the spread sheet as a potential attribute of some entity (e.g. address belongs to the customer, price belongs to an entity called product) Please Note: At this stage, remember the calculated fields should not be identified as potential attributes. Ignore the calculated fields
c) Identify the primary key for each entity with an asterisk.
d) Make sure that each entity is in Third Normal Form. (if you are not sure about the term "Normal Form" , go back to the Perry book and the Kent Article. Remember the calculated fields can be created by a query in MS Access.
e) Determine the relationships between the entities you have just identified. For instance CUSTOMER and ORDER relationship is One-to-Many. To relate CUSTOMER to ORDER, add customer number as an attribute to the ORDER entity.
f) Identify Many-to-Many relationships. In this example, the relation between ITEM and ORDER is Many-to-Many. An ITEM may be ordered more than once, and one ORDER might have more than one item. To avoid this type of relationships create intersection entities by using the keys from each of those entities in the following format. In our example we solve this problem by creating an intersection entity call it ORDERED-ITEMS. This an intersection entity and it owes its existence to the ITEM and ORDER entities. Accordingly it is identified by a composite key.

ORDERED-ITEM

*ItemNo

*Order Number Qty Ordered

STEP 2: This part should be in Access
1. Create Tables to represent each entity and add each attribute as a field in MS Access
2. Create the relationships between the tables you created by using foreign keys.
3. Select the menu option "Database Tools" and create a relationship between the tables you created. Save your results (Hint: See the upper half of the attachment called "CreateCalculatedField`)

STEP 3: Using the data in Excel spreadsheet, populate the data base tables.

STEP 3: Create a Query

1. Create a query adding all the tables and all the fields in your tables using Query Design mode. There are other alternatives to creating queries, such as wizards, but in my opinion the easiest alternative is Query Design approach.

2. While still in the Query Design mode, create the calculated fields using the formulas as shown in the attached screen shot "CreateCalculatedField.JPEG"

3. Run your query to see whether the results are OK and save the query.

STEP 4:Using the CustomerInvoice.pdf as your guide create a report of receivables in the Report Wizard mode.

Attachment:- Customer Invoices.rar

Reference no: EM131588917

Questions Cloud

American businesses in the international arena : Consider an ethical issue faced by American businesses in the international arena. What are the ethical issues involved?
Have you ever lost a file on your computer : Have you ever "lost" a file on your computer? Did you save it somewhere but when you came back to open it again you could not find it?
What role did you take in your team : What role did you take in your team? How did the team decide which items were most important (describe the process your team used to decide).
Proper balance between content producers and public good : Discuss a current ethical issue in the business world that arises out of intellectual property. Research and discuss at least one case.
Identify the primary key for each entity with an asterisk : Identify the entities and attributes hidden in the Excel spread sheet - Identify each column on the spread sheet as a potential attribute
Has the criminal justice policy been modified over the years : Your initial discussion thread is due on Day 3 (Thursday) and you have until Day 7 (Monday) to respond to your classmates.
Future state of the us economy : Based on what you have learned in this course so far and what you have read from outside sources or other publicly available information
What would happen to consumption : What would happen to consumption, saving, and work if the government borrowed money to wage war and only paid the interest payments
Major features of monopolistic competition : 1. Describe the major features of monopolistic competition compared to pure competition and pure monopoly.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Given the following data definition classpublic class exam

given the following data definition classpublic class exam private static int totalpublic static void settotalint t

  Constructor that accepts a file name as its argument

Write a class with a constructor that accepts a file name as its argument. Assume the file contains a series of numbers, each written on a separate line. The class should read the contents of the file into an array, and then displays the following..

  Write a java program

To become familiar with how infix expressions can be converted to postfix expressions.

  How are exceptions caught

How are exceptions caught? When should Exception Handling be used

  Object oriented programming-getting started with classes

Suppose you are car shopping and want to store information about possible choices. Model, and implement an automobile class. Use a UML drawing tool such as Umbrello or Microsoft Visio to create a class diagram. Your class should have at least cons..

  Most of the companies use virtualization to make test

write a 200- to 300-word short-answer response to the following many companies use virtualization to create test

  What are the benefits of documenting

What are the benefits of documenting our programs in Java?

  Discuss the necessity of designing programs to handle except

Discuss the necessity of designing programs to handle exceptions of various types

  Write a java program to play game of lightsout

Write a java program to play game of LightsOut - prepare a java program to play the game of lightout.

  Write a method to save a linked list to a text file

Write a method to save a Linked List to a text file called file.txt. It must save the Linked List to the file with each node on a different line.

  Hash-join algorithm

In this assignment, you will have a chance to implement the hash-join algorithm for a DBMS. You can use C, C++, or Java to write the program. However, your program should include su- cient comments to make it readable. You need to turn in

  What would the code for a java application look like

What would the code for a java application look like with these requirements - Finally prints on a separate line the two input strings 'in reverse'

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd