0
Q:

mysql delete statement

DELETE FROM table_name
WHERE some_column = some_value 
10
 DELETE FROM table_name WHERE condition;
12
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,
2
[CONSTRAINT [symbol]] FOREIGN KEY
    [index_name] (col_name, ...)
    REFERENCES tbl_name (col_name,...)
    [ON DELETE reference_option]
    [ON UPDATE reference_option]

reference_option:
    RESTRICT | CASCADE | SET NULL | NO ACTION | SET DEFAULT
0
delete query
-2

New to Communities?

Join the community