Task: Text to Code
Input (English): SQL: SELECT T1.address_details FROM Addresses AS T1 JOIN Documents_Mailed AS T2 ON T1.address_id = T2.mailed_to_address_id WHERE T2.document_id = 7
Feedback: Place document drafts table instead of documents mailed table and replace address details with draft details .
Output (English): SELECT draft_details FROM Document_Drafts WHERE document_id = 7