Removed images and added text tables (#35900)

This commit is contained in:
Uma Sankar
2019-06-28 12:51:21 +05:30
committed by Randell Dawson
parent b18560f8d6
commit 1f6b3c082d
13 changed files with 884 additions and 366 deletions

View File

@@ -5,7 +5,10 @@ title: SQL Insert Query
Insert queries are a way to insert data into a table. Let's say we have created a table using
`CREATE TABLE example_table ( name varchar(255), age int)`
```sql
CREATE TABLE example_table ( name varchar(255), age int)
```
**example_table**
@@ -14,7 +17,10 @@ Insert queries are a way to insert data into a table. Let's say we have created
Now to add some data to this table , we'll use **INSERT** in the following way:
`INSERT INTO example_table (column1,column2) VALUES ("Andrew",23)`
```sql
INSERT INTO example_table (column1,column2) VALUES ("Andrew",23)
```
**example_table**
@@ -24,7 +30,10 @@ Now to add some data to this table , we'll use **INSERT** in the following way:
Even the following will work, but it's always a good practice to specify which data is going into which column.
`INSERT INTO table_name VALUES ("John", 28)`
```sql
INSERT INTO table_name VALUES ("John", 28)
```
**example_table**