MySQL Delete Query

delete query in MY SQL

Quick Links


MySQL Delete Query 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:

DELETE FROM table_name 

WHERE

(Condition specified);

Example:

DELETE FROM cus_tbl

WHERE cus_id = 6;

Output:


Spread the love

Leave a Comment

Your email address will not be published. Required fields are marked *