INSERT INTO fizetesmodtorzs (fizetesmod, m1, c_userid, c_date, c_time, e_userid, e_date, e_time, t_tipus1, kod) VALUES ('-', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0);

ALTER TABLE szerzodes
  ADD CONSTRAINT szerzodes_fk1 FOREIGN KEY (fizetesmod)
      REFERENCES fizetesmodtorzs (kod) MATCH SIMPLE
      ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE befiz
  ADD CONSTRAINT befiz_fk1 FOREIGN KEY (e_befmod)
      REFERENCES fizetesmodtorzs (kod) MATCH SIMPLE
      ON UPDATE NO ACTION ON DELETE NO ACTION;

ALTER TABLE szamla
  ADD CONSTRAINT szamla_fk1 FOREIGN KEY (szamla_fizmodkod)
      REFERENCES fizetesmodtorzs (kod) MATCH SIMPLE
      ON UPDATE NO ACTION ON DELETE NO ACTION;