Create a relationship between two tables

Assignment Help Database Management System
Reference no: EM13803251

Project Description:

In this project, you will use a database to answer questions about concerts in the local college area. You will create a relationship between two tables, create a query from an existing query, and create queries using text, numeric, compound, and wildcard criteria based using the fields in one or both tables. You will create calculated fields, group data when calculating statistics, create a crosstab query, and create a parameter query.

Instructions:

1. Start Access. Open the downloaded file named go_a02_grader_a3_Concerts_Sponsors.accdb, and then enable the content.

2. Using Sponsor ID as the common field, create a one-to-many relationship between the Sponsors table and the Concerts table. Enforce referential integrity and enable both cascade options. Create a relationship report with normal margins, saving it with the default name. Close all open objects.

3. In the last record of the Sponsors table, change the Sponsor ID from SPONSOR-108 to SPONSOR-100, and then close the table. (The related records in the Concerts table will automatically update.)

4. Copy the Concerts $1000 or More Query to create a new query with the name Jan-Apr Concerts Query. Redesign the query so that the following fields display in the order given: Date, Concert Name, Concert Location, and Box Office Receipts. Sort the records in ascending order only by the Date field. Do not restrict the results by Box Office Receipts. Set the criteria so that when you run the query only those records display for a date between 1/1/18 and 4/30/18. Run the query (five records display). Close the query, saving the changes to the query.

5. Create a query in Query Design view based on the Concerts table. Add the following fields to the design grid in the order given: Date, Concert Name, Concert Location, and Box Office Receipts. Sort the records in ascending order by the Date field. Set the criteria so that when you run the query only those records display for a concert location of Georgetown Community Theater or Austin City Center and for box office receipts that have an amount that is greater than 1000. Run the query (four records display). Save the query as GCT OR ACC Over $1000 Query, and then close the query.

6. Create a query in Query Design view based on both tables. Add the following fields to the design grid in the order given: Sponsor Name, Concert Name, and Concert Location. Sort the records in ascending order by the Concert Location field. Set the criteria so that when you run the query only those records display for a sponsor name that has radio anywhere in its name and for a concert name that ends in festival. Run the query (two records display). Save the query as Radio Festivals Query, and then close the query.

7. Create a query in Query Design view based on the Concerts table. Add the following fields to the design grid in the order given: Concert ID, Concert Name, Concert Location, Sponsor ID, and Date. Set the criteria so that when you run the query only those records display that are missing the date. Run the query (two records display). Save the query as Missing Concert Date Query, and then close the query.

8. Create a query in Query Design view based on both tables. Add the following fields to the design grid in the order given: Concert ID, Sponsor Name, and Box Office Receipts. Sort the records in ascending order by the Concert ID field. In the fourth column of the design grid, create a new field named Sponsor Donation that will calculate and display the donation amount when the Sponsor donates an amount equal to 50 percent (0.5) of each box office receipts amount to the Music Department. Run the query (the second record-EVENT-102-has a Sponsor Donation of 287.5).

9. Display the query in Design view. In the fifth column of the design grid, create a new field named Total Donation that will calculate and display the total donation when the box office receipts amount is added to the sponsor's donation amount. Run the query (the second record-EVENT-102-has a Total Donation of $862.50).

10. Display the query in Design view. Use the Property Sheet to format the Sponsor Donation field as Currency with 2 decimal places, and then close the Property Sheet. Run the query, apply Best Fit to the fields, save the query as Sponsor Donation Query, and then close the query.

11. Create a query in Query Design view based on the Concerts table. Add the following fields to the design grid in the order given: Concert Location and Box Office Receipts. Sort the records in descending order by the Box Office Receipts field. Sum the Box Office Receipts field. Use the Property Sheet to format the Box Office Receipts field with 0 decimal places, and then close the Property Sheet. Run the query (for the Concert Location of Georgetown Community Theater, the sum of the box office receipts is $7,850). Apply Best Fit to the fields, save the query as Receipts by Location Query, and then close the query.

12. Use the Query Wizard to create a crosstab query based on the Concerts table with the Sponsor ID field as row headings and the Concert Location field as column headings. Sum the Box Office Receipts field, and name the query Sponsor and Location Crosstab Query. Display the query in Design view. Use the Property Sheet to format the last two columns with 0 decimal places. Run the query, apply Best Fit to the fields, save the query, and then close the query.

13. Create a query in Query Design view based on the Concerts table. Add the following fields to the design grid in the order given: Concert Name, Concert Location, Box Office Receipts, and Sponsor ID. Sort the records in ascending order by the Concert Name field. Set the criteria so that when you run the query you are prompted to Enter the Sponsor ID in the format SPONSOR-###. Run the query, and when prompted, enter SPONSOR-101 as the criteria (six records display). Display the query in Design view and hide the Sponsor ID field from the results. Run the query again, entering SPONSOR-101 when prompted. Save the query as Sponsor ID Parameter Query, and then close the query.

14. Be sure that all database objects are closed, open the Navigation Pane, and then close Access. Submit the database as directed.

Attachment:- go_a02_grader_a3_concerts_sponsors.accdb

Reference no: EM13803251

Questions Cloud

Image or symbol in a single emily dickinson : Examine a image or symbol in a single Emily Dickinson or Walt Whitman poem, explaining how it function in contributing to the poem's overall meaning.
Dispose of old computer equipment : What are important considerations for an organization to dispose of old computer equipment? What methods would work best for the organization in which you are working or have worked?
Communication and electronic written communication : Are there differences in the content requirements between paper communication and electronic written communication? If so, what are the differences? If not, why are there no differences?
Fallacy and rhetoric : What are two examples of persuasion that are not valid arguments according to the text? Why are these invalid arguments?
Create a relationship between two tables : In this project, you will use a database to answer questions about concerts in the local college area. You will create a relationship between two tables, create a query from an existing query, and create queries using text, numeric, compound, and ..
What is the length of the fiber : What is the total of the daily increases in time - what is the length of the fiber?
Project risk management : Describe some of the tools and techniques that you can use as a project manager to mitigate risk in your projects. Support your response.
Knowledge and the sacred by seyyed hossein nasr : Summarize the following book's underlying arguments: Knowledge and the Sacred by Seyyed Hossein Nasr. Then, offer an analysis of the author's arguments which will give you the chance to think critcally about this important book.
What is average productivity : What is average productivity? What is marginal productivity? Explain the relationship between average and marginal productivity.

Reviews

Write a Review

Database Management System Questions & Answers

  Vehiclerentaloz data warehousevehiclerentaloz is a large

vehiclerentaloz data warehousevehiclerentaloz is a large chain of vehicle rental company over 500 stores distributed

  Prepare the layout for the buysell database- the general

chris and pat aquino own a successful isp internet service provider and want to expand their business to host an

  Creating database structure using sql

creating database structure using SQL

  Give an example of an update that is definitely slowed

The title of the ?rst record in the previous set, and the primary key of the ?rst record in the previous set.

  Code an oracle database trigger

Code an Oracle Database trigger to enforce the constraint that an employee can never change his or her department.

  Explain the security mechanisms available for a database

Be typed, double spaced, using Times New Roman font (size 12), with one-inch margins on all sides; citations and references must follow APA or school-specific format. Check with your professor for any additional instructions.

  Analyse a set of data and write a memo

To analyse a set of data, and write a memo, identifying and explaining your insights into the operation of Todd Restaurants.

  Database application development question

Submit an Executive Memo addressed to the CIO and the board of directors. Last week, the CIO reviewed your presentation and has decided to move forward with your recommendations for improvements.

  Create a sequence and a communication diagram

Create a sequence and a communication diagram for each scenario of each use case identified in the functional model. Create a behavioral state machine for each of the complex classes in the class diagram

  What advice would you give the managers of this company

Advice given to managersThe storage system that best fits the needs of the companyReasons why this is the best storage system.

  Statements for the subsequent queries of the database

Write the statements for the subsequent queries of the database - Find Beth' s home state.

  Document flowchart for the order processing system

document flowchart for the order processing system, and data flow diagram DFD at Level 0 for the order processing system.

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