Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Challenge: Updating Page Counts | Updating & Deleting Data
Introduction to SQL
セクション 5.  3
single

single

bookChallenge: Updating Page Counts

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

The library discovered that some books in their database have incorrect page counts due to a data entry error. Specifically, for books published before the year 2000, the page count was mistakenly recorded 10 pages fewer than the actual number of pages.

タスク

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

Your task is to fix this error by updating the pages column in the books table. Increase the page count by 10 for all books where published before the year 2000.

You can reference a column value in an UPDATE statement like this:

UPDATE table_name  
SET column_name = column_name + value  
WHERE condition;

解答

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

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

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

セクション 5.  3
single

single

AIに質問する

expand

AIに質問する

ChatGPT

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

some-alt