SQL - SQLite - DELEtE文とUPDATE文 - 役に立つ変更 - delete文とwhere句
Head First SQL ―頭とからだで覚えるSQLの基本、 Lynn Beighley(著)、 佐藤 直生(監訳)、 松永 多苗子(翻訳)、 オライリージャパンの 3章(DELEtE文とUPDATE文 - 役に立つ変更)、p.133(WHERE句を伴うDELETE文になってみよう)の解答を求めてみる。
- where location = ‘クリスピーキング’ and rating <> 6;
- 1行目
- where location = ‘クリスピーキング’ and rating 3;
- where location = ‘スナッピーベーグル’ and rating >= 6;
- where location = ‘クリスピーキング’ or rating > 5;
- 1行目
- 2行目
- 4行目
- where location = ‘クリスピーキング’ or rating = 3;
- 1行目
- where location = ‘スナッポーベーグル’ or rating = 3;