Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql delete last row

DELETE FROM my_table WHERE my_col_id = (SELECT MAX(my_col_id) FROM my_table);
 
PREVIOUS NEXT
Tagged: #mysql #delete #row
ADD COMMENT
Topic
Name
2+4 =