📜  输出到文件 mysql 代码示例

📅  最后修改于: 2022-03-11 15:05:34.004000             🧑  作者: Mango

代码示例1
Copied SELECT a,b,a+b INTO OUTFILE '/tmp/result.txt'
  FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
  LINES TERMINATED BY '\n'
  FROM test_table;