CREATE TABLE Projects (project_details VARCHAR, project_id VARCHAR)
CREATE TABLE Project_outcomes (project_id VARCHAR, outcome_code VARCHAR)

List the project details of the project both producing patent and paper as outcomes.
SELECT T1.project_details FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id = T2.project_id WHERE T2.outcome_code = 'Paper' INTERSECT SELECT T1.project_details FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id = T2.project_id WHERE T2.outcome_code = 'Patent'
SELECT "T1"."project_details" FROM "Projects" AS "T1" JOIN "Project_outcomes" AS "T2" ON "T1"."project_id" = "T2"."project_id" AND "T2"."outcome_code" = 'Paper' INTERSECT SELECT "T1"."project_details" FROM "Projects" AS "T1" JOIN "Project_outcomes" AS "T2" ON "T1"."project_id" = "T2"."project_id" AND "T2"."outcome_code" = 'Patent'