Question: how to create table in specific database in postgresql?
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.