
In the above statement, we create a table name as emp_info using create table statement.We are separating the name of the columns by using the comma.In the above syntax where create the table is keyword and table name means new table name that we need to create and column name 1 and 2 specified column name in the table with data type and operator.So we use the following statement to create a table.Ĭreate table table name ( column name_1 data type (null | not null), column name_2 data type ( null | not null),……………. Let’s create a table to perform insert into a statement using a create table statement. We must require tables to perform the insert operation.ĭifferent Methods to insert into the statement are as follow:.

POSTGRESQL INSERT INTO TABLE INSTALL

In the above syntax where insert into, values are keywords, table name means specified table name that we need to insert data after column name means specified column name in the table in which we need to insert data and value means an actual value that we need to insert into the table.COLUMN NAME N) VALUES (VALUE 1, VALUE 2, VALUE 3. INSERT INTO SPECIFIED TABLE NAME (COLUMN NAME 1, COLUMN NAME 2, COLUMN NAME 3.

Hadoop, Data Science, Statistics & others
