SQL INSERT INTO Statement
The INSERT INTO statement is used to add new records to a table. You can insert data into all columns or only into specific columns by specifying their names.
In the example below, we add a new customer record to the Customers table.
Example
Insert a new customer with all column values specified:
INSERT INTO Customers (CustomerID, CustomerName, ContactName, Address, City, PostalCode, Country)
VALUES (6, 'Tortuga Cafe', 'Linda Tortuga', 'Ocean St. 45', 'San Diego', '92101', 'USA');
In this example, the INSERT INTO statement adds a new row with specific values for each column.
Video Explanation

Syntax
For inserting data into all columns:
INSERT INTO table_name
VALUES (value1, value2, ...);
For inserting data into specific columns:
INSERT INTO table_name (column1, column2, ...)
VALUES (value1, value2, ...);
Demo Database
Below is a selection from the Customers table used in the examples:
| CustomerID | CustomerName | ContactName | Address | City | PostalCode | Country |
|---|---|---|---|---|---|---|
| 1 | Alfreds Futterkiste | Maria Anders | Obere Str. 57 | Berlin | 12209 | Germany |
| 2 | Ana Trujillo Emparedados y Helados | Ana Trujillo | Avda. de la Constitución 2222 | México D.F. | 05021 | Mexico |
| 3 | Antonio Moreno Taquería | Antonio Moreno | Mataderos 2312 | México D.F. | 05023 | Mexico |
| 4 | Around the Horn | Thomas Hardy | 120 Hanover Sq. | London | WA1 1DP | UK |
| 5 | Berglunds snabbköp | Christina Berglund | Berguvsvägen 8 | Luleå | S-958 22 | Sweden |