title: PhpPgAdmin Syntax error when creating View
body: <p>I am attempting to create a View in PhpPgAdmin (PostGreSQL db) which has the following SQL statement:</p>
  
  <pre><code>DELETE FROM myTable WHERE myTable.error IS NULL;
  </code></pre>
  
  <p>PhpPgAdmin gives me the following error:</p>
  
  <blockquote>
    <p>ERROR:  syntax error at or near "DELETE" at character 59
    In statement:
    CREATE OR REPLACE VIEW "Schema1"."Delete empty errors" AS DELETE FROM myTable WHERE myTable.error IS NULL;</p>
  </blockquote>
  
  <p>As far as I can tell this SQL statement is valid, and I have delete privileges for the table.  Is the DELETE statement not allowed in Views?  Any ideas what I am doing wrong?</p>