Create a query using the simple query wizard

Assignment Help Database Management System
Reference no: EM13759330

Project Description:

The Morris Arboretum tracks donors to their organization in Microsoft Excel. The Arboretum also uses Excel to store a list of plants in stock. As donors contribute funds to the Arboretum, they could elect to receive a plant ‘gift' of appreciation from the Arboretum. You plan to continue gifting plants to donors as part of the Arboretum's membership drive. The organization has grown and the files are too inefficient to handle in Excel, however, so you decide to use Microsoft Access for future Arboretum records. In the following project, you convert Excel files into an Access database for Morris Arboretum.

Instructions:

Start Access. Open the downloaded Access file named exploring_a02_grader_h1.

Create a new table in Datasheet view using the name Donations. Switch to Design View and change ID to DonationID. Add the following field names to the table: DonorID, PlantID, DonationDate, and DonationAmount (in that order).

Change the Data Type for the DonorID and PlantID fields to Number. Change the Data Type for the DonationDate field to Date/Time, and then change the Data Type for the DonationAmount field to Currency.

View the table in Datasheet view and then add the following records to the Donations table letting Access assign the DonationID:

DonorID       PlantID           DonationDate             DonationAmount

24                15                7/17/2014                  1200

9                  11                8/1/2014                    1500

14                9                  8/15/2014                  150

3                  4                  9/1/2014                    1250

18                7                  9/2/2014                    4600

14               11                 9/9/2014                    450

Sort the records in the Donations table by the DonationAmount field in descending order. Save and close the table.

Import the downloaded a02_grader_h1Plants.xlsx workbook as a new table in the current database. Using the wizard, specify that the first row contains column headings, set the PlantID field to be indexed with no duplicates, and set the PlantID field as the primary key. Import the table with the name Plants and do not save the import steps.

View the Plants table in Design view and change the field size for the PlantID field to Long Integer. Save the table and the changes to the design of the table. Click Yes in the dialog box indicating that some data may be lost. Close the table.

Begin establishing relationships in the database by adding the Donations, Donors, and Plants tables to the Relationships window. Close the Show Table dialog box. Create a one-to-many relationship between the DonorID field in the Donors table and the DonorID field in the Donations table, enforcing Referential Integrity. Select the option to cascade update the related fields.

Create a one-to-many relationship between the PlantID field in the Plants table and the PlantID field in the Donations table. Enforce Referential Integrity. Select the option to cascade update the related fields. Save and close the Relationships window.

Create a query using the Simple Query Wizard. From the Donations table, add the DonorID and DonationAmount fields (in that order). Ensure the query is a Detail query. Name the query Donations over 500 and finish the wizard.

View the query in Design view, and then set the criteria for the DonationAmount field so that only donations greater than 500 are displayed.

Sort the query in descending order by the DonationAmount field. Save the query. Run the query and then close the query.

Create a new query in Design view. Add the Donations, Donors, and Plants tables to the query design window. Close the Show Table dialog box. Add the DonationDate field from the Donations table, the donor's Lastname, Firstname, and Phone fields from the Donors table (in that order).

Add the DonationAmount field from the Donations table after the Phone field, and then add the PlantName field from the Plants table.
Sort the query in ascending order by the date of the donation and then by the last name of the donor in ascending order. Save the query with the name Plant Pickup List, and then run the query. Close the query.

Close all database objects. Close the database and then exit Access. Submit the database as directed.

Attachment:- plants.rar

Reference no: EM13759330

Questions Cloud

What is involved in monitoring and controlling projects : Why is it important to keep the risk register up to date? Why is it important to document contract changes? Why should project teams be watchful for constructive change orders? What is involved in monitoring and controlling projects?
Customers were complaining about the texture and taste : If you ran a relatively small bakery and found that customers were complaining about the texture and taste of your blueberry muffins, which of the following quality tools would you use to understand and fix the problem? Specifically why would you use..
Gametic incompatibility reproductive barrier : What effects do you think that climate change will have on gametic incompatibility reproductive barrier?
What unit selling price must the owner obtain to break-even : A small business owner is contemplating the addition of another product line. Capacity increases and equipment will result in an increase in annual fixed costs of $50,000. Variable costs will be $25 per unit. What unit selling price must the owner ob..
Create a query using the simple query wizard : Start Access. Open the downloaded Access file named exploring_a02_grader_h1. Create a new table in Datasheet view using the name Donations. Switch to Design View and change ID to DonationID. Add the following field names to the table: DonorID, Plan..
Compute the annual holding cost-total purchase cost : Given the following information for an important purchased part, compute the Total purchase cost, Annual holding cost, Annual order cost. Use Microsoft Excel to plot the cost curves (annual holding cost, annual order cost and annual total cost) on th..
Explain what is meant by the statement : 1.Compare the embryos of chickens, humans and fish, and describe in detail how pharyngeal arches show a shared evolutionary past?.2.Explain how reproductive barriers result in the development of different species..3.Explain what is meant by the state..
How could a restaurant chain organization operating : How could a restaurant chain organization operating turnpike food services make such an estimate? How could a regional airline?
An epidemiologist for the centers for disease control : A recent Super Virus has swept our great nation and is threatening our human existence! It has been called to the attention of the president and he has issued an executive order to help combat this unprecedented situation. You will be working as an e..

Reviews

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