K Kapnula
🗄
الدرس 17 · صف 15+

Databases and SQL: where the data lives

📖 الدرس ──▶ 🎯 اختبار — اختر الترجمة ──▶ ✅ أُنجز الدرس
4 × 5 = 20

A database is tables with rules. The user is the row, the fields are columns: id, name, email. SQL is the question language: SELECT (give), INSERT (add), UPDATE (change), DELETE (remove). On our site listings, users, cities — all live in the database. SELECT * FROM users WHERE city = "Berlin" — "show all Berlin users".

🗄 SQL injection is when an attacker "queries" the database through an input field: '; DROP TABLE users;-- . That is why code always filters input!
🎯
اختبر نفسك!
ثبّت الموضوع بالمدرّب — كما بعد الحصة
اختبار — اختر الترجمة → 🖨 ورقة عمل
← السابق التالي →
⛅ 14° Potsdam 💨 11 km/h
💶 EUR 🇺🇸 1.12 USD 🇷🇺 93.87 RUB 🇵🇱 4.39 PLN 🇺🇦 50.32 UAH EZB · daily