Skip to main content

SOCY 122: Introduction to Academic Library Research

Course guide library research tutorial

Connecting Keywords: Boolean Operators

Once you have identified the keywords and phrases that describe your topic, the next step is to connect them in a logical way that the database will understand - this is accomplished with the use of Boolean operators: AND, OR, NOT. Boolean operators connect your search words together to either narrow or broaden your set of search results

Databases and search engines such as Google make use of Boolean logic. Understanding how databases interpret your keywords will allow you to execute more specific searches, thereby saving you time while retrieving more relevant results. Boolean operators allow you to focus a search, particularly when your topic contains multiple search terms or concepts.

In many databases the Boolean operators are built into the search boxes. A database's Help pages will indicate how to construct Boolean searches and which wildcards the database supports.In the next module, we will apply these search techniques to searching QCAT for books and will briefly look at searching for books in Summon.

Venn diagrams are helpful to visually illustrate how these operators can be used.

Using AND

Use AND in a search to:

  • narrow your results
  • tell the database that ALL search terms must be present in the resulting records
  • Example: women AND income

  • In many, but not all, databases, the AND is implied. 
  • For example, Google automatically puts an AND in between your search terms.
  • Though all your search terms are included in the results, they may not be connected together in the way you want.
  • For example, this search: < university students test anxiety > is translated to:  university AND students AND test AND anxiety. The words may appear individually throughout the resulting records.
  • You can search using phrases to make your results more specific.
  • For example:  "university students" AND "test anxiety". This way, the phrases show up in the results as you expect them to be.

Using OR

Use OR in a search to:

  • connect two or more similar concepts (synonyms)
  • broaden your results, telling the database that ANY of your search terms can be present in the resulting records
  • example: teenagers OR youth 

example of using OR between two keywords


Using NOT

Use NOT in a search to:

  • exclude words from your search
  • narrow your search, telling the database to ignore concepts that may be implied by your search terms
  • use NOT sparingly, if at all, because you could end up excluding useful search results (e.g. articles or books that discuss both concepts)
  • example: exercise NOT fitness

Nested Searching

Whenever you have more than one Boolean operator, such as AND and OR, in a search statement, it is necessary to separate them with parentheses. This is known as a "nested searching." Here's an example:

("social movements" OR activism) AND (twitter OR facebook OR "social media") AND occupy

Nested searching tells the database the proper order in which to search for the keywords. Operations enclosed in parentheses are performed first followed by the operators outside the parentheses.


Rules about phrase searching vary from database to database. Some databases require them (without them an AND would be assumed between each word in your phrase, or worse, the database wouldn't be able to interpret your search), others supply them for you. The Help Screen of the database you are searching will indicate whether or not quotation marks are required.

"social movements"
"social media"


In many library databases (including QCAT, the Library Catalogue) you can also use a truncation symbol to broaden a search. Truncation is like a shortcut. Placed at the end of the root of a word (or word stem), a truncation symbol tells the database to search for variant endings of the word, including plurals and singulars.

Truncation symbols vary between databases. In QCAT, the truncation symbol is a question mark (?), in the article database Sociological Abstracts (and many other databases), the symbol is an asterisk (*).

An example of a truncated search in QCAT would be:


An example of a truncated search in an article database such as Sociological Abstracts would be:


The database would interpret the search as teen, teens, teenagers, etc.

Be careful when using truncation as it can produce unintended results. For example, a search for cult* retrieves cult, cults, cultivated, culture, cultures, etc. Only truncate back as far as it would be useful and still on topic.