Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Challenge: Mark Archived Books As Unavailable | Updating & Deleting Data
Introduction to SQL
セクション 5.  4
single

single

bookChallenge: Mark Archived Books As Unavailable

メニューを表示するにはスワイプしてください

As you were going through the book records, you noticed that several older books are still marked as available, even though they are reserved for archival purposes. You need to update the is_available column to FALSE for all books that are:

  • Published before the year 1950;
  • Belong to the Historical Fiction or Classic genres.
タスク

スワイプしてコーディングを開始

Your task is to write an UPDATE statement to modify multiple rows in the books table based on these conditions.

Note

The rows that are to be modified must match both of the conditions.

解答

Switch to desktop実践的な練習のためにデスクトップに切り替える下記のオプションのいずれかを利用して、現在の場所から続行する
すべて明確でしたか?

どのように改善できますか?

フィードバックありがとうございます!

セクション 5.  4
single

single

AIに質問する

expand

AIに質問する

ChatGPT

何でも質問するか、提案された質問の1つを試してチャットを始めてください

some-alt