Task: Text to Code
Input (English): Step 1: For each row in School table, find the corresponding rows in endowment table.
Step 2: find School_name of the results of step 1 whose amount greater than 10 or Enrollment less than 495
Output (English): SELECT T1.School_name FROM School AS T1 JOIN endowment AS T2 ON T1.School_id = T2.School_id WHERE T2.amount > 10 OR T1.Enrollment < 495