搜:
mysql select result to excel
参考:
MySQL :: MySQL 5.5 Reference Manual :: 13.2.9.1 SELECT … INTO Syntax
Exporting results of a Mysql query to excel? – Stack Overflow
“
SELECT … FROM … WHERE …
INTO OUTFILE ‘file.csv’
FIELDS TERMINATED BY ‘,’
”
即可。
转载请注明:在路上 » [已解决]mysql的SELECT结果保存到excel文件