Activity 3 Creating queries with more user-defined criteria in the Design View In this activity, we are going to create several queries with more user-defined.

Slides:



Advertisements
Similar presentations
Databases Section 4: Select Queries Presented By: Lindani Ncube Based on Materials by: M Halse.
Advertisements

Oracle for Windows NT is required to run queries from the Banner database. Call the help desk at extension 4440 if you do not have this.
Access Lesson 8 Using Advanced Queries Microsoft Office 2010 Advanced Cable / Morrison 1.
Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 4 – Finding and Ordering Data.
Concepts of Database Management Seventh Edition
Exploring Microsoft Access 2003 Chapter 1 Introduction to Microsoft Access: What Is A Database?
Chapter 1 Databases and Database Objects: An Introduction
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 2 Querying a Database Using the Select Query Window.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 3 1 Microsoft Office Access 2003 Tutorial 3 – Querying a Database.
Querying a Database Using the Select Query Window
Access Tutorial 1 Creating a Database
Mark Dixon Page 1 02 – Queries: Query by Example.
Querying a Database Microsoft Office Access 2003.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 1 Creating and Using a Database.
Microsoft Access 2007 Microsoft Access 2007 Introduction to Database Programs.
Chapter 2 Querying a Database
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory Pasewark & Pasewark.
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory.
Chapter 3 Maintaining a Database
XP New Perspectives on Microsoft Access 2002 Tutorial 41 Microsoft Access 2002 Tutorial 4 – Creating Forms and Reports.
1 Microsoft Access 2002 Tutorial 3 – Querying a Database.
Chapter 2 Querying a Database MICROSOFT ACCESS 2010.
You can use a query to view a subset of your data or to answer questions about your data. For example, if you want to view a list of student names and.
Chapter 1 Databases and Database Objects: An Introduction
In this activity, we are going to create a query for a computer company. The query will calculate the total and average expenses of the salesmen for each.
G-Databases Competency 7.00 Objective 7.01 Demonstrate basic database concepts and functions.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 4 BACKNEXTEND 4-1 LINKS TO OBJECTIVES Query Design Query Criteria Modify a Query Using OR.
XP New Perspectives on Integrating Microsoft Office XP Tutorial 2 1 Integrating Microsoft Office XP Tutorial 2 – Integrating Word, Excel, and Access.
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.
1 By: Nour Hilal. Microsoft Access is a database software where data is stored in one or more Tables. A Database is a group of related Tables. Access.
XP 1 Microsoft Access 2003 Introduction To Microsoft Access 2003.
MS-ACCESS BY SANGEETHA PARTHASARATHY Topics to be covered §Comparing Values in Selection Criteria §Calculating Values in a Query §Changing the appearance.
SESSION 3.1 This section covers using the query window in design view to create a query and sorting & filtering data while in a datasheet view. Microsoft.
Filtering Data A filter is a set of restrictions you place on the records of an open datasheet or form to temporarily isolate a subset of the records.
XP New Perspectives on Microsoft Access 2002 Tutorial 1 1 Microsoft Access 2002 Tutorial 1 – Introduction To Microsoft Access 2002.
® Microsoft Office 2013 Access Creating a Database.
Tutorial 9 Using Action Queries and Advanced Table Relationships.
1 After completing this lesson, you will be able to: Change the format of a table. Sort records in a table. Find records in a table Use filters with a.
MS-ACCESS BY SANGEETHA PARTHASARATHY Topics Covered Understanding different types of Queries Creating a Query Creating a Query using a Wizard Changing.
There are seven main components of a database in Access 2000: Tables. Use tables to store database information. Forms Use forms to enter or edit the information.
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.
Pasewark & Pasewark 1 Access Lesson 3 Creating Queries Microsoft Office 2007: Introductory.
1 After completing this lesson, you will be able to: Create and run a query. Specify criteria in a query. Create a calculated field. Create a multiple-table.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 1 Creating and Using a Database.
Using Microsoft Access Now that data has been entered we are ready to sort or data To do this, first click on the field label which you want to sort If.
10.11 Data Manipulation 2 Queries. You will need… Specimen 2007 Paper 2 Task C (a PDF) q 43 Read this question carefully before you start The database.
Database Copyright 2006 South-Western/Thomson Learning.
1 Access Lesson 3 Creating Queries. 2 Creating a Query with the Simple Query Wizard Query-- database object that lets you ask the database about the data.
Activity 1 Retrieving a database file In this activity, we are going to view and change several records in the database file ch10_01.mdb. 1.Copy the database.
Microsoft Access 2000 Presentation 3 Creating Databases Part II (Creating Forms)
Activity 3 Filtering records In this activity, we are going to learn how to filter records by using the three different ways: Filter by Selection, Filter.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
MS-Access XP Lesson 4. Modifying Queries 1.Select query in queries 2.Click design button or Right click on query and click design view 3.Change query.
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTORY MICROSOFT ACCESS Lesson 4 – Finding and Ordering Data.
XP New Perspectives on Microsoft Access 2002 Tutorial 31 Microsoft Access 2002 Tutorial 3 – Querying a Database.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
1 Access Lesson 2 Creating Queries, Forms, and Reports Microsoft Office 2007 Fundamentals Story / Walls.
Microsoft Access 2000 Presentation 5 Creating Databases Part IV (Creating Queries)
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 2 Querying a Database Using the Select Query Window.
Microsoft Access Prepared by the Academic Faculty Members of IT.
Microsoft Access By Ritesh Sharma. Introduction Microsoft Access is a desktop database program that enables you to enter, store, analyze,and present data.For.
COMPREHENSIVE Access Tutorial 1 Creating a Database.
® Microsoft Access 2010 Tutorial 9 Using Action Queries and Advanced Table Relationships.
1 Access Lesson 2 Creating Queries, Forms, and Reports Microsoft Office 2010 Fundamentals Story / Walls.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Access Project 1 Creating and Using a Database.
TUTORIAL 2: Creating Query for Bill Processing Using
Tutorial 3 – Querying a Database
Creating forms by ‘AutoForm’
Grauer and Barber Series Microsoft Access Chapter One
Creating a simple query in the Design View
Presentation transcript:

Activity 3 Creating queries with more user-defined criteria in the Design View In this activity, we are going to create several queries with more user-defined criteria. 1.Start Microsoft Access and open the database file ch11_01.mdb in the hard disk. 2.Click ‘Queries’ in the ‘Objects’ column and then click. New

3.Double-click ‘Design View’ in the ‘New Query’ dialogue box. 4.Double-click ‘CPU’ in the ‘Show Table’ dialogue box to add the table into the Design View window. Then, click to continue. Close Activity 3 Creating queries with more user-defined criteria in the Design View

5.Add the fields to the Design View window as shown below. 6.Enter ‘<1100’ into the criteria box of the ‘Price’ field. Activity 3 Creating queries with more user-defined criteria in the Design View

7.Select ‘Ascending’ as the sorting criterion for the ‘Price’ field. 8.Select ‘Queries’  ‘Run’ to execute the query. Alternatively, click the ‘Run’ button on the toolbar. (a) How many records are shown in the query window? _________________________________________________ (b) Which is the most expensive product? How much is it? _________________________________________________ Activity 3 Creating queries with more user-defined criteria in the Design View 14 records. Intel P4D 925 (3,000 MHz). It costs $1,058.

9.Close the query window. Try to create a query for each of the questions listed below. (a) Display all fields in Motherboard and those motherboards with Price less than or equal to Sorting is not required. (b) Display RAM Brands, Product Names (field ‘Product’), Sizes and Prices that those Spec is ‘DDRRAM’ and Size is ‘1024MB’. Arrange the records in descending order of Prices. (c) Display CPU Product Names that start with ‘CELERON’. Arrange the records in ascending order of Product Names. Activity 3 Creating queries with more user-defined criteria in the Design View

9.Complete the following table to show the results of your queries. Activity 3 Creating queries with more user-defined criteria in the Design View Selected field(s) From table(s) CriteriaSort by field(s) (a) (b) (c) Brand, Socket, Price, Product MotherboardPrice: <= 1100None Brand, Product, Size, Price RAMSpec: Like ‘DDR-RAM’ Size: =1024 Price (descending) Product CPUProduct Name: Like ‘Celeron*’ Product (ascending)

10.Close the database file and exit Microsoft Access. Activity 3 Creating queries with more user-defined criteria in the Design View

10.Close the database file and exit Microsoft Access. Activity 3 Creating queries with more user-defined criteria in the Design View