What is the last date of the staff leaving the projects?
select date_to from project_staff order by date_to desc limit 1;