title: export query result as csv file with inner join in mysql
body: <p>Unable to query result as csv from mysql using GUI
  when I click on export it jump to query window</p>
  
  <p>Using <strong>below query</strong></p>
  
  <pre><code>select a.product_id,a.model,b.name 
  from oc_product a inner join oc_product_description b on
  a.product_id=b.product_id where a.status=1
  </code></pre>
  
  <blockquote>
    <p>I'm getting result to display but unable to export same as CSV file</p>
  </blockquote>