I am trying to delete the last record in the table named \"marks\" in the database using MySql query. I was tried to do so. Also I tried on
If id is auto-increment then you can use the following
id
delete from marks order by id desc limit 1