title: sql query with create command
body: <p>I am having a problem in creating a table from another table.
  I am using the query:</p>
  
  <pre><code>CREATE TABLE new_table as ( SELECT Distinct * FROM old-table)
  </code></pre>
  
  <p>Its giving the error</p>
  
  <pre><code>Incorrect syntax near the keyword 'as'.
  </code></pre>