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

  What is the role of the project manager

Discuss why many information technology professionals may overlook project cost managment and how this might affect completing projects within budget.

  Relational databases are more efficient and effective

Describe why relational databases are more efficient AND effective for data management in organizations. How does the task of data normalization help to achieve these goals?

  Examine use of database applications in organization

Prepare a memorandum examining use of databases in organization. Write database applications are used: Microsoft Access, DB2, Oracle, etc.

  Describes a virtualization project

Subsequently, the evaluation of the project is based on different types of virtualization mechanisms compared to standard physical server deployment.

  How can you drop a table from your database that has one or

how can you drop a table from your database that has one or more other tables referencing it with foreign keys?no words

  Write the functional dependencies in the table

Write the functional dependencies in the table which concerns invoicing (an application Premiere Products is considering adding to its database), subject to the specified conditions.

  Modify oracle table data using the correct sql statements

modify oracle table data using the correct sql statements. you must create the statements in oracle by using the

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Explain relation schema and set of functional dependencies

Consider relation schema r(A,B,C,D,E, F) and a set of functional dependencies {A BCD,BCDE,BD,DA}. Calculate canonical cover for set of functional dependencies (show each step of your derivation with an explanation).

  Explain evaluating a proposal for acquisition and sourcing

When evaluating a proposal for acquisition and sourcing, are there considerations that are unique in the case of an IT project versus a non-IT project

  Determine airports with late flights to toronto-database

Determine airports with late flights to Toronto on a big plane. "Late" means departing after 9:00pm; "big" means with capacity 150 passengers or more

  Create database for cover 2010 tour de france cycling race

Draw an Entity-Relationship diagram for this database using UML notation. Be sure to include all the entities mentioned above, together with attributes (including primary key attributes).

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