Task: Text to Code
Input (English): List all the names of schools with an endowment amount smaller than or equal to 10.
Output (English): SELECT T2.school_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id  =  T2.school_id GROUP BY T1.school_id HAVING sum(T1.amount)  <=  10