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

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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