how to import an csv file into mysql when the headers dont align code example
Example: how to dump .csv file into mysql
LOAD DATA LOCAL INFILE 'c:/country.csv'
INTO TABLE country
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\n'
IGNORE 1 ROWS;