CREATE TABLE Documents (project_id VARCHAR)
CREATE TABLE Projects (project_id VARCHAR, project_details VARCHAR)

What is the project id and detail for the project with at least two documents?
SELECT T1.project_id, T1.project_details FROM Projects AS T1 JOIN Documents AS T2 ON T1.project_id = T2.project_id GROUP BY T1.project_id HAVING COUNT(*) > 2
SELECT "T1"."project_id", "T1"."project_details" FROM "Projects" AS "T1" JOIN "Documents" AS "T2" ON "T1"."project_id" = "T2"."project_id" GROUP BY "T1"."project_id" HAVING COUNT(*) > 2