select * from person
inner join personsnils on Person.server_id = personsnils.server_id 
inner join personsurname on Person.server_id = personsurname.server_id
inner join personfirname on Person.server_id = personfirname.server_id
inner join personsecname on Person.server_id = personsecname.server_id
inner join personsex on Person.server_id = personsex.server_id
inner join persis.MedWorker on Person.person_id = persis.MedWorker.person_id 
inner join persis.workplace on persis.MedWorker.id = persis.workplace.id 
inner join persis.KodDLO on persis.workplace.medworker_id = persis.KodDLO.medworker_id 
where persis.MedWorker.current_region=14
