Update SQL Roadmap UPDATE Statement Node. (#6784)
* Fill update node with info Add relevant info. Any new proposals welcome * remove emoji and code formatting as suggested in PR reviewpull/6823/head^2
parent
5c2cc7a6da
commit
f16c2a8afd
1 changed files with 18 additions and 0 deletions
@ -0,0 +1,18 @@ |
||||
# UPDATE |
||||
|
||||
The `UPDATE` statement is used to modify existing data in a given table. <br/> |
||||
It can be done so with the query |
||||
|
||||
``` |
||||
UPDATE table_name |
||||
SET column1 = value1, column2 = value2, ... |
||||
WHERE condition; |
||||
``` |
||||
|
||||
- _Keep in mind that **SET** and **WHERE** are also commands to assign a new value(SET) only if the condition is met(WHERE)_ |
||||
|
||||
Omitting the `WHERE` clause will update **all** rows in the table. |
||||
|
||||
Visit the following resources to learn more: |
||||
|
||||
- [@article@W3Schools SQL UPDATE Statement Doc](https://www.w3schools.com/sql/sql_update.asp) |
Loading…
Reference in new issue