title: Exporting results of a Mysql query to excel?
body: <p>My requirement is to store the entire results of the query</p>
  
  <pre><code>SELECT * FROM document 
  WHERE documentid IN (SELECT * FROM TaskResult WHERE taskResult = 2429)
  </code></pre>
  
  <p>to an Excel file.</p>