Action Query Exercises

Slides:



Advertisements
Similar presentations
Exploring Microsoft Access 2003 Chapter 6 Many-to-Many Relationships: A More Complex System.
Advertisements

Maintenance Modifying the data –Add records –Delete records –Update records Modifying the design –Add fields into tables –Remove fields from a table –Change.
Mark Dixon Page 1 07 – Reports. Mark Dixon Page 2 Session Aims & Objectives Aims –To use reports to produce more readable documents Objectives, by end.
Databases Tutorial 2 Further Select Statements. Objectives for Week Data types Sort retrieved data Formatting output.
Business Computer Information Systems Microsoft Office XP Access Review Lessons 1 through 5.
Chapter 16 Using Math in Sales 1 Marketing Essentials Chapter 16 Using Math in Sales Section 16.3 Purchase Orders and Invoices.
DAY 16: ACCESS CHAPTER 2 Tazin Afrin October 10,
CS&E 1111 AcInnerJoins Inner Joins Objectives: Creating Queries with data from Multiple Tables Joining two tables using an Inner Join Referential Data.
Microsoft Access Queries Birgül Kutlu. SORTING AND FILTERING Sorting and filtering allow you to view records in a table in different ways such as: reordering.
Microsoft Access 2010 Building and Using Queries.
® Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database.
Access Chapter 2: Relational Database Objectives Design data Create tables Understand table relationships Understand data types, key, & field properties.
Chapter 17 Creating a Database.
ACCESS CHAPTER 5 FORMS AND REPORTS Learning Objectives: Build a simple form Add a label, text box, and list controls to a form Create a multi-table form.
Reports 5.02 Understand database queries, forms, and reports used in business.
Introduction to Computers Lesson 10B. home Database A collection of related data or facts.
DAY 19: MICROSOFT ACCESS – CHAPTER 3 CONTD. Aliya Farheen March 17, 2015.
Chapter 9 Query-by-Example Pearson Education © 2009.
CS1100: Microsoft Access Managing Data in Relational Databases Created By Martin Schedlbauer CS11001Microsoft Access - Introduction.
Chapter 3 Query and Report. Agenda Report types Report contents Report creation Report design view Query and dynaset Function and grouping Action query.
26 Mar 04 1 Application Software Practical 5/6 MS Access.
® Microsoft Office 2013 Access Maintaining and Querying a Database.
Pasewark & Pasewark 1 Access Lesson 3 Creating Queries Microsoft Office 2007: Introductory.
Reports and Queries Chapter 3 – Access text Reports – Page Queries – Page
In this session, you will learn to: Use functions to customize the result set Summarize and group data Objectives.
Microsoft Office 2013: In Practice Chapter 3 Creating and Using Queries Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
3 / 12 CHAPTER Databases MIS105 Week-10/ Lec02 Irfan Ahmed Ilyas.
Access Chapter 5-Table Tricks, Advanced Queries and Custom Forms.
Access Chapter 7- Access Custom Reports. PgP MIS 342 Access7-2 Custom Reports  Banded report writer Report, Page(s) and Group(s) sections can have both.
Access Chapter 3-Obtaining Answers to Your Data Questions.
1 MS Access. 2 Database – collection of related data Relational Database Management System (RDBMS) – software that uses related data stored in different.
Access Chapter 4-Form and Report Basics. PgP MIS 342 Access4-2 Forms  Used to maintain (add/delete/edit) the data in underlying tables  Wizards-show.
Microsoft Access Creating Queries Expression Exercise- Criteria and Calculated Fields.
Microsoft Access 2000 Presentation 5 Creating Databases Part IV (Creating Queries)
Microsoft Office 2013 Try It! Chapter 4 Storing Data in Access.
QUERY CONSTRUCTION CS1100: Data, Databases, and Queries CS1100Microsoft Access1.
Homework 2 Hints. General Tips Remember what FORM view you are in! – Design, form, and layout view TABLE views include: – Design and Datasheet view.
EXAM-2 OVERVIEW Aliya Farheen
MICROSOFT ACCESS – CHAPTER 3 CONTD. Sravanthi Lakkimsetty Mar 09, 2016.
Create a PO-Based Invoice
Microsoft Office Access 2010 Lab 3
Invoicing: Enter a PO-Based Invoice
Access Maintaining and Querying a Database
Practical Office 2007 Chapter 10
Inner Joins Objectives: Creating Queries with data from Multiple Tables Joining two tables using an Inner Join Referential Data Integrity Cascade Update.
Calculated Fields Exercises Queries
Objectives Create an action query to create a table
Database Relationships
Access Maintaining and Querying a Database
Building and Using Queries
Exploring Microsoft Access 2003
Access Lesson 2 Creating a Database
Aggregations Various Aggregation Functions GROUP BY HAVING.
Access Chapter 6- Custom Forms.
Access: Queries II Participation Project
MS Access - Query  A queryis a request for data results, and for action on data. Purpose The purpose of a query in Microsoft Access is to retrieve a particular.
Lesson 3 Chapter 10.
Exploring Microsoft Office Access 2010
Chapter 9 Query-by-Example Pearson Education © 2009.
Non-selection queries
BUS2206 Access Lab Queries Second Term,
Creating Queries Expression Exercise- Criteria and Calculated Fields
Query-by-Example Transparencies
List of Values and Parameter Queries
Chapter 9 - Action Queries
Chapter 3 Query and Report.
Chapter 5-Lookup Table Exercise
Tutorial 9 Using Action Queries and Advanced Table Relationships
Assignment 3 Querying and Maintaining a Database
b. Record the purchase in general journal format.
Presentation transcript:

Action Query Exercises Chapter 9

Use Northwinds.mdb

1. Update Query Products and Categories Tables Look for products in the category “condiments” Increase the present price by 6% Spring 2005 PgP MIS 342 Exercises

1. Update Query Good practice to do a select query first and make sure you have selected the correct records to update. Should have 12 records Spring 2005 PgP MIS 342 Exercises

Update Query-Design View Spring 2005 PgP MIS 342 Exercises

1. Other Criteria-from Help Expression Result "Salesperson" Changes value to Salesperson #8/10/96# Changes date values to 10-Aug-96 Yes Changes No values in a Yes/No field to Yes "PN"&[PartNumber] Adds PN to the beginning of each specified part number [UnitPrice]*[Quantity] Calculates the product of UnitPrice and Quantity Spring 2005 PgP MIS 342 Exercises

1. Other Criteria-from Help Expression Result [Freight]*1.5 Increases freight charges by 50 percent DSum("[Quantity]*[UnitPrice]", "Order Details","[ProductID]=" & [ProductID]) Where the Product IDs in the current table match the Product IDs in the Order Details table, updates sales totals based on the product of Quantity and UnitPrice Right([ShipPostalCode],5) Truncates the leftmost characters in a field, leaving the five rightmost characters 1. Other Criteria-from Help Spring 2005 PgP MIS 342 Exercises

2. Delete Query Order Details Table Criteria- discount of 25% Delete any order with this discount rate Note-watch out for the discount field format! Spring 2005 PgP MIS 342 Exercises

3. Make Table Query Orders Table Criteria- orders that have not shipped Make a new table with only these orders in it Include all fields in this new table Name table ‘tblUnshippedOrdersAsOfToday’ Spring 2005 PgP MIS 342 Exercises