title: SQLite delete from only if the table exists
body: <p>Right now I have this statement</p>
  
  <pre><code>DELETE FROM sqlite_sequence where name = 'table_name';
  </code></pre>
  
  <p>which works fine in most cases, but now I have a case where the <code>sqlite_sequence</code> table is not being created and so I get back</p>
  
  <pre><code>no such table: sqlite_sequence
  </code></pre>
  
  <p>I need a statement that only does the delete if the table exists. I've found this statement to tell me if the table exists or not</p>
  
  <pre><code>SELECT name FROM sqlite_master WHERE type='table';
  </code></pre>
  
  <p>But so far I've been unable to successfully pair it with the delete satement</p>