From what date and to what date do the staff work on a project that has the most staff and has staff in a leader role?
select date_from, date_to from project_staff where project_id in( select project_id from project_staff group by project_id order by count(*) desc limit 1 ) union select date_from, date_to from project_staff where role_code = 'leader'