CREATE TABLE kockazat_pszminta
(
  "kockazat_pszminta_kod" serial NOT NULL,
  "nev" varchar(100),
   "c_userid" varchar(20),
   "c_date" date,
   "c_time" varchar(10),
   "m_userid" varchar(20),
   "m_date" date,
   "m_time" varchar(10),  
  CONSTRAINT "kockazat_pszminta_pk1" PRIMARY KEY ("kockazat_pszminta_kod")
) WITHOUT OIDS;

ALTER TABLE kockazat_pszminta OWNER TO mbt;

CREATE INDEX kockazat_pszminta_id1 ON kockazat_pszminta (nev);