title: Sqlite how delete last added entry of a table
body: <p>I'm trying to delete the last added entry of a table:</p>
  
  <pre><code>DELETE FROM notes ORDER BY created_at DESC LIMIT 1
  </code></pre>
  
  <p>This just causes the following error:</p>
  
  <pre><code>near "ORDER": syntax error
  </code></pre>
  
  <p>Why might I be getting this error? (<code>notes</code> exists and has records in it!)</p>