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.
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
Upgrade to Pro to unlock this course, its labs and its exam.
View Pricing Plans