Create a parameter query to allow database to find records

Assignment Help Database Management System
Reference no: EM131737065

Assignemnt: Skill Review

In this project you will continue working with the health insurance database from Chapter 3, Skill Reivew 3.2. You will improve the functionality of the database by creating a variety of queries. You will also import data from a text file and link to a table in another Access database.

Skills needed to complete this project:

• Using the Simple Query Wizard
• Adding Numeric and Date Criteria to a Query
• Using OR in a Query
• Using AND in a Query
• Creating a Query in Design View
• Adding Text Criteria to a Query
• Hiding and Showing Fields in a Query
• Adding a Calculated Field to a Query
• Finding Unmatched Data Using a Query
• Finding Duplicate Data Using a Query
• Using a Parameter Query
• Importing Data from a Text File
• Linking to a Table in Another Access Database

IMPORTANT: Download the resource file needed for this project from the Resources link. Be sure to extract the file after downloading the resources zipped folder. Please visit SIMnet Instant Help for step-by-step instructions.

1. Open the start file AC2016-SkillReview-4-2.
2. If necessary, enable active content by clicking the Enable Content button in the Message Bar.
3. The file will be renamed automatically to include your name. Change the project file name if directed to do so by your instructor.
4. Use the Query Wizard to create a select query from the Physicians table.

a. On the Create tab, in the Queries group, click the Query Wizard button. In the New Query dialog, verify that Simple Query Wizard is selected. Click OK.

b. Click the Tables/Queries drop-down arrow. Select Table: Physicians. Click the >> button to add all the fields to the Selected Fields list. In the Selected Fields list, click the PhysicianID field and then click the < button to remove the PhysicianID field from the list. Click Next.

c. In this step, verify that Detail is selected and click Next.

d. In the last step, type PhysiciansByZipCode for the title. Select the radio button to Modify the query design and click Finish.

5. Add criteria to the query to limit the query to physicians with the zip code 33176 or 33186.

a. Type 33176 in the Criteria row under the ZipCode field.
b. Below that, in the or row, type: 33186
c. Click the drop-down arrow in the Sort row under the LastName field. Select Ascending.
d. Click the Run button and review the query results.
e. Save and close the query.

6. Create a query in Design view:

a. On the Create tab, in the Queries group, click the Query Design button. In the Show Table dialog, double-click the Procedures table. Click the Close button.

b. Notice the Procedures table in the upper pane of the query Design view window. Double-click each field name in the field list except ProcedureID in order to add them to your query.

c. Type Yes in the Criteria row under the Covered field.

d. Type <=40 in the Criteria row under the ReimbursementAmt field.

e. Uncheck the Show box under the Covered field.

f. Click the Run button to check your work and then return to Design view.

7. Add a calculated field to the query to display the result of a 7% increase in the reimbursement amount.

a. Next to the ReimbursementAmt field, create a new calculated field by typing the following in the Field row: 7% Increase:[ReimbursementAmt]*1.07

Hint: If you need more room to type the expression, press Shift + F2 key to open the Zoom window.

b. Click the Run button to check your work and then return to Design view.

8. Add the OrderDate field from the Orders table to the query.

a. On the Query Tools Design tab, in the Query Setup group, click the Show Table button. Double-click the Orders table and then click the Close button.

b. Double-click the OrderDate field in the Orders table to add it to the query.

c. Click the Run button and observe the new query results.

d. Save the query with the name: CheapCoveredProcedures

e. Close the query.

9. Use the Unmatched Query Wizard to find records in the Procedures table without corresponding records in the Orders table.

a. On the Create tab, in the Queries group, click the Query Wizard button. In the New Query dialog, click Find Unmatched Query Wizard and click OK.

b. Select Table: Procedures. Click Next.

c. Select Table: Orders. Click Next.

d. Confirm that Access has matched the ProcedureID field in the Procedures table and the Procedure field in the Orders table, and then click Next.

e. Add all of the fields to the query by clicking the >> button. Click Next.

f. Change the name to ProceduresNotOrdered and click Finish.

g. Observe the query results and then close the query.

10. Use the Find Duplicates Query Wizard to find records in the Orders table with the same values in the Physician and OrderDate fields.

a. On the Create tab, in the Queries group, click the Query Wizard button. In the New Query dialog, click Find Duplicates Query Wizard and click OK.

b. Select Table: Orders. Click Next.

c. Select OrderingPhysician and add it to the right side by clicking the > button. Do the same for OrderDate. Click Next.

d. Add all fields by clicking the >> button. Click Next.

e. Change the name to SameDateOrders and click Finish.

f. Observe the query results and then close the query.

11. Create a parameter query to allow database users to find records in the Physicians table by entering a city name.

a. On the Create tab, in the Queries group, click the Query Design button. In the Show Table dialog, double-click the Physicians table. Click the Close button.

b. Notice the Physicians table in the upper pane of the query Design view window. Double-click the following field names in order to add them to your query: FirstName, LastName, City, Phone

c. Click the Criteria row under the City field and type the following: [Enter the city name]

d. Click the Run button. In the Enter Parameter Value dialog, type: Miami and then click OK. Observe the query results.

e. Save the query with the name: PhysiciansByCity

f. Close the query.

12. Import data from the EmployeeTransfers tab-delimited text file and append the records to the Physicians table.

a. On the External Data tab, in the Import & Link group, click the Text File button.
b. In the Get External Data - Text File dialog, click the Browse... button.
c. Navigate to the folder where the resource files for this project are stored and double-click the EmployeeTransfers text file.
d. Click the Append a copy of the records to the table: radio button and select Physicians. Click OK.
e. Verify that the Delimited radio button is selected. Click Next.
f. Verify that the Tab radio button is selected. Click the First Row Contains Field Names check box. Click Next.
g. Verify that Physicians is listed in the Import to Table box. Click Finish.
h. Click Close.

13. Import the HealthPlan and DentalPlan tables in the InsurancePlans database as linked tables.

a. On the External Data tab, in the Import & Link group, click the Access button.

b. In the Get External Data - Access Database dialog, click the Browse... button.

c. Navigate to the folder where the resource files for this project are stored and double-click the

InsurancePlans Access file.

d. Click the Link to the data source by creating a linked table. radio button. Click OK.

e. In the Link Tables dialog, click HealthPlan and DentalPlan.

f. Click OK.

14. Close the database and exit Access.

15. Upload and save the project file.

Attachment:- Jiawei-Yu-AC2016-SkillReview-4-2.rar

Reference no: EM131737065

Questions Cloud

Designing a mobile web presence : For this discussion, address some of the unique features that must be taken into account when designing a mobile Web presence.
Describe the requirements for a recruit based on your state : Describe the requirements for a recruit based on your state police as well as your local law enforcement agency.
Engage in foreign direct investment : Identify a host country that has a high repatriation risk for companies that engage in foreign direct investment. Once you have identified the country
Average healthcare spending : For the population as a whole, average healthcare spending is $1,190 per year. Those with a family history of cancer (5 percent of the population)
Create a parameter query to allow database to find records : Create a parameter query to allow database users to find records in the Physicians table by entering a city name. Add all fields by clicking the >> button.
Comparison to the bush income tax cuts : While the benefits of the payroll tax cuts were about the same across income groups, the middle class received a smaller share in comparison to the Bush income.
Develop the basic procedures and guidelines : Policies Develop the policies section of the handbook and include two to three (2-3) pages for each policy in which you define the policies.
Optimal asking rent to maximize the landlord present value : (Modeling Optimal Landlord Search) Use the procedure described in Appendix 30C of this chapter contained on the CD to answer this question.
Discuss hard-path energy development : What are the advantages and disadvantages of soft-path energy development compared to hard-path energy development

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