Create a one to many relationships

Assignment Help Database Management System
Reference no: EM131998395

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")

Verified Expert

The task of the assignment is to create a access database named Sales Date. The database is created with Customers table, Sales Rep table. The table is then filled with the provided data. The data in Orders.CSV file is imported into the Sales Data table and the data are loaded into the Orders table. A relationship among the table is defined The table is queried for the data and the report is generated.

Reference no: EM131998395

Questions Cloud

Discuss changes you make to your digital media presentation : Discuss the changes you would make to your digital media presentation, including visual enhancements, if you wanted to disseminate it to a wider audience.
Organizational behavior related to social networking : Explain how the IT organization can maintain an ethical posture while managing organizational behavior related to social networking.
How is quality of life perceived in our community : Create a presentation that demonstrates your chosen public health intervention and provides information about your MAPP matrix and the pertinent FOA.
Three negative impacts of social networking : List three positive and three negative impacts of social networking. In your opinion, determine whether the positive impacts outweigh the negative
Create a one to many relationships : 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
Execution of the service delivery life cycle : Review the steps of the SDLC. Explain why quality service delivery depends on the execution of the service delivery life cycle.
Bridge between enterprise finance : Critique the idea that the CIO can be a bridge between enterprise finance, marketing, and sales functions. Justify the legitimacy of the statement.
Information on the network : Are there any potential issues with advertising all of this information on the network?
How can these principles increase reduce costs : How can these principles increase reduce costs and increase the efficiency of pharmacpharmacy operations.

Reviews

len1998395

5/28/2018 1:52:16 AM

1. In the beginning of Week 9, students will be e-mailed a word document with data for 2 tables and an excel worksheet with data for another table. There are a number of versions that will be e-mailed to individual students and students must use the version e-mailed to them. If the answers that are uploaded are different from that e-mailed to the individual student, that student will not be awarded any marks. 2. The documents will be sent to your Stotts e-mail address. If you did not receive it in the beginning of Week 9, please let your lecturer know.

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