Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-1 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left,

Slides:



Advertisements
Similar presentations
Objectives Create an action query to create a table
Advertisements

Benchmark Series Microsoft Access 2010 Level 1
With Microsoft Access 2010 © 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. ACCESS 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 10 – Designing.
Access Lesson 8 Using Advanced Queries Microsoft Office 2010 Advanced Cable / Morrison 1.
Concepts of Database Management Seventh Edition
Concepts of Database Management Sixth Edition
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 3 1 Microsoft Office Access 2003 Tutorial 3 – Querying a Database.
XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making.
SUNY Morrisville-Norwich Campus-Week 10 CITA 130 Advanced Computer Applications II Spring 2005 Prof. Tom Smith.
FIS 318/618: Financial Systems & Databases Queries Oakland University School of Business Administration Accounting and Finance Joe Callaghan.
Querying a Database Microsoft Office Access 2003.
Copyright 2003, Paradigm Publishing Inc. CHAPTER 7 BACKNEXTEND 7-1 LINKS TO OBJECTIVES Create a Chart Create in a Separate Worksheet Create in a Separate.
Chapter 2 Querying a Database
Chapter 3 Maintaining a Database
Copyright 2007, Paradigm Publishing Inc. Word 2007 Chapter 7 BACKNEXTEND 7-1 LINKS TO OBJECTIVES Create, Edit, and Format a Table Create, Edit, and Format.
Copyright 2003, Paradigm Publishing Inc. CHAPTER 3 BACKNEXTEND 3-1 LINKS TO OBJECTIVES Table Wizard Spell Check Find Data Find and Replace Data Find and.
ACCESS CHAPTER 1. OBJECTIVES Tables Queries Forms Reports Primary and Foreign Keys Relationship.
© Paradigm Publishing, Inc Access 2010 Level 2 Unit 1Advanced Tables, Relationships, Queries, and Forms Chapter 3Advanced Query Techniques.
1 Microsoft Access 2002 Tutorial 3 – Querying a Database.
Chapter 2 Querying a Database MICROSOFT ACCESS 2010.
Chapter 1 Databases and Database Objects: An Introduction
Chapter 6 Advanced Report Techniques
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 4 BACKNEXTEND 4-1 LINKS TO OBJECTIVES Query Design Query Criteria Modify a Query Using OR.
1 Chapter 7 Query-By-Example by Monica Chan CS157B Professor Lee.
McGraw-Hill Technology Education © 2004 by the McGraw-Hill Companies, Inc. All rights reserved. Office Access 2003 Lab 3 Analyzing Data and Creating Reports.
Microsoft Access 2010 Building and Using Queries.
Analyzing Data For Effective Decision Making Chapter 3.
Lesson 2.  To help ensure accurate data, rules that check entries against specified values can be applied to a field. A validation rule is applied to.
XP New Perspectives on Microsoft Office Access 2003 Tutorial 9 1 Microsoft Office Access 2003 Tutorial 9 – Using Action Queries, and Defining Table Relationships.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 7 BACKNEXTEND 7-1 LINKS TO OBJECTIVES Filtering Data Removing a Filter Filter by Selection.
MS-ACCESS BY SANGEETHA PARTHASARATHY Topics to be covered §Comparing Values in Selection Criteria §Calculating Values in a Query §Changing the appearance.
WEEK 11 Database Design. TABLE INSTANCE CHARTS Create Tables.
® Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database.
Microsoft Office 2007 Access Chapter 3 Maintaining a Database.
® Microsoft Access 2010 Tutorial 9 Using Action Queries and Advanced Table Relationships.
Part II. Query Types On the design query table pane, right click and the cascading window will appear.
XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making Chapter.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 1 BACKNEXTEND 1-1 LINKS TO OBJECTIVES Create and Open a Database Create and Open a Database.
Copyright 2002, Paradigm Publishing Inc. CHAPTER 18 BACKNEXTEND 18-1 LINKS TO OBJECTIVES Creating a Chart Sizing and Moving a Chart Sizing and Moving a.
Tutorial 9 Using Action Queries and Advanced Table Relationships.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 2 BACKNEXTEND 2-1 LINKS TO OBJECTIVES Creating Related Tables Creating Related Tables Determining.
® Microsoft Access 2010 Tutorial 12 Managing and Securing a Database.
MS-ACCESS BY SANGEETHA PARTHASARATHY Topics Covered Understanding different types of Queries Creating a Query Creating a Query using a Wizard Changing.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 3 BACKNEXTEND 3-1 LINKS TO OBJECTIVES Modify a Table – Add, Delete, Move Fields Modify a Table.
Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter.
Actions Queries. Understanding Action Queries  Action queries are a way to make corrections to database. They can make an enormous mess of database if.
ACCESS Part 2. OBJECTIVE  Use the Query Wizard.  Work with data in a query.  Use Query Design View.  Sort and find data.  Filter data Apply AND criteria.
Microsoft Office 2003: Advanced 1 ADVANCED MICROSOFT ACCESS Lesson 10 – Analyzing Data.
Microsoft Office 2013: In Practice Chapter 2 Using Design View, Data Validation, and Relationships Copyright © 2014 by The McGraw-Hill Companies, Inc.
XP New Perspectives on Microsoft Access 2002 Tutorial 31 Microsoft Access 2002 Tutorial 3 – Querying a Database.
© 2001 ComputerPREP, Inc. All rights reserved. Access 2000: Module II.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 6 BACKNEXTEND 6-1 LINKS TO OBJECTIVES Using the Report Button Using the Report Button Print.
Microsoft Access 2000 Modifying Tables, Creating Forms and Viewing Data.
Chapter 28. Copyright 2003, Paradigm Publishing Inc. CHAPTER 28 BACKNEXTEND 28-2 LINKS TO OBJECTIVES Table Calculations Table Properties Fields in a Table.
Chapter 18. Copyright 2003, Paradigm Publishing Inc. CHAPTER 18 BACKNEXTEND 18-2 LINKS TO OBJECTIVES Sort Text in Paragraphs, Columns, and Tables Sort.
® Microsoft Access 2010 Tutorial 9 Using Action Queries and Advanced Table Relationships.
® Microsoft Access 2010 Tutorial 9 Using Action Queries and Advanced Table Relationships.
Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 8-1 LINKS TO OBJECTIVES Import data from another Access table Import data from another Access table.
Copyright 2007, Paradigm Publishing Inc. EXCEL 2007 Chapter 8 BACKNEXTEND 8-1 LINKS TO OBJECTIVES Import data from Access, a Web site, or a CSV text file.
1 11 Chapter 7 Action Queries Exploring Microsoft Office Access 2007.
Microsoft Office Illustrated Introductory, Windows Vista Edition
Objectives Create an action query to create a table
Microsoft Access 2003 Illustrated Complete
Building and Using Queries
Access: Queries IV Participation Project
Microsoft Office Illustrated Introductory, Windows XP Edition
Tutorial 9 Using Action Queries and Advanced Table Relationships
Tutorial 12 Managing and Securing a Database
New Perspectives on Microsoft
Presentation transcript:

Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-1 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left, and Right Joins Inner, Left, and Right Joins Self-Join Calculated Field Query with a Subquery Query with a Subquery Table Alias Multi-valued Field in a Query Multi-valued Field in a Query Action Queries Make-Table Query Delete Query Append Query Update Query Features Summary ACCESS 2007 Chapter 3 ADVANCED QUERY TECHNIQUES Microsoft Access 2007 – Level 2 Chapter 3

Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-2 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left, and Right Joins Inner, Left, and Right Joins Self-Join Calculated Field Query with a Subquery Query with a Subquery Table Alias Multi-valued Field in a Query Multi-valued Field in a Query Action Queries Make-Table Query Delete Query Append Query Update Query Features Summary ACCESS 2007 Chapter 3 Performance Objectives Save a filter as a query Create and run a parameter query to prompt for criteria Add and remove tables to and from a query Create an inner join, left join, and right join to modify query results Create a self-join to match two fields in the same table Create a query that includes a subquery Assign an alias to a table and a field name Select records using a multi-valued field in a query Create a new table using a make-table query Remove records from a table using a delete query Add records to the end of an existing table using an append query Modify records using an update query

Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-3 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left, and Right Joins Inner, Left, and Right Joins Self-Join Calculated Field Query with a Subquery Query with a Subquery Table Alias Multi-valued Field in a Query Multi-valued Field in a Query Action Queries Make-Table Query Delete Query Append Query Update Query Features Summary ACCESS 2007 Chapter 3 Save a Filter as a Query 1. Open the table and filter as desired 2. Click then 4. click same 3. Set desired criteria 5. Name the query and click OK

Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-4 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left, and Right Joins Inner, Left, and Right Joins Self-Join Calculated Field Query with a Subquery Query with a Subquery Table Alias Multi-valued Field in a Query Multi-valued Field in a Query Action Queries Make-Table Query Delete Query Append Query Update Query Features Summary ACCESS 2007 Chapter 3 Creating a Parameter Query Open a query in Design view; type each prompt enclosed in square brackets [ ] into a Criteria cell or field Prompts for information when the query runs Hint: make the prompt self-explanatory

Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-5 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left, and Right Joins Inner, Left, and Right Joins Self-Join Calculated Field Query with a Subquery Query with a Subquery Table Alias Multi-valued Field in a Query Multi-valued Field in a Query Action Queries Make-Table Query Delete Query Append Query Update Query Features Summary ACCESS 2007 Chapter 3 Creating a Parameter Query.../2 Run the query, responding to prompts Type as directed by prompt and click OK Query result – only those records that match both (Case-insensitive) Name and save the query as desired

Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-6 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left, and Right Joins Inner, Left, and Right Joins Self-Join Calculated Field Query with a Subquery Query with a Subquery Table Alias Multi-valued Field in a Query Multi-valued Field in a Query Action Queries Make-Table Query Delete Query Append Query Update Query Features Summary ACCESS 2007 Chapter 3 Modifying Joins in a Query Relationships between tables may have been set in the Relationships window; those joins may be overridden during a query Create a query and show the desired tables; Access will insert a Join line as set up 1) in the Relationships window or 2) when creating Lookup fields

Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-7 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left, and Right Joins Inner, Left, and Right Joins Self-Join Calculated Field Query with a Subquery Query with a Subquery Table Alias Multi-valued Field in a Query Multi-valued Field in a Query Action Queries Make-Table Query Delete Query Append Query Update Query Features Summary ACCESS 2007 Chapter 3 Modifying Joins in a Query.../2 To change the Join, choose a different option in the Join dialog box In query design, double-click the join line Choose desired option and click OK Inner join Left outer join Right outer join

Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-8 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left, and Right Joins Inner, Left, and Right Joins Self-Join Calculated Field Query with a Subquery Query with a Subquery Table Alias Multi-valued Field in a Query Multi-valued Field in a Query Action Queries Make-Table Query Delete Query Append Query Update Query Features Summary ACCESS 2007 Chapter 3 Modifying Joins in a Query.../3 Example of an Inner Join Only records that have matching fields in both tables will be displayed Notice missing records

Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-9 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left, and Right Joins Inner, Left, and Right Joins Self-Join Calculated Field Query with a Subquery Query with a Subquery Table Alias Multi-valued Field in a Query Multi-valued Field in a Query Action Queries Make-Table Query Delete Query Append Query Update Query Features Summary ACCESS 2007 Chapter 3 Modifying Joins in a Query.../4 Example of a Left Outer Join All records from the primary table and those that match from the secondary table Notice null fields

Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-10 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left, and Right Joins Inner, Left, and Right Joins Self-Join Calculated Field Query with a Subquery Query with a Subquery Table Alias Multi-valued Field in a Query Multi-valued Field in a Query Action Queries Make-Table Query Delete Query Append Query Update Query Features Summary ACCESS 2007 Chapter 3 Modifying Joins in a Query.../5 Example of a Right Outer Join All records from the secondary table and those that match from the primary table Notice null fields

Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-11 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left, and Right Joins Inner, Left, and Right Joins Self-Join Calculated Field Query with a Subquery Query with a Subquery Table Alias Multi-valued Field in a Query Multi-valued Field in a Query Action Queries Make-Table Query Delete Query Append Query Update Query Features Summary ACCESS 2007 Chapter 3 Creating a Self-Join Joining Two Copies of the Same Table in a Query Table must have matching values in two separate fields 1. Create Join line between fields 2. Insert fields from both tables into the grid 3. To change the name, right-click a field and choose Properties 4. Type into the Caption property

Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-12 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left, and Right Joins Inner, Left, and Right Joins Self-Join Calculated Field Query with a Subquery Query with a Subquery Table Alias Multi-valued Field in a Query Multi-valued Field in a Query Action Queries Make-Table Query Delete Query Append Query Update Query Features Summary ACCESS 2007 Chapter 3 A Query with No Established Relationship A query created from two tables with no join line produces a cross product or Cartesian product query; it produces a datasheet with every combination of records between the two tables Hint: Always review the join lines!

Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-13 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left, and Right Joins Inner, Left, and Right Joins Self-Join Calculated Field Query with a Subquery Query with a Subquery Table Alias Multi-valued Field in a Query Multi-valued Field in a Query Action Queries Make-Table Query Delete Query Append Query Update Query Features Summary ACCESS 2007 Chapter 3 Creating a Custom Calculation A calculated field displays the result of an expression rather than displaying stored data Enter an expression into an empty field cell in the query design grid Enclose field names in brackets Characters before the colon become the column name Right-click the field cell to change its Format property

Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-14 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left, and Right Joins Inner, Left, and Right Joins Self-Join Calculated Field Query with a Subquery Query with a Subquery Table Alias Multi-valued Field in a Query Multi-valued Field in a Query Action Queries Make-Table Query Delete Query Append Query Update Query Features Summary ACCESS 2007 Chapter 3 Creating and Using Subqueries A subquery is a nested query inside another query Use for any combination of fields that will be used in multiple queries Create and save the query to be nested Create a new query and click the Show Table button Add tables and queries as desired Be sure to review the joins!

Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-15 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left, and Right Joins Inner, Left, and Right Joins Self-Join Calculated Field Query with a Subquery Query with a Subquery Table Alias Multi-valued Field in a Query Multi-valued Field in a Query Action Queries Make-Table Query Delete Query Append Query Update Query Features Summary ACCESS 2007 Chapter 3 Query with a Multi-Valued Field In query design, determine how the multi-valued field should be displayed Table containing the multi-value field has two entries for the field

Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-16 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left, and Right Joins Inner, Left, and Right Joins Self-Join Calculated Field Query with a Subquery Query with a Subquery Table Alias Multi-valued Field in a Query Multi-valued Field in a Query Action Queries Make-Table Query Delete Query Append Query Update Query Features Summary ACCESS 2007 Chapter 3 Creating an Alias for a Table or Field Can change the table name for use in a query without changing it for all other objects (queries, forms, reports, etc.) In query design view, right-click the table and choose Properties Remove the existing Alias text and type the desired alias

Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-17 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left, and Right Joins Inner, Left, and Right Joins Self-Join Calculated Field Query with a Subquery Query with a Subquery Table Alias Multi-valued Field in a Query Multi-valued Field in a Query Action Queries Make-Table Query Delete Query Append Query Update Query Features Summary ACCESS 2007 Chapter 3 Creating an Action Query To perform an operation on a selected group of records Action QueryDescription Make TableCreates a new table from selected data in one or more other tables DeleteDeletes selected records from one or more tables AppendCopies selected records from one or more tables to the end of one or more tables UpdateMakes changes to selected records from one or more tables Caution! After running an action query, its action cannot be undone!

Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-18 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left, and Right Joins Inner, Left, and Right Joins Self-Join Calculated Field Query with a Subquery Query with a Subquery Table Alias Multi-valued Field in a Query Multi-valued Field in a Query Action Queries Make-Table Query Delete Query Append Query Update Query Features Summary ACCESS 2007 Chapter 3 Creating an Action Query…/2 Steps to creating and running an action query 1. Build and run a select query with tables, fields, criteria, and sort order 2. Change the query type 3. Run the action query once only

Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-19 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left, and Right Joins Inner, Left, and Right Joins Self-Join Calculated Field Query with a Subquery Query with a Subquery Table Alias Multi-valued Field in a Query Multi-valued Field in a Query Action Queries Make-Table Query Delete Query Append Query Update Query Features Summary ACCESS 2007 Chapter 3 Creating a Make-Table Query Enter the table name Click Choose the current or another database and name it or Browse In Query Design view, after creating a Select query to verify the records, click the Make Table button

Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-20 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left, and Right Joins Inner, Left, and Right Joins Self-Join Calculated Field Query with a Subquery Query with a Subquery Table Alias Multi-valued Field in a Query Multi-valued Field in a Query Action Queries Make-Table Query Delete Query Append Query Update Query Features Summary ACCESS 2007 Chapter 3 Creating a Make-Table Query…/2 Review the message and click Yes Click the Run button to perform the query then Save and close the query

Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-21 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left, and Right Joins Inner, Left, and Right Joins Self-Join Calculated Field Query with a Subquery Query with a Subquery Table Alias Multi-valued Field in a Query Multi-valued Field in a Query Action Queries Make-Table Query Delete Query Append Query Update Query Features Summary ACCESS 2007 Chapter 3 Creating a Delete Query Read the message and click Yes Click the Run button to run the query In Query Design view, after creating a Select query to verify the records, click the Delete button The View button previews records to be deleted; the Run button deletes the records permanently

Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-22 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left, and Right Joins Inner, Left, and Right Joins Self-Join Calculated Field Query with a Subquery Query with a Subquery Table Alias Multi-valued Field in a Query Multi-valued Field in a Query Action Queries Make-Table Query Delete Query Append Query Update Query Features Summary ACCESS 2007 Chapter 3 Creating an Append Query Enter the table name Click Choose the current or another database and name it or Browse In Query Design view, after creating a Select query to verify the records, click the Append button

Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-23 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left, and Right Joins Inner, Left, and Right Joins Self-Join Calculated Field Query with a Subquery Query with a Subquery Table Alias Multi-valued Field in a Query Multi-valued Field in a Query Action Queries Make-Table Query Delete Query Append Query Update Query Features Summary ACCESS 2007 Chapter 3 Creating an Append Query.../2 Review the message and click Yes Click the Run button to perform the query Save and close the query The query and the receiving table must have the same structure

Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-24 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left, and Right Joins Inner, Left, and Right Joins Self-Join Calculated Field Query with a Subquery Query with a Subquery Table Alias Multi-valued Field in a Query Multi-valued Field in a Query Action Queries Make-Table Query Delete Query Append Query Update Query Features Summary ACCESS 2007 Chapter 3 Creating an Update Query In the new row, in the column to be updated, enter the text or expression that will replace the contents of this field In Query Design view, after creating a Select query to verify the records, click the Update button

Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-25 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left, and Right Joins Inner, Left, and Right Joins Self-Join Calculated Field Query with a Subquery Query with a Subquery Table Alias Multi-valued Field in a Query Multi-valued Field in a Query Action Queries Make-Table Query Delete Query Append Query Update Query Features Summary ACCESS 2007 Chapter 3 Creating an Update Query…/2 Review the message and click Yes Click the Run button to perform the query Save and close the query The update expression must have the same data type as the original field

Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-26 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left, and Right Joins Inner, Left, and Right Joins Self-Join Calculated Field Query with a Subquery Query with a Subquery Table Alias Multi-valued Field in a Query Multi-valued Field in a Query Action Queries Make-Table Query Delete Query Append Query Update Query Features Summary ACCESS 2007 Chapter 3 How do you save a filter as a query? Features Summary 1. After filtering as desired 2. Click then 4. click 3. Review criteria 5. Name the query and click OK

Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-27 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left, and Right Joins Inner, Left, and Right Joins Self-Join Calculated Field Query with a Subquery Query with a Subquery Table Alias Multi-valued Field in a Query Multi-valued Field in a Query Action Queries Make-Table Query Delete Query Append Query Update Query Features Summary ACCESS 2007 Chapter 3 How do you create a parameter query? Features Summary Open a query in Design view; type each prompt enclosed in square brackets [ ] into a Criteria cell or field

Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-28 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left, and Right Joins Inner, Left, and Right Joins Self-Join Calculated Field Query with a Subquery Query with a Subquery Table Alias Multi-valued Field in a Query Multi-valued Field in a Query Action Queries Make-Table Query Delete Query Append Query Update Query Features Summary ACCESS 2007 Chapter 3 How do you join two tables so that all the records in the primary table will display? Features Summary Choose Left outer join In query design, double-click the join line

Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-29 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left, and Right Joins Inner, Left, and Right Joins Self-Join Calculated Field Query with a Subquery Query with a Subquery Table Alias Multi-valued Field in a Query Multi-valued Field in a Query Action Queries Make-Table Query Delete Query Append Query Update Query Features Summary ACCESS 2007 Chapter 3 How do you join two tables to display only the records that match between the primary and secondary tables? Features Summary In query design, double-click the join line Choose Inner join

Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-30 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left, and Right Joins Inner, Left, and Right Joins Self-Join Calculated Field Query with a Subquery Query with a Subquery Table Alias Multi-valued Field in a Query Multi-valued Field in a Query Action Queries Make-Table Query Delete Query Append Query Update Query Features Summary ACCESS 2007 Chapter 3 How do you create a new table from selected records in an existing table? Display the records with a Select query, then change the query to a Make Table query Features Summary

Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-31 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left, and Right Joins Inner, Left, and Right Joins Self-Join Calculated Field Query with a Subquery Query with a Subquery Table Alias Multi-valued Field in a Query Multi-valued Field in a Query Action Queries Make-Table Query Delete Query Append Query Update Query Features Summary ACCESS 2007 Chapter 3 How do you add records from one table to the end of another table? Features Summary Display the records with a Select query, then change the query to an Append query

Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 3-32 LINKS TO OBJECTIVES Save a Filter as a Query Save a Filter as a Query Parameter Query Inner, Left, and Right Joins Inner, Left, and Right Joins Self-Join Calculated Field Query with a Subquery Query with a Subquery Table Alias Multi-valued Field in a Query Multi-valued Field in a Query Action Queries Make-Table Query Delete Query Append Query Update Query Features Summary ACCESS 2007 Chapter 3 Coming Next CREATING AND USING CUSTOM FORMS Chapter 4