mysql delete
snippet in sql

mysql delete row

user3390

DELETE FROM products WHERE product_id=1;

mysql delete

user4948

DELETE FROM table_name
WHERE some_column = some_value 

mysql delete statement

user2526

 DELETE FROM table_name WHERE condition;

delete all content in table mysql

user6469

TRUNCATE tablename

mysql delete entire row on condition

user962

DELETE FROM table_name [WHERE Clause]

MySQL DELETE

user2642

To delete data from a table, you use the MySQL DELETE statement. The following illustrates the syntax of the DELETE statement:

DELETE FROM table_name
WHERE condition;
In this statement:

First, specify the table from which you delete data.
Second, use a condition to specify which rows to delete in the WHERE clause. The DELETE statement will delete rows that match the condition,