将查询结果导出为文本文件
SELECT 字段 into outfile 'test/123.txt' from 表名
将文本文件导入到表中
load data infile 'test/123.txt' into table 表名 fields terminated by '\t' enclosed by '~';
将查询结果导出为文本文件
SELECT 字段 into outfile 'test/123.txt' from 表名
将文本文件导入到表中
load data infile 'test/123.txt' into table 表名 fields terminated by '\t' enclosed by '~';