title: Outputting results from multiple sql queries in postgresql
body: <p>I have <strong>postgresql-9.2</strong> installed on my local machine (running windows 7) and I am also the administrator. I am using the <strong>Query Tool of pgAdmin III</strong> to query my database. My problem is as follows:</p>
  
  <p>Say I have two tables <code>Table_A</code> and <code>Table_B</code> with different number of columns. Also, say I have following  two very simple queries:</p>
  
  <pre><code>select * from Table_A;
  select * from Table_B;
  </code></pre>
  
  <p>I want to run both these queries and see the output from both of them together. I dont mind if I see the output in the GUI or in a file. </p>
  
  <p>I also tried the copy command and outputting to a csv. But instead of appending to the file it overwrites it. So, I always end up with the results from query 2 only. The same thing happens with the GUI. </p>
  
  <p>It is really annoying to comment one query, run the another, output to two different files and then merge those two files together.</p>