CREATE TABLE Documents (document_date VARCHAR2, document_id VARCHAR2)
CREATE TABLE Documents_with_Expenses (document_id VARCHAR2, budget_type_code VARCHAR2)

What are the dates for the documents with both 'GV' type and 'SF' type expenses?
SELECT T1.document_date FROM Documents AS T1 JOIN Documents_with_Expenses AS T2 ON T1.document_id = T2.document_id WHERE T2.budget_type_code = 'GV' INTERSECT SELECT T1.document_date FROM Documents AS T1 JOIN Documents_with_Expenses AS T2 ON T1.document_id = T2.document_id WHERE T2.budget_type_code = 'SF'
SELECT "T1"."document_date" FROM "Documents" "T1" JOIN "Documents_with_Expenses" "T2" ON "T1"."document_id" = "T2"."document_id" AND "T2"."budget_type_code" = 'GV' INTERSECT SELECT "T1"."document_date" FROM "Documents" "T1" JOIN "Documents_with_Expenses" "T2" ON "T1"."document_id" = "T2"."document_id" AND "T2"."budget_type_code" = 'SF'