Task: Text to Code
Input (English): Step 1: For each row in Documents table, find corresponding rows in Ref_Document_Types table and in Documents_with_Expenses table.
Step 2: find Budget_Type_Code, Document_Type_Description of the results of step 1
Output (English): SELECT T3.Budget_Type_Code , T1.Document_Type_Description FROM Ref_Document_Types AS T1 JOIN Documents AS T2 ON T1.Document_Type_Code = T2.Document_Type_Code JOIN Documents_with_Expenses AS T3 ON T2.Document_ID = T3.Document_ID