Home > Database > SQL > What is the sql modification statement?

What is the sql modification statement?

步履不停
Release: 2019-06-18 14:37:28
Original
8131 people have browsed it

What is the sql modification statement?

SQL modification statement is an UPDATE statement.

SQL UPDATE statement

The UPDATE statement is used to update records that already exist in the table.

SQL UPDATE syntax

UPDATE table_name
SET column1=value1,column2=value2,...
WHERE some_column=some_value;
Copy after login

Please pay attention to the WHERE clause in the SQL UPDATE statement!

The WHERE clause specifies which record or records need to be updated. If you omit the WHERE clause, all records will be updated!

For more technical articles related to SQL, please visit the SQL Tutorial## column to learn!

The above is the detailed content of What is the sql modification statement?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template