title: delete the last row in a table using sql query?
body: <p>I am trying to delete the last record in the table named <strong>&quot;marks&quot;</strong> in the database using <strong>MySql query</strong>.<br />
  The query I tried for this is as follows:</p>
  <pre><code>DELETE MAX(`id`) FROM `marks`;
  </code></pre>
  <p>There are 8 columns in the table. I want to delete the last column without specifying <code>id</code>, as in:</p>
  <p><code>DELETE FROM marks where id=8;</code></p>
  <p>After deleting the 8th record, I want to delete the 7th; after that 6th and so on, up to 1st record without specifying the <code>id</code> manually.</p>