Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有以下 csv....
6353,test 7855,test2
我只想导入第二个字段。我已经为 phpmyadmin 中的指定列名尝试了以下操作
null, product_name
但没有运气
您可以简单地将不需要的列写入变量。
LOAD DATA INFILE 'file.csv' INTO TABLE t1 (column1, @var1)