Skip to the content.
< PREVIOUS   NEXT >

INSERT INTO

To insert new record we use INSERT INTO Statement.

INSERT INTO SYNTAX


Values should be in same order and in same number (Otherwise it will throw an error)

EXAMPLE

Suppose there is a Table name as “CustomerComplaint” having CustomerID, CustomerName, ProductName Issue, City, PostalCode and Country as columns.

The CustomerID column is an auto-increment field and will be generated automatically when a new record is inserted into the table.


If any values gets missing it will throw an error.


Unspecified columns will result in the form of NULL

< PREVIOUS   NEXT >

HOME