mysql 导出查询数据

SELECT * FROM (表名) INTO OUTFILE '/usr/local/test.txt' ;
SELECT * FROM (表名) INTO OUTFILE '/tmp/1.sql' ;

我来吐槽

*

*