Skip to content · ⁨Saltar al contenido⁩
English

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

This returns 11A students who also scored above 88.

Español

Combinar condiciones

Una cláusula WHERE puede evaluar más de una condición a la vez. Combine las condiciones usando:

  • AND — ambas deben ser verdaderas
  • OR — al menos una debe ser verdadera
  • NOT — invierte una condición
SELECT name FROM student WHERE form = '11A' AND score > 88;

Esto devuelve los estudiantes de 11A que también obtuvieron una puntuación superior a 88.

Handout · ⁨Material⁩

Log in or create account · ⁨Iniciar sesión o crear cuenta⁩

IGCSE, A-Level & AP