MYSQL DELETE TABLE code example

Example 1: drop table in mysql

DROP TABLE table_name;

Example 2: mysql delete

DELETE FROM table_name
WHERE some_column = some_value

Example 3: how to delete a table entry in mysql

DELETE FROM `table_name` [WHERE condition];

Example 4: to delete a table in mysl

drop table table_name;

Example 5: mysql delete entire row on condition

DELETE FROM table_name [WHERE Clause]

Example 6: how to DROP a table in mysql

-- 'DROP TABLE' followed by the name of the table you would like
-- to drop.
DROP TABLE `test_table`;

Tags:

Sql Example