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

  Explain the benefits and current trends of data warehousing

Summarize the difference between online transaction processing (OLTP) and online analytic processing (OLAP), and their relationship among business intelligence, data warehousing, and data mining.

  Draw an entity relationship diagram (erd)

Draw an entity relationship diagram (ERD) for the following situation: A company has a number of employees.  Each employee is identified by an Employee_Id.  The company wants to store Employee_Name, Employee_Address, and Employee_BirthDate in the dat..

  Verify your implementation by viewing the data dictionary

Implement the authorization table using any two suitable application models presented - Use the scripts provided to create a schema - Create three different profiles based on the criteria.

  Describe database management systems

Describe Database Management Systems and the various models - Describe how organizations use databases to make decisions

  Every professor must teach some course

Now suppose that certain courses can be taught by a team of professors jointly, but it is possible that no one professor in a team can teach the course. Model this situation, introducing additional entity sets and relationship sets if necessary.

  Products under the traditional costing system

Determine the unit product cost of each of the company's two products under the traditional costing system

  Write sql statements to create the corresponding relations

Write SQL statements to create the corresponding relations to the ER diagram you designed for Exercise 2.8. If your translation cannot capture any constraints in the ER diagram, explain why.

  Referential integrity constraint prevent from data inserting

What actions does a referential integrity constraint prevent from occurring when data is inserted in a table that contains this constraint?

  Suppose we have a relation employees ssn name department

suppose we have a relation employees ssn name department salary.nbspfor each of the following queries either write the

  Questioncandywarehouse is an online candy store the store

questioncandywarehouse is an online candy store. the store purchases candies from various vendors and one of them is

  1 which is not a factor to consider in software evaluationa

1. which is not a factor to consider in software evaluation?a. performance effectivenessb. performance efficiencyc.

  Case study- database development

1. Recommend at least three (3) specific tasks that could be performed to improve the quality of datasets, using the Software Development Life Cycle (SDLC) methodology. Include a thorough description of each activity per each phase

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