This interactive room is built for a bigger screen. Watch the recorded run instead, or come back on desktop.
Watch the run → ← All demo roomsfunction findUser(u, p) { - const q = `SELECT * FROM users - WHERE username = '${u}'`; + const q = `SELECT * FROM users WHERE username = ?`; + return db.query(q, [u]); // parameterised }