create table department(
id int auto_increment primary key,
nameD varchar(255) not null unique,
managerID int not null) ENGINE InnoDB
create table employee(
id int auto_increment primary key,
name varchar(255) not null unique,
departmentID int not null,
foreign key(departmentID) references department(id)) ENGINE InnoDB
data['Участник 1'] == data['Участник 2']