Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Challenge: Correct Book's Data | Updating & Deleting Data
/
Introduction to SQL
セクション 5.  2
single

single

bookChallenge: Correct Book's Data

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

The library staff discovered an error in the database for the books table. A recently added book has incorrect information, and you need to update it.

Specifically:

The book with book_id = 5 currently has the title 'The Greatest Gatsby'. However, the title was entered incorrectly, and it should be updated to 'The Great Gatsby'.

Additionally, this book's is_available status is incorrect and should be set to FALSE because it has been lent out.

タスク

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

Your task is to write an UPDATE statement to correct this information in the books table.

The syntax of the UPDATE statement is:

UPDATE table_name
SET column1 = value1,
        column2 = value2,
        ...
WHERE condition;

解答

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

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

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

セクション 5.  2
single

single

AIに質問する

expand

AIに質問する

ChatGPT

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

some-alt