mysql查询是:
SELECT * FROM mytable
WHERE CId=1
INTO OUTFILE '/var/lib/mysql/values.csv'
FIELDS TERMINATED BY ',' ENCLOSED BY '' ESCAPED BY '\\'
LINES TERMINATED BY '\n';
它工作并生成csv文件 但我想在这个文件中添加一个新的工作表并执行这个查询:
select * from mytable where CId=2;
有可能吗?