Skip to content · ⁨コンテンツへスキップ⁩
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:

Only rows where the condition is true are returned.

日本語

WHEREで行をフィルタリングする

これまで、すべての照会がすべての行を返していました。条件に一致する行のみを残すために WHERE クロースを追加します:

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

条件が真である行のみが返されます。

Handout · ⁨プリント⁩

Log in or create account · ⁨ログインまたはアカウント作成⁩

IGCSE, A-Level & AP