From 12798458d936831d88e9a0664e49f6794afa29d5 Mon Sep 17 00:00:00 2001 From: Matthew Huntington Date: Fri, 20 Oct 2023 20:46:10 -0400 Subject: [PATCH] denormalization and sql injection --- SQL/lessons/sql_3.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/SQL/lessons/sql_3.md b/SQL/lessons/sql_3.md index 5f3705d..0a067d0 100644 --- a/SQL/lessons/sql_3.md +++ b/SQL/lessons/sql_3.md @@ -232,6 +232,12 @@ END; ### Denormalization +| id | name | age | company_id | company_name | company_address | +|----|------|-----|------------|--------------|-----------------| +| 1 | matt | 43 | 1 | google | SF | + ### Excel -> CSV -> MySQL ### SQL Injection + +- input with value `Huntington'; DROP TABLE people;`