Download presentation
Presentation is loading. Please wait.
1
Basic Criteria in Queries
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. Basic Criteria in Queries
2
Basic Criteria in Queries
The data table The resulting dynaset Basic Criteria in Queries
3
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. Basic Criteria in Queries
4
Basic Criteria in Queries
The data table The resulting dynaset Basic Criteria in Queries
5
Basic Criteria in Queries
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 #. Basic Criteria in Queries
6
Basic Criteria in Queries
The data table The resulting dynaset Basic Criteria in Queries
7
Basic Criteria in Queries
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. Basic Criteria in Queries
8
Basic Criteria in Queries
The data table The resulting dynaset Basic Criteria in Queries
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.