Data Analyst

Case File: The Careful Update

Reading data is safe; changing it is not: one forgotten WHERE and every parcel of the year is changed or gone. In a real SQLite database in this page (a copy, so no harm is possible), make four changes: INSERT two customers, UPDATE the status of pending parcels shipped before a date, DELETE the failed parcels of one city, and UPDATE the revenue of its delivered parcels. The checks look at every row afterwards: the rows that should change and the rows that must not. The database is generated for you alone.

55 min

Case File: The Careful Update

Reading data is safe; changing it is not: one forgotten WHERE and every parcel of the year is changed or gone. In a real SQLite database in this page (a copy, so no harm is possible), make four changes: INSERT two customers, UPDATE the status of pending parcels shipped before a date, DELETE the failed parcels of one city, and UPDATE the revenue of its delivered parcels. The checks look at every row afterwards: the rows that should change and the rows that must not. The database is generated for you alone.

In this lesson:

  • sql
  • sqlite
  • insert
  • update
  • delete
  • where
  • data safety
  • case-file

๐Ÿ”’ This lesson is part of a paid plan

This lesson is part of the Pro plan. Upgrade to unlock the full lesson, the labs and the exam.

Upgrade Now

This lesson is part of a paid plan

Upgrade to Pro to unlock this course, its labs and its exam.

View Pricing Plans