Presentation is loading. Please wait.

Presentation is loading. Please wait.

Basic Criteria in Queries

Similar presentations


Presentation on theme: "Basic Criteria in Queries"— Presentation transcript:

1 Basic Criteria in Queries
This lecture will cover the use of some basic functions provided by EXCEL. We will be explore how these functions work and how they can be used to solve problems.

2 Write a query to list the First Name and Last Name and state for all clients who live in Ohio.
Query Name: Ohio Residents Tables Required: Client Foreign Keys: None Join Type: Field FirstName LastName State Table Client Sort Show x Criteria “oh” OR When typing in non-numeric criteria, always surround the criteria with quotes.

3 The data table The resulting dynaset

4 Write a query to list the ClientID for all payments of $100.
Query Name: PaymentOf100 Tables Required: Payments Foreign Keys: None Join Type: Field ClientID Amount Table Payments Sort Show x Criteria 100 OR When typing in numeric criteria, DO NOT surround the criteria with quotes.

5 The data table The resulting dynaset

6 Write a query to list the Client ID, payment, and payment date for all payments made on March 8, 2008. Query Name: March8 Tables Required: Payments Foreign Keys: None Join Type: Field ClientID Amount PaymentDate Table Payments Sort Show x Criteria #3/8/2008# OR When typing in date criteria, always surround the criteria with #.

7 The data table The resulting dynaset

8 Write a query to list the ClientID and payment for all payments of $100 or more.
Query Name: Payment>=100 Tables Required: Payments Foreign Keys: None Join Type: Field ClientID Amount Table Payments Sort Show x Criteria >=100 OR When typing in numeric criteria, DO NOT surround the criteria with quotes.

9 The data table The resulting dynaset


Download ppt "Basic Criteria in Queries"

Similar presentations


Ads by Google