SELECT a,b,a+b INTO OUTFILE '/tmp/result.txt'
    COLUMNS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '\"'
    FROM test_table;