PostgreSQL CREATE TABLE语句、ui、查询工具创建新表
PostgreSQL中,CREATE TABLE
语句用于在任何给定的数据库中创建一个新表。
语法:
CREATE TABLE table_name(
column1 datatype,
column2 datatype,
column3 datatype,
.....
columnN datatype,
PRIMARY KEY( one or more columns )
);