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
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. Start Access. Open the file downloaded with this project. 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, and save it as . Close all open objects. In the last record of the Sponsors table, change the Sponsor ID from to , and then close the table. (The related records in the Concerts table will automatically update.) Copy the Concerts $1000 or More Query to create a new query with the name . Redesign the query to answer the question, What is the Date, Concert Name, Concert Location, and Box Office Receipts for concerts sorted in ascending order only by the Date field? Run the query (five records display). Close the query, saving the changes to the query. Create a query in Query Design view based on the Concerts table to answer the question, What is the Date, Concert Name, Concert Location, and Box Office Receipts for a concert location of and for box office receipts that have an amount that is greater than sorted in ascending order by the Date field? Run the query (four records display). Save the query as , and then close the query. Create a query in Query Design view based on both tables to answer the question, What is the Sponsor Name, Concert Name, and Concert Location for a sponsor name that has anywhere in its name and for a concert name that ends in sorted in ascending order by the Concert Location field? Run the query (two records display). Save the query as , and then close the query. Create a query in Query Design view based on the Concerts table to answer the following question, What is the Concert ID, Concert Name, Concert Location, Sponsor ID, and Date for records that are missing the date? Run the query (two records display). Save the query as , and then close the query. Create a query in Query Design view based on both tables to answer the question, What is the Concert ID, Sponsor Name, Box Office Receipts, and a new field named that will calculate and display the donation amount when the Sponsor donates an amount equal to 50 percent ( ) of each box office receipts amount to the Music Department. Sort the records in ascending order by the Concert ID field. a. Run the query (the second record—EVENT-102—has a Sponsor Donation of 287.5). Display the query in Design view. In the fifth column of the design grid, create a new field named 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). 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 , and then close the query. Create a query in Query Design view based on the Concerts table to answer the following question, What are the total Box Office Receipts by Concert Location sorted by the Box Office Receipts field in ascending order? 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 , and then close the query. 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 . 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. Create a query in Query Design view based on the Concerts table to answer the following question, What is the 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 . Run the query, and when prompted, enter 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 when prompted. Save the query as , and then close the query.