How to delete data in mysql

(*-*)浩
Release: 2020-09-16 09:58:00
Original
22706 people have browsed it

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 子句]
Copy after login

The syntax is as follows: