QIAN-ME/bird_schema_data huggingface dataset:
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 university
【Schema】
# Table: university_year
[
(university_id:INTEGER, Examples: [1, 5, 2]),
(year:INTEGER, Examples: [2011, 2012, 2013]),
(num_students:INTEGER, Examples: [20152, 2243, 11074]),
(student_staff_ratio:REAL, Examples: [8.9, 6.9, 9.0]),
(pct_international_students:INTEGER, Examples: [25, 27, 33]),
(pct_female_students:INTEGER, Examples: [33, 37, 42])
]
# Table: country
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(country_name:TEXT, Examples: [Argentina, Australia, Austria])
]
# Table: university
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(country_id:INTEGER, Examples: [73, 72, 33]),
(university_name:TEXT, Examples: [Harvard University])
]
# Table: university_ranking_year
[
(university_id:INTEGER, Examples: [1, 5, 2]),
(ranking_criteria_id:INTEGER, Examples: [1, 2, 3]),
(year:INTEGER, Examples: [2011, 2012, 2013]),
(score:INTEGER, Examples: [100, 98, 91])
]
# Table: ranking_system
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(system_name:TEXT, Examples: [Times Higher Education World University Ranking])
]
# Table: ranking_criteria
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(ranking_system_id:INTEGER, Examples: [1, 2, 3]),
(criteria_name:TEXT, Examples: [Teaching, International, Research])
]
【Foreign keys】
university_year.university_id=university.id
university.country_id=country.id
university_ranking_year.ranking_criteria_id=ranking_criteria.id
university_ranking_year.university_id=university.id
ranking_criteria.ranking_system_id=ranking_system.id

    【Question】
    Please list the IDs of the universities with the top 3 female students percentage in 2011. in 2011 refers to year 2011; top 3 female students percentage refers to MAX(pct_female_students) LIMIT 3; ID of the university refers to university_id

    【Evidence】
    in 2011 refers to year 2011; top 3 female students percentage refers to MAX(pct_female_students) LIMIT 3; ID of the university refers to university_id

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT university_id FROM university_year WHERE year = 2011 ORDER BY pct_female_students DESC LIMIT 3
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 university
【Schema】
# Table: university_year
[
(university_id:INTEGER, Examples: [1, 5, 2]),
(year:INTEGER, Examples: [2011, 2012, 2013]),
(num_students:INTEGER, Examples: [20152, 2243, 11074]),
(student_staff_ratio:REAL, Examples: [8.9, 6.9, 9.0]),
(pct_international_students:INTEGER, Examples: [25, 27, 33]),
(pct_female_students:INTEGER, Examples: [33, 37, 42])
]
# Table: country
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(country_name:TEXT, Examples: [Argentina, Australia, Austria])
]
# Table: university
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(country_id:INTEGER, Examples: [73, 72, 33]),
(university_name:TEXT, Examples: [Harvard University])
]
# Table: university_ranking_year
[
(university_id:INTEGER, Examples: [1, 5, 2]),
(ranking_criteria_id:INTEGER, Examples: [1, 2, 3]),
(year:INTEGER, Examples: [2011, 2012, 2013]),
(score:INTEGER, Examples: [100, 98, 91])
]
# Table: ranking_system
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(system_name:TEXT, Examples: [Times Higher Education World University Ranking])
]
# Table: ranking_criteria
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(ranking_system_id:INTEGER, Examples: [1, 2, 3]),
(criteria_name:TEXT, Examples: [Teaching, International, Research])
]
【Foreign keys】
university_year.university_id=university.id
university.country_id=country.id
university_ranking_year.ranking_criteria_id=ranking_criteria.id
university_ranking_year.university_id=university.id
ranking_criteria.ranking_system_id=ranking_system.id

    【Question】
    In which year did university ID 1 have the most students? have the most students refers to MAX(num_students)

    【Evidence】
    have the most students refers to MAX(num_students)

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT year FROM university_year WHERE university_id = 1 ORDER BY num_students DESC LIMIT 1
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 university
【Schema】
# Table: university_year
[
(university_id:INTEGER, Examples: [1, 5, 2]),
(year:INTEGER, Examples: [2011, 2012, 2013]),
(num_students:INTEGER, Examples: [20152, 2243, 11074]),
(student_staff_ratio:REAL, Examples: [8.9, 6.9, 9.0]),
(pct_international_students:INTEGER, Examples: [25, 27, 33]),
(pct_female_students:INTEGER, Examples: [33, 37, 42])
]
# Table: country
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(country_name:TEXT, Examples: [Argentina, Australia, Austria])
]
# Table: university
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(country_id:INTEGER, Examples: [73, 72, 33]),
(university_name:TEXT, Examples: [Harvard University])
]
# Table: university_ranking_year
[
(university_id:INTEGER, Examples: [1, 5, 2]),
(ranking_criteria_id:INTEGER, Examples: [1, 2, 3]),
(year:INTEGER, Examples: [2011, 2012, 2013]),
(score:INTEGER, Examples: [100, 98, 91])
]
# Table: ranking_system
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(system_name:TEXT, Examples: [Times Higher Education World University Ranking])
]
# Table: ranking_criteria
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(ranking_system_id:INTEGER, Examples: [1, 2, 3]),
(criteria_name:TEXT, Examples: [Teaching, International, Research])
]
【Foreign keys】
university_year.university_id=university.id
university.country_id=country.id
university_ranking_year.ranking_criteria_id=ranking_criteria.id
university_ranking_year.university_id=university.id
ranking_criteria.ranking_system_id=ranking_system.id

    【Question】
    How many students did Harvard University have in 2011? in 2011 refers to year 2011; Harvard University refers to university_name = 'Harvard University';

    【Evidence】
    in 2011 refers to year 2011; Harvard University refers to university_name = 'Harvard University';

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T1.num_students FROM university_year AS T1 INNER JOIN university AS T2 ON T1.university_id = T2.id WHERE T2.university_name = 'Harvard University' AND T1.year = 2011
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 university
【Schema】
# Table: university_year
[
(university_id:INTEGER, Examples: [1, 5, 2]),
(year:INTEGER, Examples: [2011, 2012, 2013]),
(num_students:INTEGER, Examples: [20152, 2243, 11074]),
(student_staff_ratio:REAL, Examples: [8.9, 6.9, 9.0]),
(pct_international_students:INTEGER, Examples: [25, 27, 33]),
(pct_female_students:INTEGER, Examples: [33, 37, 42])
]
# Table: country
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(country_name:TEXT, Examples: [Argentina, Australia, Austria])
]
# Table: university
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(country_id:INTEGER, Examples: [73, 72, 33]),
(university_name:TEXT, Examples: [Harvard University])
]
# Table: university_ranking_year
[
(university_id:INTEGER, Examples: [1, 5, 2]),
(ranking_criteria_id:INTEGER, Examples: [1, 2, 3]),
(year:INTEGER, Examples: [2011, 2012, 2013]),
(score:INTEGER, Examples: [100, 98, 91])
]
# Table: ranking_system
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(system_name:TEXT, Examples: [Times Higher Education World University Ranking])
]
# Table: ranking_criteria
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(ranking_system_id:INTEGER, Examples: [1, 2, 3]),
(criteria_name:TEXT, Examples: [Teaching, International, Research])
]
【Foreign keys】
university_year.university_id=university.id
university.country_id=country.id
university_ranking_year.ranking_criteria_id=ranking_criteria.id
university_ranking_year.university_id=university.id
ranking_criteria.ranking_system_id=ranking_system.id

    【Question】
    What is the name of the university with the most international students in 2011? in 2011 refers to year 2011; the most international students refers to MAX(DIVIDE(MULTIPLY(num_students,  pct_international_students), 100)); name of university refers to university_id

    【Evidence】
    in 2011 refers to year 2011; the most international students refers to MAX(DIVIDE(MULTIPLY(num_students,  pct_international_students), 100)); name of university refers to university_id

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T2.university_name FROM university_year AS T1 INNER JOIN university AS T2 ON T1.university_id = T2.id WHERE T1.year = 2011 ORDER BY T1.pct_international_students DESC LIMIT 1
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 university
【Schema】
# Table: university_year
[
(university_id:INTEGER, Examples: [1, 5, 2]),
(year:INTEGER, Examples: [2011, 2012, 2013]),
(num_students:INTEGER, Examples: [20152, 2243, 11074]),
(student_staff_ratio:REAL, Examples: [8.9, 6.9, 9.0]),
(pct_international_students:INTEGER, Examples: [25, 27, 33]),
(pct_female_students:INTEGER, Examples: [33, 37, 42])
]
# Table: country
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(country_name:TEXT, Examples: [Argentina, Australia, Austria])
]
# Table: university
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(country_id:INTEGER, Examples: [73, 72, 33]),
(university_name:TEXT, Examples: [Harvard University])
]
# Table: university_ranking_year
[
(university_id:INTEGER, Examples: [1, 5, 2]),
(ranking_criteria_id:INTEGER, Examples: [1, 2, 3]),
(year:INTEGER, Examples: [2011, 2012, 2013]),
(score:INTEGER, Examples: [100, 98, 91])
]
# Table: ranking_system
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(system_name:TEXT, Examples: [Times Higher Education World University Ranking])
]
# Table: ranking_criteria
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(ranking_system_id:INTEGER, Examples: [1, 2, 3]),
(criteria_name:TEXT, Examples: [Teaching, International, Research])
]
【Foreign keys】
university_year.university_id=university.id
university.country_id=country.id
university_ranking_year.ranking_criteria_id=ranking_criteria.id
university_ranking_year.university_id=university.id
ranking_criteria.ranking_system_id=ranking_system.id

    【Question】
    Please list the names of all the universities in Australia. in Australia refers to country_name = 'Australia'; name of university refers to university_name

    【Evidence】
    in Australia refers to country_name = 'Australia'; name of university refers to university_name

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T1.university_name FROM university AS T1 INNER JOIN country AS T2 ON T1.country_id = T2.id WHERE T2.country_name = 'Australia'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 university
【Schema】
# Table: university_year
[
(university_id:INTEGER, Examples: [1, 5, 2]),
(year:INTEGER, Examples: [2011, 2012, 2013]),
(num_students:INTEGER, Examples: [20152, 2243, 11074]),
(student_staff_ratio:REAL, Examples: [8.9, 6.9, 9.0]),
(pct_international_students:INTEGER, Examples: [25, 27, 33]),
(pct_female_students:INTEGER, Examples: [33, 37, 42])
]
# Table: country
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(country_name:TEXT, Examples: [Argentina, Australia, Austria])
]
# Table: university
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(country_id:INTEGER, Examples: [73, 72, 33]),
(university_name:TEXT, Examples: [Harvard University])
]
# Table: university_ranking_year
[
(university_id:INTEGER, Examples: [1, 5, 2]),
(ranking_criteria_id:INTEGER, Examples: [1, 2, 3]),
(year:INTEGER, Examples: [2011, 2012, 2013]),
(score:INTEGER, Examples: [100, 98, 91])
]
# Table: ranking_system
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(system_name:TEXT, Examples: [Times Higher Education World University Ranking])
]
# Table: ranking_criteria
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(ranking_system_id:INTEGER, Examples: [1, 2, 3]),
(criteria_name:TEXT, Examples: [Teaching, International, Research])
]
【Foreign keys】
university_year.university_id=university.id
university.country_id=country.id
university_ranking_year.ranking_criteria_id=ranking_criteria.id
university_ranking_year.university_id=university.id
ranking_criteria.ranking_system_id=ranking_system.id

    【Question】
    Among the universities in Australia, how many of them have more than 15000 students in 2011? in 2011 refers to year 2011; have more than 15000 students refers to num_students > 15000; in Australia refers to country_name = 'Australia';

    【Evidence】
    in 2011 refers to year 2011; have more than 15000 students refers to num_students > 15000; in Australia refers to country_name = 'Australia';

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT COUNT(*) FROM university AS T1 INNER JOIN university_year AS T2 ON T1.id = T2.university_id INNER JOIN country AS T3 ON T3.id = T1.country_id WHERE T3.country_name = 'Australia' AND T2.year = 2011 AND T2.num_students > 15000
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 university
【Schema】
# Table: university_year
[
(university_id:INTEGER, Examples: [1, 5, 2]),
(year:INTEGER, Examples: [2011, 2012, 2013]),
(num_students:INTEGER, Examples: [20152, 2243, 11074]),
(student_staff_ratio:REAL, Examples: [8.9, 6.9, 9.0]),
(pct_international_students:INTEGER, Examples: [25, 27, 33]),
(pct_female_students:INTEGER, Examples: [33, 37, 42])
]
# Table: country
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(country_name:TEXT, Examples: [Argentina, Australia, Austria])
]
# Table: university
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(country_id:INTEGER, Examples: [73, 72, 33]),
(university_name:TEXT, Examples: [Harvard University])
]
# Table: university_ranking_year
[
(university_id:INTEGER, Examples: [1, 5, 2]),
(ranking_criteria_id:INTEGER, Examples: [1, 2, 3]),
(year:INTEGER, Examples: [2011, 2012, 2013]),
(score:INTEGER, Examples: [100, 98, 91])
]
# Table: ranking_system
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(system_name:TEXT, Examples: [Times Higher Education World University Ranking])
]
# Table: ranking_criteria
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(ranking_system_id:INTEGER, Examples: [1, 2, 3]),
(criteria_name:TEXT, Examples: [Teaching, International, Research])
]
【Foreign keys】
university_year.university_id=university.id
university.country_id=country.id
university_ranking_year.ranking_criteria_id=ranking_criteria.id
university_ranking_year.university_id=university.id
ranking_criteria.ranking_system_id=ranking_system.id

    【Question】
    Which country is Harvard University in? Harvard University refers to university_name = 'Harvard University'; which country refers to country_name

    【Evidence】
    Harvard University refers to university_name = 'Harvard University'; which country refers to country_name

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T2.country_name FROM university AS T1 INNER JOIN country AS T2 ON T1.country_id = T2.id WHERE T1.university_name = 'Harvard University'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 university
【Schema】
# Table: university_year
[
(university_id:INTEGER, Examples: [1, 5, 2]),
(year:INTEGER, Examples: [2011, 2012, 2013]),
(num_students:INTEGER, Examples: [20152, 2243, 11074]),
(student_staff_ratio:REAL, Examples: [8.9, 6.9, 9.0]),
(pct_international_students:INTEGER, Examples: [25, 27, 33]),
(pct_female_students:INTEGER, Examples: [33, 37, 42])
]
# Table: country
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(country_name:TEXT, Examples: [Argentina, Australia, Austria])
]
# Table: university
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(country_id:INTEGER, Examples: [73, 72, 33]),
(university_name:TEXT, Examples: [Harvard University])
]
# Table: university_ranking_year
[
(university_id:INTEGER, Examples: [1, 5, 2]),
(ranking_criteria_id:INTEGER, Examples: [1, 2, 3]),
(year:INTEGER, Examples: [2011, 2012, 2013]),
(score:INTEGER, Examples: [100, 98, 91])
]
# Table: ranking_system
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(system_name:TEXT, Examples: [Times Higher Education World University Ranking])
]
# Table: ranking_criteria
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(ranking_system_id:INTEGER, Examples: [1, 2, 3]),
(criteria_name:TEXT, Examples: [Teaching, International, Research])
]
【Foreign keys】
university_year.university_id=university.id
university.country_id=country.id
university_ranking_year.ranking_criteria_id=ranking_criteria.id
university_ranking_year.university_id=university.id
ranking_criteria.ranking_system_id=ranking_system.id

    【Question】
    What is the name of the university with the highest score in teaching in the year 2011? with the highest score refers to MAX(score); in teaching refers to criteria_name = 'Teaching'; name of university refers to university_name;

    【Evidence】
    with the highest score refers to MAX(score); in teaching refers to criteria_name = 'Teaching'; name of university refers to university_name;

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T3.university_name FROM ranking_criteria AS T1 INNER JOIN university_ranking_year AS T2 ON T1.id = T2.ranking_criteria_id INNER JOIN university AS T3 ON T3.id = T2.university_id WHERE T1.criteria_name = 'Teaching' AND T2.year = 2011 ORDER BY T2.score DESC LIMIT 1
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 university
【Schema】
# Table: university_year
[
(university_id:INTEGER, Examples: [1, 5, 2]),
(year:INTEGER, Examples: [2011, 2012, 2013]),
(num_students:INTEGER, Examples: [20152, 2243, 11074]),
(student_staff_ratio:REAL, Examples: [8.9, 6.9, 9.0]),
(pct_international_students:INTEGER, Examples: [25, 27, 33]),
(pct_female_students:INTEGER, Examples: [33, 37, 42])
]
# Table: country
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(country_name:TEXT, Examples: [Argentina, Australia, Austria])
]
# Table: university
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(country_id:INTEGER, Examples: [73, 72, 33]),
(university_name:TEXT, Examples: [Harvard University])
]
# Table: university_ranking_year
[
(university_id:INTEGER, Examples: [1, 5, 2]),
(ranking_criteria_id:INTEGER, Examples: [1, 2, 3]),
(year:INTEGER, Examples: [2011, 2012, 2013]),
(score:INTEGER, Examples: [100, 98, 91])
]
# Table: ranking_system
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(system_name:TEXT, Examples: [Times Higher Education World University Ranking])
]
# Table: ranking_criteria
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(ranking_system_id:INTEGER, Examples: [1, 2, 3]),
(criteria_name:TEXT, Examples: [Teaching, International, Research])
]
【Foreign keys】
university_year.university_id=university.id
university.country_id=country.id
university_ranking_year.ranking_criteria_id=ranking_criteria.id
university_ranking_year.university_id=university.id
ranking_criteria.ranking_system_id=ranking_system.id

    【Question】
    Please list the names of the universities with a score in teaching of over 90 in 2011. in 2011 refers to year 2011; in teaching refers to  criteria_name = 'Teaching'; score in teaching of over 90 refers to score > 90; name of university refers to university_name;

    【Evidence】
    in 2011 refers to year 2011; in teaching refers to  criteria_name = 'Teaching'; score in teaching of over 90 refers to score > 90; name of university refers to university_name;

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T3.university_name FROM ranking_criteria AS T1 INNER JOIN university_ranking_year AS T2 ON T1.id = T2.ranking_criteria_id INNER JOIN university AS T3 ON T3.id = T2.university_id WHERE T1.criteria_name = 'Teaching' AND T2.year = 2011 AND T2.score > 90
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 university
【Schema】
# Table: university_year
[
(university_id:INTEGER, Examples: [1, 5, 2]),
(year:INTEGER, Examples: [2011, 2012, 2013]),
(num_students:INTEGER, Examples: [20152, 2243, 11074]),
(student_staff_ratio:REAL, Examples: [8.9, 6.9, 9.0]),
(pct_international_students:INTEGER, Examples: [25, 27, 33]),
(pct_female_students:INTEGER, Examples: [33, 37, 42])
]
# Table: country
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(country_name:TEXT, Examples: [Argentina, Australia, Austria])
]
# Table: university
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(country_id:INTEGER, Examples: [73, 72, 33]),
(university_name:TEXT, Examples: [Harvard University])
]
# Table: university_ranking_year
[
(university_id:INTEGER, Examples: [1, 5, 2]),
(ranking_criteria_id:INTEGER, Examples: [1, 2, 3]),
(year:INTEGER, Examples: [2011, 2012, 2013]),
(score:INTEGER, Examples: [100, 98, 91])
]
# Table: ranking_system
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(system_name:TEXT, Examples: [Times Higher Education World University Ranking])
]
# Table: ranking_criteria
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(ranking_system_id:INTEGER, Examples: [1, 2, 3]),
(criteria_name:TEXT, Examples: [Teaching, International, Research])
]
【Foreign keys】
university_year.university_id=university.id
university.country_id=country.id
university_ranking_year.ranking_criteria_id=ranking_criteria.id
university_ranking_year.university_id=university.id
ranking_criteria.ranking_system_id=ranking_system.id

    【Question】
    Among the universities with a score in teaching of over 90 in 2011, how many of them are in the United States of America? in 2011 refers to year 2011; in teaching refers to  criteria_name = 'Teaching'; score in teaching of over 90 refers to score > 90; in the United States of America refers to country_name = 'United States of America';

    【Evidence】
    in 2011 refers to year 2011; in teaching refers to  criteria_name = 'Teaching'; score in teaching of over 90 refers to score > 90; in the United States of America refers to country_name = 'United States of America';

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT COUNT(*) FROM ranking_criteria AS T1 INNER JOIN university_ranking_year AS T2 ON T1.id = T2.ranking_criteria_id INNER JOIN university AS T3 ON T3.id = T2.university_id WHERE T1.criteria_name = 'Teaching' AND T2.year = 2011 AND T2.score > 90