PostgreSQL – Create Table

Below is the sql command syntax to create a table in PostgreSQL database: CREATE TABLE table_name ( column1 datatype1 constraint1, column2 datatype2 constraint2, column3 datatype3 constraint3, … ); Below is an example of how to create a table in PostgreSQL database with two columns: CREATE TABLE employees ( employee_id integer, employee_name text ); Above sql…