Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE endowment ( school_id VARCHAR, amount INTEGER )
TABLE: CREATE TABLE school ( school_name VARCHAR, school_id VARCHAR )
TABLE: CREATE TABLE budget ( school_id VARCHAR, budgeted INTEGER )

### Question ###
Show the names of schools with a total budget amount greater than 100 or a total endowment greater than 10.

### Accurate SQL ###

SELECT T2.school_name FROM budget AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id JOIN endowment AS T3 ON T2.school_id = T3.school_id GROUP BY T2.school_name HAVING SUM(T1.budgeted) > 100 OR SUM(T3.amount) > 10