🗒 Cheat Sheet← Lesson
BitWithBite
SQL Worksheet

🗃 INSERT, UPDATE & DELETE

Chapter: SQL · Level ★☆☆ · Time: 30 min
SCORE___ / 20
NameClassDate
After this worksheet you can
Insert new rowsUpdate existing rows safelyDelete with WHEREUnderstand the danger of missing WHERE
📚 Quick Recap

SELECT reads data, but INSERT, UPDATE, and DELETE change it. These three commands are called DML — Data Manipulation Language. One of the most important things a SQL developer learns is that UPDATE and DELETE without a WHERE clause can destroy your entire table. This lesson covers safe DML practices.

🧠 Section A · Concept Check ● BEGINNER 4 × 1 = 4

1Add a row with:
2UPDATE without WHERE changes:
3Remove rows with:
4DELETE FROM users; (no WHERE) does:

🧮 Section B · Problem Solving ● INTERMEDIATE 2 + 3×3 = 11

5INSERT INTO users (name) ('Ali');
6UPDATE users SET age=20 id=5;
7Insert a student named 'Sara' aged 15 into students(name, age).
8Set price to 9.99 for product id 3.
9Delete orders older than 2020.

🚀 Section C · Challenge ● CHALLENGE 5

10DELETE vs DROP TABLE?
💭 Reflection — the most useful thing I learned:
A ___/4   B ___/11   C ___/5   Total ___/20 Teacher's Signature Parent's Signature
✂ answer key — fold or cut before handing out

1-A   2-C   3-B   4-B  |  5 VALUES   6 WHERE   7 = INSERT INTO students (name, age) VALUES ('Sara', 15);   8 = UPDATE products SET price = 9.99 WHERE id = 3;   9 = DELETE FROM orders WHERE order_date < '2020-01-01';  |  10 = DELETE removes rows; DROP removes the entire table structure

📄 Need offline practice?Download the print-ready PDF or open the one-page cheat sheet.
⬇ Worksheet PDF 🗒 Cheat Sheet