From 45f52c214df9eb38b79d68bc7d3b04ed11ccec9f Mon Sep 17 00:00:00 2001 From: Matthew Huntington Date: Fri, 20 Oct 2023 20:54:23 -0400 Subject: [PATCH] excel -> csv -> postgres --- SQL/lessons/sql_3.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SQL/lessons/sql_3.md b/SQL/lessons/sql_3.md index 0a067d0..3725103 100644 --- a/SQL/lessons/sql_3.md +++ b/SQL/lessons/sql_3.md @@ -238,6 +238,10 @@ END; ### Excel -> CSV -> MySQL +- Create sheet +- File -> Download -> .csv +- `COPY people (name, age, ancestry, city) FROM '/Users/matthuntington/Downloads/people.csv' DELIMITER ',' CSV;` + ### SQL Injection - input with value `Huntington'; DROP TABLE people;`