📜  如何在mysql代码示例中加载文件

📅  最后修改于: 2022-03-11 15:05:20.559000             🧑  作者: Mango

代码示例2
LOAD DATA INFILE 'c:/tmp/discounts.csv' 
INTO TABLE discounts 
FIELDS TERMINATED BY ',' 
ENCLOSED BY '"'
LINES TERMINATED BY '\n'
IGNORE 1 ROWS;
Code language: SQL (Structured Query Language) (sql)