Give the ids of documents that have expenses and contain the letter s in their names.
select t1.document_id from documents as t1 join documents_with_expenses as t2 on t1.document_id = t2.document_id where t1.document_name like '%s%'