Skip to content

Combining conditions

A WHERE clause can test more than one thing at once. Join conditions with:

  • AND — both must be true
  • OR — at least one must be true
  • NOT — flips a condition
SELECT name FROM student WHERE form = '11A' AND score > 88;

This returns 11A students who also scored above 88.

Handout

Log in or create account

IGCSE, A-Level & AP