Insert

SQL Insert

The INSERT command is used to insert records into a SQL table.

Syntax

INSERT INTO table_name
(
column_name_1,
column_name_2,
column_name_3,

) VALUES (
column_value_1,
column_value_2,
column_value_3,

);

Example

INSERT INTO students(student_id, name, age) VALUES (1,'Tom',19);