Skip to main content

Practice · 1 of 2

Safe Lookup

CHALLENGE
Difficulty: intermediate+25 XP

Implement safe_lookup(conn, name) returning rows from users WHERE name = ?. It MUST survive the injection attempt in the test (the classic quote trick must be treated as a literal name).

Back to lesson: Practice: Injection-Proof Drills