How to update table data in MySQL database

autoload
Release: 2021-04-15 14:13:31
Original
9307 people have browsed it

This article mainly takes you to understand and use theMySQL Updatestatement to update existing records in the database table.

Basic syntax of the Update statement:

UPDATE <表名> SET 字段 1=值 1 [,字段 2=值 2… ] [WHERE 子句 ] [ORDER BY 子句] [LIMIT 子句]
Copy after login