Populate SQL INSERT Statement With Content

pull/6884/head
Sarkis Kovlekjian 3 months ago committed by GitHub
parent 54a731aaa5
commit 548812610d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 18
      src/data/roadmaps/sql/content/insert@mPj6BiK5FKKkIQ9WsWEo6.md

@ -1 +1,17 @@
# Insert
# INSERT
The `INSERT` statement is used to add new rows of data into a table. <br/>
It can be utilized in a query as seen in the example below:
```sql
INSERT INTO table (column1, column2...)
VALUES (value1, value2...);
```
If -for whatever reason- all columns of a table require data insertion, <br/> it can be done so by ommiting the `column` assignment in the query:
```sql
INSERT INTO table_name VALUES (value1, value2, value3, ...);
```
Visit the following resources to learn more:
- [@article@SQL INSERT](https://www.w3schools.com/sql/sql_insert.asp)

Loading…
Cancel
Save