Last active
February 28, 2022 20:13
-
-
Save jraczak/9b740d58496b8df3d099bc70b7463f05 to your computer and use it in GitHub Desktop.
Optionally Enclosed By ""
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create schema nj_teacher_salaries; | |
create table nj_teacher_salaries.salaries ( | |
last_name TEXT, | |
first_name TEXT, | |
county TEXT, | |
district TEXT, | |
school TEXT, | |
primary_job TEXT, | |
fte TEXT, | |
salary TEXT, | |
certificate TEXT, | |
subcategory TEXT, | |
teaching_route TEXT, | |
highly_qualified TEXT, | |
experience_district TEXT, | |
experience_nj TEXT, | |
experience_total TEXT); | |
LOAD DATA INFILE '/Users/Justin/Developer/mysql/data_files/nj_teachers_salaries_cls.csv' | |
INTO TABLE nj_teacher_salaries.salaries | |
FIELDS TERMINATED BY ',' | |
LINES TERMINATED BY '\n' | |
OPTIONALLY ENCLOSED BY "" | |
IGNORE 1 ROWS | |
(last_name, first_name, county, district, school, primary_job, fte, salary, certificate, subcategory, teaching_route, highly_qualified, experience_district, experience_nj, experience_total); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment