MySql – Delete

If you need to delete a row you can use the DELETE command with a WHERE clause dictating which ones:

DELETE FROM tbl_nameWHERE fieldx = "X";

Example

DELETE FROM criminals WHERE crime = "Arson";

Further Information and examples here

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.