title: How to export multiple query results to csv using SQL Server?
body: <p>I have the following queries set up:</p>
  
  <pre><code>SELECT COUNT(*) FROM SqlServer_tbl WHERE ZipFile = 'z1'
  SELECT COUNT(*) FROM SqlServer_tbl WHERE ZipFile = 'z2'
  SELECT COUNT(*) FROM SqlServer_tbl WHERE ZipFile = 'z3'
  </code></pre>
  
  <p>How do I export the results of all three of these queries at once so that the final spreadsheet looks something like the following:</p>
  
  <pre><code>Zipfile  Count
  --------------
  z1        1200
  z2        1350
  z3       25500
  </code></pre>