Database Search Tips: Boolean operators

Boolean operators form the basis of mathematical sets and database logic.

Why use Boolean operators?

Using AND

Use AND in a search to:

The purple triangle in the middle of the Venn diagram below represents the result set for this search. It is a small set using AND, the combination of all three search words.

Be aware: In many, but not all, databases, the AND is implied.

Using OR

Use OR in a search to:

All three circles represent the result set for this search. It is a big set because any of those words are valid using the OR operator.

Using NOT

Use NOT in a search to: