title: Create in WITH(CTE) using PostgreSQL
body: <p>I am trying to create temporary table within WITH using function in PostgreSQL.  </p>
  
  <p><strong>Example</strong>:</p>
  
  <pre><code>with mm
  as
  (
       select * from test
  )
  create table xyz as select * from mm
  ;
  </code></pre>
  
  <p><strong>Note</strong>: Getting error near create</p>