ВопросSeniorПозитив Технолоджис30 просмотров

2. SQL create table users ( user_id serial primary key ); create table profiles ( profile_id serial primary key, user_id integer not null references users(user_id) ); insert into users select x from generate_series(1, 99999) as seq(x); insert into profiles select x, 100000 - x from generate_series(1, 99999) as seq(x);