テーブルの作成にはcreate tableを使う。
CREATE TABLE [table_name] ( [column1 type condition],[column2 type condition],...,CONSTRAINT [tag] [constraint]([column],[column],...))
普通に作成するときはCONSTRAINT以下はあまり意識しないけど、複合主キーを作成するときは
CREATE TABLE table1 (id1 int, id2 int, str1 text, date1 date, constraint key1 primary key(id1, id2))
のようにしないといけない。