What are project ids of projects that have 2 or more corresponding documents?
select project_id from documents group by project_id having count(*) >= 2