CREATE TABLE foo (bar_id integer not null, baz_id integer not null); CREATE TABLE bar (id integer not null); CREATE TABLE baz (id integer not null);