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

  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