Skip to content
Theory · Filtering with WHERE · lesson 3 of 10

AND, OR, NOT and parentheses

In the last lesson the note held one question. But a coffee shop guest rarely wants only one thing. "Coffee, but no more than 200" is already two questions for each card. "Tea, or anything over 300" is two as well, only joined differently.

In this lesson

  • AND — both answers must be "yes"
  • OR — one "yes" is enough
  • NOT — the opposite answer
  • AND runs before OR
  • Common mistake
  • Key points