Hands-on task
This task is step 3 of the course “Databases in an evening: SQLite, PostgreSQL, Redis”
SQLite: update the data
In the database /root/inv.db there is a table products(name, stock). The item widget has run out of stock — update its stock to 0 (it was 15).
Reference:sqlite3
What you'll practise:
- sqlite3
- update
- where
- set