Question: postgres how to create table?
Answer: First, specify the name of the table after the CREATE TABLE keywords.
Second, creating a table that already exists will result in a error. ... 
Third, specify a comma-separated list of table columns. ... 
Finally, specify the table constraints including primary key, foreign key, and check constraints.