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