コンテンツへスキップ
English
Filtering rows with WHERE

So far every query returned all the rows. Add a WHERE clause to keep only the rows that match a condition:

SELECT name, score FROM student WHERE score >= 80;

Only rows where the condition is true are returned.

WHERE score >= 80 keeps Mei, Sara and Lin and leaves out Jamal and Tom

プリント

ログインまたはアカウント作成

IGCSE, A-Level & AP