create table catalog
       (
       catalog_num              serial(10001),
       stock_num                smallint not null,
       manu_code                char(3) not null,
       cat_descr                text,
       cat_picture              byte,
       cat_advert               varchar(255, 65),
       primary key (catalog_num),
       foreign key (stock_num, manu_code) references stock constraint aa
       );
