Table: school_data_2
Columns: school_name
address
students
grades
2007_api

Question: Which grades have a 2007 API of 734?
SQL: SELECT "grades" FROM school_data_2 WHERE "2007_api" = 734

Question: Which School name has students smaller than 389, and grades of 10-12?
SQL: SELECT "school_name" FROM school_data_2 WHERE "students" < 389 AND "grades" = '10-12'

Question: Which grades have students smaller than 430, and a 2007 API of 510?
SQL: SELECT "grades" FROM school_data_2 WHERE "students" < 430 AND "2007_api" = 510