Card 1 — the safe query pattern
Start by showing how application data should stay separate from the SQL instruction itself.
Prepared statement example
This is the pattern to teach first because it prevents input from changing query structure.
// Node.js example const sql = "SELECT * FROM users WHERE email = ?"; db.execute(sql, [email]); // The value is bound safely instead of concatenated.