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.
我正在使用加载数据 infile,我必须做些什么才能将 CSV 文件中的某个元素仅导入到我们表中的某个列
来自mysql手册的加载数据页面
LOAD DATA INFILE 'file.txt' INTO TABLE t1 (column1, @dummy, column2, @dummy, column3);