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
@Abhshek's Answer is right and works for you but you can also try the following code if the id is not increment
DELETE FROM MARKS WHERE ID=(SELECT MAX(id) FROM MARKS)