CREATE TABLE statements (statement_id NUMBER, statement_details CLOB)
CREATE TABLE documents_with_expenses (document_id NUMBER, budget_type_code CLOB, document_details CLOB)
CREATE TABLE documents (document_id NUMBER, document_type_code CLOB, project_id NUMBER, document_date TIME, document_name CLOB, document_description CLOB, other_details CLOB)
CREATE TABLE ref_budget_codes (budget_type_code CLOB, budget_type_description CLOB)
CREATE TABLE accounts (account_id NUMBER, statement_id NUMBER, account_details CLOB)
CREATE TABLE ref_document_types (document_type_code CLOB, document_type_name CLOB, document_type_description CLOB)
CREATE TABLE projects (project_id NUMBER, project_details CLOB)

Give the dates of creation for documents that have both budget type codes 'GV' and 'SF'.
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'