📅  最后修改于: 2022-03-11 15:05:27.311000             🧑  作者: Mango
Convert file in .csv
CREATE TABLE (name of the table you insert data in)(
columns
);
LOAD DATA INFILE "path\\name.csv" INTO TABLE (name of the table you insert data in)
FIELDS TERMINATED BY "fields terminated by"
LINES TERMINATED BY "lines terminated by"
IGNORE (how many lines to ignore) LINES
(columns)