テストの結果を含むテーブルがあります。
次のようになります。
Test | Result
Math | Pass
Science | Fail
History | cancelled
French | Absent
テーブルの名前は table1 です。"Pass"
列の結果の値がまたはでないテーブルの行を削除したい"fail"
何かのようなもの:
Delete from table1
where result not in (Pass, Fail);
結果のテーブルは次のようになります。
Test | Result
Math | Pass
Science | Fail