Home > Database > Mysql Tutorial > body text

How to use delete in mysql

(*-*)浩
Release: 2020-09-16 11:33:00
Original
10796 people have browsed it

The delete statement in MySQL is generally used to delete one or more rows of data in a table.

Recommended courses: MySQL Tutorial.

How to use delete in mysql

The following is the general syntax of the SQL DELETE statement to delete data from a MySQL data table:

DELETE FROM <表名> [WHERE 子句] [ORDER BY 子句] [LIMIT 子句]
DELETE FROM table_name [WHERE Clause]
Copy after login