ACCESS / AQL

AQL relational operators and logical clauses

.md

This section presents information for each of the AQL relational operators and logical clauses.

These operators and clauses are presented:

In this section

after operatorThe after relational operator represents a greater than condition used in constructing selection clauses. The gt and > operators perform the same function.and clauseThe and clause is used between selection criteria clauses to indicate that both condition being evaluated as true selects the item for processing.before operatorThe before relational operator represents a less than condition used in constructing selection clauses. The < and lt operators perform the same function as before.equal operatorThe equal operator represents an equal to condition used in constructing selection clauses. When a valuestring is included, the data found in each item must match it exactly in order for the data to be selected for processing.ge operatorThe ge relational operator represents a greater than or equal to condition used in constructing selection clauses.gt operatorThe gt operator is a greater than relational operator.le operatorThe le operator selects items whose specified attribute name contains a value less than or equal to the specified value string.lt operatorThe lt operator selects items whose specified attribute name contains a value less than the specified value string.ne operatorThe ne operator selects items whose specified attribute name contains a value not equal to the specified value string.no operatorThe no operator reverses selection condition.not operatorThe not operator represents a not equal to condition. This reverses the true sense of the condition in a selection criteria. The #, no, and ne operators perform the same function as not.or clauseThe or clause is used between selection criteria clauses to indicate that either condition being evaluated as true selects the item for processing.