postgresql create table not working code example
Example 1: postgres create table
-- Basic table creation
CREATE TABLE table_name(
column1 datatype,
column2 datatype,
column3 datatype,
.....
columnN datatype,
PRIMARY KEY( one or more columns )
);
Example 2: show create table in postgresql
pg_dump -t 'schema-name.table-name' --schema-only database-name