MySQL DELETE Statement

MySQL DELETE statement is used to delete data from the MySQL table within the database. By using delete statement, we can delete records on the basis of conditions.

Syntax:

snippet
DELETE FROM table_name 
WHERE
(Condition specified);

Example:

snippet
DELETE FROM cus_tbl
WHERE cus_id = 6;

Output:

mysql delete query
Related Tutorial
Follow Us
https://www.facebook.com/Rookie-Nerd-638990322793530 https://twitter.com/RookieNerdTutor https://plus.google.com/b/117136517396468545840 #
Contents +