CREATE TABLE Documents (project_id VARCHAR)

Show the ids for projects with at least 2 documents.
SELECT project_id FROM Documents GROUP BY project_id HAVING COUNT(*) >= 2
SELECT "project_id" FROM "Documents" GROUP BY "project_id" HAVING COUNT(*) >= 2