Home>Article>Database> How to delete data in mysql

How to delete data in mysql

(*-*)浩
(*-*)浩 Original
2019-05-17 11:25:00 22721browse

In MySQL, you can use the DELETE statement to delete one or more rows of data in a table.

How to delete data in mysql

Delete data in a single table

Use the DELETE statement to delete data from a single table. The syntax format is:

DELETE FROM <表名> [WHERE 子句] [ORDER BY 子句] [LIMIT 子句]

The syntax is as follows: