Answers for "delete query in mysql where condition"

SQL
4

delete record mysql query

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.

for example:
DELETE FROM customers WHERE id = 1;
Posted by: Guest on May-21-2020
0

mysql delete entire row on condition

DELETE FROM my_table WHERE col1 > 2;
DELETE FROM my_table WHERE col1 IS NOT NULL;
Posted by: Guest on May-08-2021

Code answers related to "delete query in mysql where condition"

Code answers related to "SQL"

Browse Popular Code Answers by Language