Task: Text to Code
Input (English): Step 1: For each row in School table, find corresponding rows in budget table and in endowment table.
Step 2: find total_budget_percent_invested, donator_name of the results of step 1 with largest value of amount
Output (English): SELECT T2.total_budget_percent_invested , T3.donator_name FROM School AS T1 JOIN budget AS T2 ON T2.School_id = T1.School_id JOIN endowment AS T3 ON T1.School_id = T3.School_id ORDER BY T3.amount Desc LIMIT 1