title: Why subquery does not work in teradata?
body: <p>I tried this</p>
  
  <pre><code>SELECT * 
  FROM
  ( SELECT *
  FROM mytable;
  );
  </code></pre>
  
  <p>and this</p>
  
  <pre><code>SELECT * 
  FROM
  ( SELECT *
  FROM mytable
  );
  </code></pre>
  
  <p>Why these simple queries do not execute in Teradata? </p>