title: PostgreSQL syntax error at or near 'union'
body: <p>I have a small query, and a union to put another small query next to it. However, the union has a syntax error in it.</p>
  <pre><code>Select &lt;column1&gt;
        ,&lt;column2&gt;
        ,&lt;column3&gt;
  From &lt;Table1&gt; 
  &lt;Some joins in there&gt;
  where &lt;conditions&gt;
  order by &lt;column2&gt;
  
  union
  
  select &lt;column2&gt;
        ,&lt;column3&gt;
        ,&lt;column4&gt;
  from &lt;Table2&gt;
  &lt;Some more joins here&gt;
  where &lt;conditions&gt;
  order by &lt;column2&gt;
  </code></pre>
  <p>This is the Error I receive</p>
  <pre><code>ERROR: Syntax error at or near 'union'
  </code></pre>