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】
    Provide the criteria name of the ranking criteria ID 13.

    【Evidence】
    

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

SQL: SELECT criteria_name FROM ranking_criteria WHERE id = 13
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 average score of all universities in 2012? average score refers to avg(score); in 2012 refers to year = 2012

    【Evidence】
    average score refers to avg(score); in 2012 refers to year = 2012

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

SQL: SELECT AVG(score) FROM university_ranking_year WHERE year = 2012
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 years 2011 to 2013, what is the total number of female students in university ID 40? total number of female students refers to SUM(DIVIDE(MULTIPLY(pct_female_students, num_students), 100)); In years 2011 to 2013 refers to year BETWEEN 2011 AND 2013

    【Evidence】
    total number of female students refers to SUM(DIVIDE(MULTIPLY(pct_female_students, num_students), 100)); In years 2011 to 2013 refers to year BETWEEN 2011 AND 2013

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

SQL: SELECT SUM(CAST(num_students * pct_female_students AS REAL) / 100) FROM university_year WHERE year BETWEEN 2011 AND 2013 AND university_id = 40
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】
    Calculate the average score of university ID 79 between year 2013 to 2015. average score refers to avg(score); between year 2013 to 2015 refers to year BETWEEN 2013 AND 2015

    【Evidence】
    average score refers to avg(score); between year 2013 to 2015 refers to year BETWEEN 2013 AND 2015

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

SQL: SELECT AVG(score) FROM university_ranking_year WHERE year BETWEEN 2013 AND 2015 AND university_id = 79
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】
    Give the student staff ratio of university ID 35.

    【Evidence】
    

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

SQL: SELECT student_staff_ratio FROM university_year WHERE university_id = 35
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】
    Provide the score of the most populated university in 2011. most populated university refers to MAX(num_students); in 2011 refers to year = 2011;

    【Evidence】
    most populated university refers to MAX(num_students); in 2011 refers to year = 2011;

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

SQL: SELECT T2.score FROM university_year AS T1 INNER JOIN university_ranking_year AS T2 ON T1.university_id = T2.university_id WHERE T1.year = 2011 ORDER BY T1.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】
    Give the criteria name where Harvard University scored 100. Harvard University refers to university_name = 'Harvard University'; scored 100 refers to score = 100

    【Evidence】
    Harvard University refers to university_name = 'Harvard University'; scored 100 refers to score = 100

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

SQL: SELECT DISTINCT T3.criteria_name FROM university AS T1 INNER JOIN university_ranking_year AS T2 ON T1.id = T2.university_id INNER JOIN ranking_criteria AS T3 ON T3.id = T2.ranking_criteria_id WHERE T1.university_name = 'Harvard University' AND T2.score = 100
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】
    Provide the university name and ID of the university found in Turkey. found in Turkey refers to country_name = 'Turkey';

    【Evidence】
    found in Turkey refers to country_name = 'Turkey';

    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, T1.id FROM university AS T1 INNER JOIN country AS T2 ON T1.country_id = T2.id WHERE T2.country_name = 'Turkey'
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 total number of ranking criteria under the ranking system called Shanghai Ranking? ranking system called Shanghai Ranking refers to system_name = 'Shanghai Ranking';

    【Evidence】
    ranking system called Shanghai Ranking refers to system_name = 'Shanghai Ranking';

    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_system AS T1 INNER JOIN ranking_criteria AS T2 ON T1.id = T2.ranking_system_id WHERE T1.system_name = 'Shanghai Ranking'
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】
    Give the name and score of the university ID 124. name of university refers to university_name;

    【Evidence】
    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 T2.university_name, T1.score FROM university_ranking_year AS T1 INNER JOIN university AS T2 ON T1.university_id = T2.id WHERE T2.id = 124
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 female students are there in University of Pennsylvania in 2011? in 2011 refers to year 2011; female students refers to DIVIDE(MULTIPLY(num_students, pct_female_students), 100); University of Pennsylvania refers to a university name;

    【Evidence】
    in 2011 refers to year 2011; female students refers to DIVIDE(MULTIPLY(num_students, pct_female_students), 100); University of Pennsylvania refers to a 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 CAST(T1.num_students * T1.pct_female_students AS REAL) / 100 FROM university_year AS T1 INNER JOIN university AS T2 ON T1.university_id = T2.id WHERE T1.year = 2011 AND T2.university_name = 'University of Pennsylvania'