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

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

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