title: SQL "WITH" to include multiple derived tables
body: <p>Can I write something like below. But this is not giving proper output in WinSQL/Teradata</p>
  
  <pre><code>with
  a (x) as ( select 1 ),
  b (y) as ( select * from a )
  
  select * from b
  </code></pre>