Create a one to many relationships

Assignment Help Database Management System
Reference no: EM131851387

Requirements - Please create an MS Access File named "Sales Data" and do the following in this file:

1. Create a table (name the table "Customers") with the following fields which adhere to the stated requirements:

a. Customer ID

    i. Field data type - AutoNumber

    ii. This should be the Primary Field

b. Customer Name

    i. Field data type - Short text

    ii. First alphabet must be capital, following alphabets lower case

    iii. This field is required and zero length should not be allowed

c. Address

    i. Field data type - Short text

    ii. This field is required and zero length should not be allowed

d. State

    i. Field data type - Short text

    ii. Field Size should be 3

    iii. Create a validation rule, where you will only be able to enter the following for state: VIC, WA, TAS, NT or QLD (states should be all uppercase)

    iv. This field is required and zero length should not be allowed

e. Sales Rep ID

    i. Field data type - Number

    ii. This field is required

f. Initial sales date

   i. Example of how date should be keyed in and how date should appear: 21-Jan-2017

  • Month should be only 3 alphabets, first letter must be capital, remaining 2 letters must be lower case
  • Year must have 4 numbers

2. Fill in customer records included in the word document e-mailed to you

3. Create another table (name the table "Sales Rep") with the following fields which adhere to the stated requirements:

a. Sales Rep ID

    i. Field data type - AutoNumber

    ii. This should be the Primary Field

b. Sales Rep Name

    i. Field data type - Short text

    ii. First alphabet must be capital, following alphabets lower case

    iii. This field is required and zero length should not be allowed

4. Fill in Sales Rep records included in word document e-mailed to you

5. Import data from excel spreadsheet e-mailed to you and name the new table "Orders"

6. Use design view to ensure "Sales Rep ID" in "Orders" table has the same "Field Size" as "Sales Rep ID" in the "Sales Rep" table.

7. Use design view to ensure "Customer ID" in "Orders" table has the same "Field Size" as the "Customer ID" in the "Customers" table

8. Create a one to many relationships between the "Sales Rep" and "Customers" tables and ensure that a non-existence Sales Rep ID number will not be able to be entered in customer table. (Hint: Click "Enforce Referential Integrity".

9. Create a one to many relationships between the "Sales Rep" and "Orders" tables and ensure that a non-existence Sales Rep ID number will not be able to be entered in Order table. (Hint: Click "Enforce Referential Integrity".

10. Create a one to many relationships between the "Customers" and "Orders" tables and ensure that a non-existence Customer ID number will not be able to be entered in Order table. (Hint: Click "Enforce Referential Integrity".

11. Create a query with user input fulfilling the following requirement (name the query "Sales by individual sales rep"):

a. Input required should be sales person's name (sales rep's name should not appear on the query)

b. Other information that should be included

    i. Customer Name (from "Customers" table)

    ii. Product Code (from "Orders" table)

    iii. Quantity (from "Orders" table)

12.  Create a report from the query above. Format the report so that each time a report is prepared, the sales rep's name will appear on the report. (make sure the label for this is "Sales Rep")

Attachment:- data.zip

Verified Expert

The solution file is prepared in ms access we created three tables customer,order,sales and inserted values into tables.Order table of the table imported from excel sheet and we have written query to display the sales rep name of the sales and generate the report . Finally we formatted report as per requirement.

Reference no: EM131851387

Questions Cloud

Design an application that enables users to enter two values : Design an application that enables users to enter two values of type int. Write a method that retrieves the values and stores them and their products.
What the weighted ife and efe scores mean : What the weighted IFE and EFE scores mean for that organization from a strategic planning point of view.
What exception would be thrown if arithmetic were performed : What type of exception would be thrown if the following arithmetic were performed? double aValue = 0, bValue = 0; int result = (int) aValue / (int) bValue;
What type of exception would thrown if statement attempted : What type of exception would be thrown if a program statement attempted to access location 0 in an array defined to hold 20 elements?
Create a one to many relationships : BIS 101 Business Information Systems Create an MS Access File named "Sales Data" and do the Create a validation rule, where you will only be able to enter
What type of exception would be thrown user enter wrong type : What type of exception would be thrown if the user enters the wrong type of data when requested from the keyboard? System.FormatException.
Evaluate or change variables in your program : The Debugger lets you break, or halt, the execution of your program to examine your code, and evaluate or change variables in your program.
What led most directly to increased government involvement : What led most directly to increased government involvement with regulating business and its dealings with society?
Which challenge do you feel would be the most difficult : Which challenge do you feel would be the most difficult for you to adapt to and give your reasons why.

Reviews

inf1851387

4/9/2018 4:58:42 AM

Hiii guys! I am happy to pay u this amount Australian $, that’s fine? If it’s fine for u then u can continue with my assignment. i am thankful to your team. Just because i am your regular customer, you are charging just tutor's fee for me, great privilege meant received from your side. Please also give me source code or SQL queries involved in while solving the assignment.

Write a Review

Database Management System Questions & Answers

  Database management system create a database design

database management system create a database design specification enhanced entity relationship diagram eerd and

  Describe the objectives of the database environment

Describe the objectives of the database environment and Describe the problems and constraints

  Solve the serious data redundancy problems

One of the many problems with data redundancy is the likely occurrence of data inconsistencies-two different initials have been entered for the teacher named Maria Cordon.)

  Translation from erd to the relational model

Complete (i.e., reverse engineering) ER diagram below such that 4 relation schemas above are exactly result of a translation from the ERD to the relational model.

  How healthcare data sets are used in healthcare settings

For each data set, your analysis should include the purpose of the data, type of setting, secondary data sources classification, reporting process and frequency (i.e., quarterly, annually), and other important components. Utilize this unit's readi..

  Create an entity relationship diagram

You need to create an Entity Relationship (ER) diagram relevant to the above case study and perform logical design to produce appropriate3NF Relations.

  Create at least five forms within database to capture data

Create at least five forms within the Microsoft Access database to capture data. Include at least one form with an incorporated sub form.

  Design a relational database so that it is at least in 3nf

Design a relational database so that it is at least in 3NF.Explain typical situations when denormalizing a table is acceptable. Provide one (1) example of denormalizing a database table to justify your response.Explain the significant manner in wh..

  Create the relational model

Create the relational model corresponding to the described application. Basically, list the CREATE TABLE statements with the attribute names, and appropriate data types.

  Display customer id from the order table

write a query to display customer id from the order table associated with order id in given database.

  Build an entity relationship model for the above scenario

Draw a DFD (Context and Level 1) for placing an order based on the E-R diagram shown here.

  Provide an unique example of a supertypesubtype

provide an unique example of a supertypesubtype relationship. be sure to describe the relationship and discuss if the

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