Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Challenge: Updating Page Counts | Updating & Deleting Data
Introduction to SQL
course content

Conteúdo do Curso

Introduction to SQL

Introduction to SQL

1. Getting Started
3. Sorting Data
4. Populating a Database
5. Updating & Deleting Data

book
Challenge: 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.

Tarefa

Swipe to start coding

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:

sql

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 5. Capítulo 3
toggle bottom row

book
Challenge: 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.

Tarefa

Swipe to start coding

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:

sql

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 5. Capítulo 3
Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Sentimos muito que algo saiu errado. O que aconteceu?
some-alt