title: How do i escape both backslash and double quotes in a single query while export MySQL outfile csv
body: <pre><code>SELECT `col 1`, `col 2`, `col 3`, `col 4`, `col 5`
  FROM table_name
  INTO OUTFILE '/test.csv'
  CHARACTER SET utf8
  FIELDS TERMINATED BY ','
  </code></pre>
  
  <h2>OPTIONALLY ENCLOSED BY '\"' ESCAPED BY '\"'</h2>
  
  <pre><code>LINES TERMINATED BY '\n'
  </code></pre>
  
  <p>I've done the query above to escape double quotes, but I want to escape both the backslash and double quotes characters in same query.</p>