Question: What address was the document with id 4 mailed to?
Schema: create table addresses (document_id varchar, PRIMARY KEY (document_id)); create table documents_mailed (document_id varchar, PRIMARY KEY (document_id))
SQL: select addresses.address_details from addresses join documents_mailed on documents_mailed.mailed_to_address_id = addresses.address_id where document_id = 4