Use criteria for conditional query--1.2. Specify multiple criteria

Source: Internet
Author: User
Tags expression query access
2. Specify multiple criteria

You can enter multiple criteria for the same field or for different fields. When you enter an expression in more than one criteria cell, Microsoft Access uses the and OR operator to combine. If this expression is in different cells in the same row, Microsoft Access uses the AND operator to indicate that records that match the criteria in all cells will be returned. If the expression is not in the design grid, Microsoft Access uses the OR operator to indicate that records that match the criteria in any one cell will be returned.

In the figure above, two criteria are on different lines, so Access will connect using the OR operator,
The equivalent of the rule in the last name paragraph is: "Zhang Beautiful" Or "Li Zhenhua".

This is the result of the query run, listing all the records of the driver named "Zhang Beautiful" and Li Zhenhua.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.