db_id
stringclasses
11 values
instruction
stringlengths
1.63k
14k
role
stringclasses
45 values
policy
unknown
input
stringlengths
23
477
output
stringlengths
23
2.22k
difficulty
stringclasses
3 values
metadata
dict
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
Please list the lowest three eligible free rates for students aged 5-17 in continuation schools.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT `Free Meal Count (Ages 5-17)` / `Enrollment (Ages 5-17)` FROM frpm WHERE `Educational Option Type` = 'Continuation School' AND `Free Meal Count (Ages 5-17)` / `Enrollment (Ages 5-17)` IS NOT NULL ORDER BY `Free Meal Count (Ages 5-17)` / `Enrollment (Ages 5-17)` ASC LIMIT 3", "permission": "den...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
For charter schools in Fresno County Office of Education, provide their location details, enrollment information, FRPM eligibility rates, SAT performance metrics, and rankings. Include the year each school opened and whether it's currently active or closed, categorizing schools by their FRPM percentage levels.
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH CharterSchoolInfo AS (\n SELECT \n T1.CDSCode,\n T1.`School Name` AS CharterSchoolName,\n T1.`District Name`,\n T1.`Charter School Number`,\n T1.`Charter Funding Type`,\n T1.`Enrollment (K-12)` AS Enrollment,\n T1.`FRPM Count (K-12)` AS FRPMCount...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
For the non-charter school with more than 100 students that has the highest number of FRPM-eligible K-12 students, provide its name, location details, unabbreviated mailing address, website, enrollment statistics, SAT performance metrics, and determine whether it performs unexpectedly well or poorly given its FRPM rate...
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH SchoolRanking AS (\n SELECT \n T1.CDSCode,\n T1.`School Name`,\n T1.`FRPM Count (K-12)`,\n T1.`Enrollment (K-12)`,\n T1.`Percent (%) Eligible FRPM (K-12)`,\n RANK() OVER (ORDER BY T1.`FRPM Count (K-12)` DESC) AS frpm_rank,\n RANK() OVER (ORDER BY...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
Please list the phone numbers of the direct charter-funded schools that are opened after 2000/1/1.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T2.Phone FROM frpm AS T1 INNER JOIN schools AS T2 ON T1.CDSCode = T2.CDSCode WHERE T1.`Charter Funding Type` = 'Directly funded' AND T1.`Charter School (Y/N)` = 1 AND T2.OpenDate > '2000-01-01'", "permission": "denied", "query_columns": { "frpm": [ "CDSCode", "Charter Funding...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What are the details of fully virtual schools that have an average SAT Math score above 400, including their SAT performance rankings, enrollment, and poverty levels, ordered by their total SAT scores?
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH VirtualSchools AS (\n SELECT \n s.CDSCode,\n s.School,\n s.Virtual,\n s.Charter,\n s.City,\n CASE \n WHEN s.Virtual = 'F' THEN 'Fully Virtual'\n WHEN s.Virtual = 'P' THEN 'Partially Virtual'\n WHEN s.Virtual = 'N' THEN '...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
For magnet schools with over 500 SAT test takers, provide a comprehensive performance analysis including their SAT scores, rankings, poverty levels, and performance categories, sorted by total average SAT scores.
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH SchoolMetrics AS (\n SELECT \n s.CDSCode,\n s.School,\n s.Magnet,\n s.SOCType AS SchoolType,\n s.EdOpsName AS EducationalOption,\n sat.NumTstTakr,\n sat.AvgScrRead,\n sat.AvgScrMath,\n sat.AvgScrWrite,\n sat.NumGE1500,\n ...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What is the phone number of the school that has the highest number of test takers with an SAT score of over 1500?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.Phone FROM satscores AS T1 INNER JOIN schools AS T2 ON T1.cds = T2.CDSCode ORDER BY T1.NumGE1500 DESC LIMIT 1", "permission": "denied", "query_columns": { "satscores": [ "NumGE1500", "cds" ], "schools": [ "CDSCode", "Phone" ] }, "missing_columns...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
For the top 10 schools with the highest number of students eligible for free or reduced price meals, provide detailed information including their location, type, FRPM statistics, and SAT performance metrics.
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH SchoolsWithHighFRPM AS (\n SELECT \n f.CDSCode,\n f.`School Name`,\n f.`FRPM Count (K-12)`,\n f.`Enrollment (K-12)`,\n f.`Percent (%) Eligible FRPM (K-12)`,\n RANK() OVER (ORDER BY f.`FRPM Count (K-12)` DESC) as frpm_rank\n FROM frpm f\n WHERE f.`...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
Among the schools with the average score in Math over 560 in the SAT test, how many schools are directly charter-funded?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(T2.`School Code`) FROM satscores AS T1 INNER JOIN frpm AS T2 ON T1.cds = T2.CDSCode WHERE T1.AvgScrMath > 560 AND T2.`Charter Funding Type` = 'Directly funded'", "permission": "denied", "query_columns": { "satscores": [ "AvgScrMath", "cds" ], "frpm": [ "CD...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
For the school with the highest average SAT Reading score among schools with more than 10 test takers, provide comprehensive details including its location, test scores across all sections, poverty indicators, enrollment, and charter status.
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH SchoolRankings AS (\n SELECT \n T1.cds,\n T1.sname,\n T1.AvgScrRead,\n T1.AvgScrMath,\n T1.AvgScrWrite,\n T1.NumTstTakr,\n T1.NumGE1500,\n RANK() OVER (ORDER BY T1.AvgScrRead DESC) AS ReadingRank,\n RANK() OVER (ORDER BY T1.AvgScrMa...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
For schools with total enrollment exceeding 500 students, show me their enrollment details, free meal eligibility rates, charter status, and SAT performance. Group them by county and categorize by FRPM levels (High: 75%+, Medium: 50-75%, Low: <50%). Only include schools where either the FRPM percentage is above 60% or ...
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH HighEnrollmentSchools AS (\n SELECT \n T2.CDSCode,\n T2.`School Name`,\n T2.`County Name`,\n T2.`Enrollment (K-12)` + T2.`Enrollment (Ages 5-17)` AS TotalEnrollment,\n T2.`Percent (%) Eligible FRPM (K-12)` * 100 AS FRPMPercentage,\n CASE \n W...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
Among the schools with an SAT excellence rate over 30%, which school has the highest free meal eligibility rate in its county, and what are its details?
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH SchoolExcellenceRates AS (\n SELECT \n T2.cds,\n T2.sname,\n T2.NumGE1500,\n T2.NumTstTakr,\n CAST(T2.NumGE1500 AS REAL) / T2.NumTstTakr AS excellence_rate,\n T1.`Free Meal Count (Ages 5-17)`,\n T1.`Enrollment (Ages 5-17)`,\n CAST(T1.`Free...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What are the top 3 schools ranked by SAT excellence rate, and for each school, provide their contact number, city, charter status, and poverty classification?
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH SAT_Rankings AS (\n SELECT \n T2.cds,\n T2.sname,\n T2.NumTstTakr,\n T2.NumGE1500,\n CAST(T2.NumGE1500 AS REAL) / T2.NumTstTakr AS excellence_rate,\n RANK() OVER (ORDER BY CAST(T2.NumGE1500 AS REAL) / T2.NumTstTakr DESC) AS rank\n FROM satscores AS T...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
List the top five schools, by descending order, from the highest to the lowest, the most number of Enrollment (Ages 5-17). Please give their NCES school identification number.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.NCESSchool FROM schools AS T1 INNER JOIN frpm AS T2 ON T1.CDSCode = T2.CDSCode ORDER BY T2.`Enrollment (Ages 5-17)` DESC LIMIT 5", "permission": "denied", "query_columns": { "frpm": [ "CDSCode", "Enrollment (Ages 5-17)" ], "schools": [ "CDSCode", "NCESS...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
Which active district has the highest average score in Reading?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.District, AVG(T2.AvgScrRead) AS avg_read_scr FROM schools AS T1 INNER JOIN satscores AS T2 ON T1.CDSCode = T2.cds WHERE T1.StatusType = 'Active' GROUP BY T1.District ORDER BY avg_read_scr DESC LIMIT 1", "permission": "denied", "query_columns": { "satscores": [ "AvgScrRead", ...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
How many schools in merged Alameda have number of test takers less than 100?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(T1.CDSCode) FROM schools AS T1 INNER JOIN satscores AS T2 ON T1.CDSCode = T2.cds WHERE T1.StatusType = 'Merged' AND T2.NumTstTakr < 100 AND T1.County = 'Alameda'", "permission": "denied", "query_columns": { "satscores": [ "NumTstTakr", "cds" ], "schools": [ ...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
Rank schools by their average score in Writing where the score is greater than 499, showing their charter numbers.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT CharterNum, AvgScrWrite, RANK() OVER (ORDER BY AvgScrWrite DESC) AS WritingScoreRank FROM schools AS T1 INNER JOIN satscores AS T2 ON T1.CDSCode = T2.cds WHERE T2.AvgScrWrite > 499 AND CharterNum is not null", "permission": "denied", "query_columns": { "satscores": [ "AvgScrWrite"...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What are the average SAT statistics and school characteristics for directly funded charter schools in Fresno County that have 250 or fewer test takers, including the breakdown by testing volume categories?
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH SchoolStats AS (\n SELECT \n f.CDSCode,\n f.`School Name`,\n f.`County Name`,\n f.`Charter Funding Type`,\n s.NumTstTakr,\n s.AvgScrRead,\n s.AvgScrMath,\n s.AvgScrWrite,\n (s.AvgScrRead + s.AvgScrMath + s.AvgScrWrite) AS TotalAvgSc...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
For the school with the highest average math SAT score among active schools with at least 10 test takers, provide its contact information, all SAT scores, charter status, enrollment, and percentage of students eligible for free or reduced price meals.
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH SchoolRankings AS (\n SELECT \n T2.cds,\n T1.School,\n T1.Phone,\n T1.Website,\n T2.AvgScrMath,\n T2.AvgScrRead,\n T2.AvgScrWrite,\n (T2.AvgScrMath + T2.AvgScrRead + T2.AvgScrWrite) AS TotalScore,\n RANK() OVER (ORDER BY T2.AvgScrMa...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What are the key statistics for high schools in Amador County, including total number of schools, average enrollment, charter vs non-charter breakdown, average poverty rate, number of districts, SAT performance metrics, the largest school by enrollment, and how many schools have high poverty levels?
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH SchoolInfo AS (\n SELECT \n s.CDSCode,\n s.County,\n s.School,\n s.District,\n f.`Low Grade`,\n f.`High Grade`,\n f.`Enrollment (K-12)` AS Enrollment,\n f.`Charter School (Y/N)` AS IsCharter,\n f.`FRPM Count (K-12)` AS FRPMCount,\n ...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
For Los Angeles schools with more than 500 free meals but less than 700 FRPM meals for K-12 students, what is the average percentage of students receiving free meals, how many are charter versus non-charter schools, what is their average SAT score, and how are they distributed across free meal categories?
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH SchoolMealStats AS (\n SELECT \n f.CDSCode,\n f.`School Name`,\n f.`County Name`,\n f.`Free Meal Count (K-12)` AS FreeMeals,\n f.`FRPM Count (K-12)` AS TotalFRPM,\n f.`Enrollment (K-12)` AS Enrollment,\n ROUND(f.`Free Meal Count (K-12)` / f.`Enro...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
Which school in Contra Costa has the highest number of test takers?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT sname FROM satscores WHERE cname = 'Contra Costa' AND sname IS NOT NULL ORDER BY NumTstTakr DESC LIMIT 1", "permission": "denied", "query_columns": { "satscores": [ "NumTstTakr", "cname", "sname" ] }, "missing_columns": { "satscores": [ "cname", ...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
List the names of schools with more than 30 difference in enrollements between K-12 and ages 5-17? Please also give the full street adress of the schools.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T1.School, T1.Street\nFROM schools AS T1\nINNER JOIN frpm AS T2 ON T1.CDSCode = T2.CDSCode\nWHERE T2.`Enrollment (K-12)` - T2.`Enrollment (Ages 5-17)` > 30;", "permission": "denied", "query_columns": { "frpm": [ "CDSCode", "Enrollment (Ages 5-17)", "Enrollment (K-12)" ...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
Give the names of the schools with the percent eligible for free meals in K-12 is more than 0.1 and test takers whose test score is greater than or equal to 1500?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T2.`School Name` FROM satscores AS T1 INNER JOIN frpm AS T2 ON T1.cds = T2.CDSCode WHERE CAST(T2.`Free Meal Count (K-12)` AS REAL) / T2.`Enrollment (K-12)` > 0.1 AND T1.NumGE1500 > 0", "permission": "denied", "query_columns": { "satscores": [ "NumGE1500", "cds" ], "fr...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
Name schools in Riverside which the average of average math score for SAT is grater than 400, what is the type of educational option that these school provides?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T1.sname, T2.`Educational Option Type` FROM satscores AS T1 INNER JOIN frpm AS T2 ON T1.cds = T2.CDSCode WHERE T2.`District Name` LIKE 'Riverside%' GROUP BY T1.sname, T2.`Educational Option Type` HAVING CAST(SUM(T1.AvgScrMath) AS REAL) / COUNT(T1.cds) > 400", "permission": "denied", "query_c...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
State the names and full communication addresses of high schools in Monterey that offer more than 800 free or reduced-priced meals for ages 15-17.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T1.`School Name`, T2.Street, T2.City, T2.State, T2.Zip FROM frpm AS T1 INNER JOIN schools AS T2 ON T1.CDSCode = T2.CDSCode WHERE T2.County = 'Monterey' AND T1.`FRPM Count (Ages 5-17)` > 800 AND T1.`School Type` = 'High Schools (Public)'", "permission": "denied", "query_columns": { "frpm"...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What is the average score in writing for the schools that were opened after 1991 or closed before 2000? List the school names along with the score. Also, list the communication number of the schools if there is any.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T2.School, T1.AvgScrWrite, T2.Phone FROM schools AS T2 LEFT JOIN satscores AS T1 ON T2.CDSCode = T1.cds WHERE strftime('%Y', T2.OpenDate) > '1991' OR strftime('%Y', T2.ClosedDate) < '2000'", "permission": "denied", "query_columns": { "satscores": [ "AvgScrWrite", "cds" ],...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
Consider the average difference between K-12 enrollment and 15-17 enrollment of schools that are locally funded, list the names and DOC type of schools which has a difference above this average.
Sorry, I cannot answer.
challenging
{ "gold_sql": "SELECT T2.School, T2.DOC FROM frpm AS T1 INNER JOIN schools AS T2 ON T1.CDSCode = T2.CDSCode WHERE T2.FundingType = 'Locally funded' AND (T1.`Enrollment (K-12)` - T1.`Enrollment (Ages 5-17)`) > (SELECT AVG(T3.`Enrollment (K-12)` - T3.`Enrollment (Ages 5-17)`) FROM frpm AS T3 INNER JOIN schools AS T4 ON...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
When did the first-through-twelfth-grade school with the largest enrollment open?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.OpenDate FROM frpm AS T1 INNER JOIN schools AS T2 ON T1.CDSCode = T2.CDSCode ORDER BY T1.`Enrollment (K-12)` DESC LIMIT 1", "permission": "denied", "query_columns": { "frpm": [ "CDSCode", "Enrollment (K-12)" ], "schools": [ "CDSCode", "OpenDate" ] ...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
Which cities have the top 5 lowest enrollment number for students in grades 1 through 12?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.City FROM frpm AS T1 INNER JOIN schools AS T2 ON T1.CDSCode = T2.CDSCode GROUP BY T2.City ORDER BY SUM(T1.`Enrollment (K-12)`) ASC LIMIT 5", "permission": "denied", "query_columns": { "frpm": [ "CDSCode", "Enrollment (K-12)" ], "schools": [ "CDSCode", "...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
For the 10th and 11th largest schools by K-12 enrollment, provide a comprehensive profile including their enrollment statistics, free meal eligibility rates, location details, school type, grade spans offered, and SAT performance metrics.
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH EnrollmentRanked AS (\n SELECT \n f.CDSCode,\n f.`School Name`,\n f.`District Name`,\n f.`County Name`,\n f.`Enrollment (K-12)`,\n f.`Free Meal Count (K-12)`,\n CAST(f.`Free Meal Count (K-12)` AS REAL) / f.`Enrollment (K-12)` AS EligibleFreeRate,...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
For the top 5 schools with the highest number of students eligible for free or reduced price meals in grades K-12 among schools with ownership code 66, what are their eligibility rates, SAT performance metrics, and how do they compare in terms of SAT participation and high scorer rates?
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH SchoolEligibilityRanking AS (\n SELECT \n T1.CDSCode,\n T2.School,\n T2.County,\n T2.District,\n T2.SOCType,\n T1.`Enrollment (K-12)`,\n T1.`FRPM Count (K-12)`,\n CAST(T1.`FRPM Count (K-12)` AS REAL) / T1.`Enrollment (K-12)` AS Eligibility...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
If there are any, what are the websites address of the schools with a free meal count of 1,900-2,000 to students aged 5-17? Include the name of the school.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T2.Website, T1.`School Name` FROM frpm AS T1 INNER JOIN schools AS T2 ON T1.CDSCode = T2.CDSCode WHERE T1.`Free Meal Count (Ages 5-17)` BETWEEN 1900 AND 2000 AND T2.Website IS NOT NULL", "permission": "denied", "query_columns": { "frpm": [ "CDSCode", "Free Meal Count (Ages 5-...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What is the free rate for students between the ages of 5 and 17 at the school run by Kacey Gibson?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT CAST(T2.`Free Meal Count (Ages 5-17)` AS REAL) / T2.`Enrollment (Ages 5-17)` FROM schools AS T1 INNER JOIN frpm AS T2 ON T1.CDSCode = T2.CDSCode WHERE T1.AdmFName1 = 'Kacey' AND T1.AdmLName1 = 'Gibson'", "permission": "denied", "query_columns": { "frpm": [ "CDSCode", "Free Me...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What is the administrator's email address of the chartered school with the fewest students enrolled in grades 1 through 12?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T2.AdmEmail1 FROM frpm AS T1 INNER JOIN schools AS T2 ON T1.CDSCode = T2.CDSCode WHERE T1.`Charter School (Y/N)` = 1 ORDER BY T1.`Enrollment (K-12)` ASC, T1.CDSCode ASC LIMIT 1", "permission": "denied", "query_columns": { "frpm": [ "CDSCode", "Charter School (Y/N)", "En...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
Under whose administration is the school with the highest number of students scoring 1500 or more on the SAT? Indicate their full names.
Sorry, I cannot answer.
challenging
{ "gold_sql": "SELECT T2.AdmFName1, T2.AdmLName1, T2.AdmFName2, T2.AdmLName2, T2.AdmFName3, T2.AdmLName3 FROM satscores AS T1 INNER JOIN schools AS T2 ON T1.cds = T2.CDSCode ORDER BY T1.NumGE1500 DESC LIMIT 1", "permission": "denied", "query_columns": { "satscores": [ "NumGE1500", "cds" ], ...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What is the complete address of the school with the lowest excellence rate? Indicate the Street, City, Zip and State.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T2.Street, T2.City, T2.State, T2.Zip\nFROM satscores AS T1\nINNER JOIN schools AS T2 ON T1.cds = T2.CDSCode\nORDER BY CAST(T1.NumGE1500 AS REAL) / T1.NumTstTakr ASC\nLIMIT 1;", "permission": "denied", "query_columns": { "satscores": [ "NumGE1500", "NumTstTakr", "cds" ...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What are the webpages for the Los Angeles County school that has between 2,000 and 3,000 test takers?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.Website FROM satscores AS T1 INNER JOIN schools AS T2 ON T1.cds = T2.CDSCode WHERE T1.NumTstTakr BETWEEN 2000 AND 3000 AND T2.County = 'Los Angeles'", "permission": "denied", "query_columns": { "satscores": [ "NumTstTakr", "cds" ], "schools": [ "CDSCode", ...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What is the average number of test takers from Fresno schools that opened between 1/1/1980 and 12/31/1980?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT AVG(T1.NumTstTakr) FROM satscores AS T1 INNER JOIN schools AS T2 ON T1.cds = T2.CDSCode WHERE strftime('%Y', T2.OpenDate) = '1980' AND T2.County = 'Fresno'", "permission": "denied", "query_columns": { "satscores": [ "NumTstTakr", "cds" ], "schools": [ "CDSCode",...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What is the telephone number for the school with the lowest average score in reading in Fresno Unified?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T2.Phone FROM satscores AS T1 INNER JOIN schools AS T2 ON T1.cds = T2.CDSCode WHERE T2.District = 'Fresno Unified' AND T1.AvgScrRead IS NOT NULL ORDER BY T1.AvgScrRead ASC LIMIT 1", "permission": "denied", "query_columns": { "satscores": [ "AvgScrRead", "cds" ], "scho...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
List the names of virtual schools that are among the top 5 in their respective counties based on average reading scores.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT School FROM (SELECT T2.School,T1.AvgScrRead, RANK() OVER (PARTITION BY T2.County ORDER BY T1.AvgScrRead DESC) AS rnk FROM satscores AS T1 INNER JOIN schools AS T2 ON T1.cds = T2.CDSCode WHERE T2.Virtual = 'F' ) ranked_schools WHERE rnk <= 5", "permission": "denied", "query_columns": { "s...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What is the type of education offered in the school who scored the highest average in Math?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.EdOpsName FROM satscores AS T1 INNER JOIN schools AS T2 ON T1.cds = T2.CDSCode ORDER BY T1.AvgScrMath DESC LIMIT 1", "permission": "denied", "query_columns": { "satscores": [ "AvgScrMath", "cds" ], "schools": [ "CDSCode", "EdOpsName" ] }, "missi...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What is the average math score of the school with the lowest average score for all subjects, and in which county is it located?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T1.AvgScrMath, T2.County FROM satscores AS T1 INNER JOIN schools AS T2 ON T1.cds = T2.CDSCode WHERE T1.AvgScrMath IS NOT NULL AND T1.AvgScrRead IS NOT NULL AND T1.AvgScrWrite IS NOT NULL ORDER BY (T1.AvgScrMath + T1.AvgScrRead + T1.AvgScrWrite) / 3 ASC LIMIT 1", "permission": "denied", "quer...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What is the average writing score of the school who has the highest number of test takers whose total SAT sscores are greater or equal to 1500? Indicate the city to where the school is situated.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.AvgScrWrite, T2.City FROM satscores AS T1 INNER JOIN schools AS T2 ON T1.cds = T2.CDSCode ORDER BY T1.NumGE1500 DESC LIMIT 1", "permission": "denied", "query_columns": { "satscores": [ "AvgScrWrite", "NumGE1500", "cds" ], "schools": [ "CDSCode", "...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
For schools administered by Ricci Ulrich, provide a comprehensive performance analysis including their SAT scores in all three sections, total SAT score, rankings compared to other schools, FRPM eligibility rate, test participation rate, and how their writing scores compare to their district average.
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH SchoolStats AS (\n SELECT \n s.CDSCode,\n s.School,\n s.AdmFName1,\n s.AdmLName1,\n sat.AvgScrWrite,\n sat.AvgScrRead,\n sat.AvgScrMath,\n sat.NumTstTakr,\n f.`Enrollment (K-12)`,\n f.`Percent (%) Eligible FRPM (K-12)` * 100 ...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
Which state special schools have the highest number of enrollees from grades 1 through 12?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.School FROM frpm AS T1 INNER JOIN schools AS T2 ON T1.CDSCode = T2.CDSCode WHERE T2.DOC = 31 ORDER BY T1.`Enrollment (K-12)` DESC, T2.CDSCode ASC LIMIT 1", "permission": "denied", "query_columns": { "frpm": [ "CDSCode", "Enrollment (K-12)" ], "schools": [ "CD...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What is the monthly average number of schools that opened in Alameda County under the jurisdiction of the Elementary School District in 1980?
SELECT CAST(COUNT(School) AS REAL) / 12 FROM schools WHERE DOC = 52 AND County = 'Alameda' AND strftime('%Y', OpenDate) = '1980'
moderate
{ "gold_sql": "SELECT CAST(COUNT(School) AS REAL) / 12 FROM schools WHERE DOC = 52 AND County = 'Alameda' AND strftime('%Y', OpenDate) = '1980'", "permission": "allowed", "query_columns": { "schools": [ "County", "DOC", "OpenDate", "School" ] }, "missing_columns": {}, "reason...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What is the ratio of merged Unified School District schools to merged Elementary School District schools in Orange County?
SELECT CAST(SUM(CASE WHEN DOC = 54 THEN 1 ELSE 0 END) AS REAL) / NULLIF(SUM(CASE WHEN DOC = 52 THEN 1 ELSE 0 END),0) FROM schools WHERE StatusType = 'Merged' AND County = 'Orange'
moderate
{ "gold_sql": "SELECT CAST(SUM(CASE WHEN DOC = 54 THEN 1 ELSE 0 END) AS REAL) / NULLIF(SUM(CASE WHEN DOC = 52 THEN 1 ELSE 0 END),0) FROM schools WHERE StatusType = 'Merged' AND County = 'Orange'", "permission": "allowed", "query_columns": { "schools": [ "County", "DOC", "StatusType" ] ...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
Which different county has the most number of closed schools? Please provide the name of each school as well as the closure date.
SELECT DISTINCT County, School, ClosedDate FROM schools WHERE County = ( SELECT County FROM schools WHERE StatusType = 'Closed' GROUP BY County ORDER BY COUNT(School) DESC LIMIT 1 ) AND StatusType = 'Closed' AND school IS NOT NULL
moderate
{ "gold_sql": "SELECT DISTINCT County, School, ClosedDate FROM schools WHERE County = ( SELECT County FROM schools WHERE StatusType = 'Closed' GROUP BY County ORDER BY COUNT(School) DESC LIMIT 1 ) AND StatusType = 'Closed' AND school IS NOT NULL", "permission": "allowed", "query_columns": { "schools": [ ...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What is the postal street address for the school with the 7th highest Math average? Indicate the school's name.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.MailStreet, T2.School FROM satscores AS T1 INNER JOIN schools AS T2 ON T1.cds = T2.CDSCode ORDER BY T1.AvgScrMath DESC LIMIT 6, 1", "permission": "denied", "query_columns": { "satscores": [ "AvgScrMath", "cds" ], "schools": [ "CDSCode", "MailStreet", ...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
In which mailing street address can you find the school that has the lowest average score in reading? Also give the school's name.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.MailStreet, T2.School FROM satscores AS T1 INNER JOIN schools AS T2 ON T1.cds = T2.CDSCode WHERE T1.AvgScrRead IS NOT NULL ORDER BY T1.AvgScrRead ASC, T1.cds DESC LIMIT 1", "permission": "denied", "query_columns": { "satscores": [ "AvgScrRead", "cds" ], "schools": ...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What is the total number of schools whose total SAT scores are greater or equal to 1500 whose mailing city is Lakeport?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(T1.cds) FROM satscores AS T1 INNER JOIN schools AS T2 ON T1.cds = T2.CDSCode WHERE T2.MailCity = 'Lakeport' AND (T1.AvgScrRead + T1.AvgScrMath + T1.AvgScrWrite) >= 1500", "permission": "denied", "query_columns": { "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScr...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
How many test takers are there at the school/s whose mailing city address is in Fresno?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT SUM(T1.NumTstTakr) FROM satscores AS T1 INNER JOIN schools AS T2 ON T1.cds = T2.CDSCode WHERE T2.MailCity = 'Fresno'", "permission": "denied", "query_columns": { "satscores": [ "NumTstTakr", "cds" ], "schools": [ "CDSCode", "MailCity" ] }, "missing...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
Please specify all of the schools and their related mailing zip codes that are under Avetik Atoian's administration.
SELECT School, MailZip FROM schools WHERE AdmFName1 = 'Avetik' AND AdmLName1 = 'Atoian'
simple
{ "gold_sql": "SELECT School, MailZip FROM schools WHERE AdmFName1 = 'Avetik' AND AdmLName1 = 'Atoian'", "permission": "allowed", "query_columns": { "schools": [ "AdmFName1", "AdmLName1", "MailZip", "School" ] }, "missing_columns": {}, "reason": "All required columns are perm...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What are the ratios comparing various educational metrics between schools in Colusa County and Humboldt County in California, including total number of schools, charter schools, schools with high free meal eligibility rates, average SAT scores, total students receiving free or reduced-price meals, and total enrollment?
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH ColusaSchools AS (\n SELECT \n s.CDSCode,\n s.School,\n s.County,\n s.Charter,\n f.`FRPM Count (K-12)`,\n f.`Enrollment (K-12)`,\n CASE \n WHEN f.`Percent (%) Eligible FRPM (K-12)` > 0.5 THEN 'High FRPM'\n ELSE 'Low FRPM'\n ...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
Of all the schools with a mailing state address in California, how many are active in San Joaquin city?
SELECT COUNT(CDSCode) FROM schools WHERE City = 'San Joaquin' AND MailState = 'CA' AND StatusType = 'Active'
simple
{ "gold_sql": "SELECT COUNT(CDSCode) FROM schools WHERE City = 'San Joaquin' AND MailState = 'CA' AND StatusType = 'Active'", "permission": "allowed", "query_columns": { "schools": [ "CDSCode", "City", "MailState", "StatusType" ] }, "missing_columns": {}, "reason": "All requi...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What is the phone number and extension number for the school that had the 333rd highest average writing score?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.Phone, T2.Ext FROM satscores AS T1 INNER JOIN schools AS T2 ON T1.cds = T2.CDSCode ORDER BY T1.AvgScrWrite DESC LIMIT 332, 1", "permission": "denied", "query_columns": { "satscores": [ "AvgScrWrite", "cds" ], "schools": [ "CDSCode", "Ext", "Phone"...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What is the phone number and extension number for the school with the zip code 95203-3704? Indicate the school's name.
SELECT Phone, Ext, School FROM schools WHERE Zip = '95203-3704'
simple
{ "gold_sql": "SELECT Phone, Ext, School FROM schools WHERE Zip = '95203-3704'", "permission": "allowed", "query_columns": { "schools": [ "Ext", "Phone", "School", "Zip" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 58, "eviden...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What is the website for the schools under the administrations of Mike Larson and Dante Alvarez?
SELECT Website FROM schools WHERE (AdmFName1 = 'Mike' AND AdmLName1 = 'Larson') OR (AdmFName1 = 'Dante' AND AdmLName1 = 'Alvarez')
simple
{ "gold_sql": "SELECT Website FROM schools WHERE (AdmFName1 = 'Mike' AND AdmLName1 = 'Larson') OR (AdmFName1 = 'Dante' AND AdmLName1 = 'Alvarez')", "permission": "allowed", "query_columns": { "schools": [ "AdmFName1", "AdmLName1", "Website" ] }, "missing_columns": {}, "reason": "Al...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
For all partially virtual charter schools in San Joaquin County, provide a comprehensive analysis including their enrollment statistics, poverty levels based on free and reduced-price meal eligibility, SAT performance metrics, and rank them by enrollment size within the county.
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH CharterSchoolStats AS (\n SELECT \n s.CDSCode,\n s.Website,\n s.School,\n s.County,\n s.Charter,\n s.Virtual,\n s.CharterNum,\n s.FundingType,\n f.`Enrollment (K-12)` AS TotalEnrollment,\n f.`FRPM Count (K-12)` AS FRPMCount,\...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
For charter schools owned by Elementary School Districts in Hickman, what are their enrollment sizes, free and reduced price meal eligibility rates, SAT performance metrics, and how do they rank by size within the city?
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH CharterSchoolStats AS (\n SELECT \n s.CDSCode,\n s.School,\n s.City,\n s.DOC,\n s.Charter,\n f.`Charter School Number`,\n f.`Charter Funding Type`,\n f.`Enrollment (K-12)` AS EnrollmentK12,\n f.`FRPM Count (K-12)` AS FRPMCount,\n ...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
For non-chartered schools in Los Angeles County with a free meal rate below 0.18%, provide details about each school including their enrollment, free meal count, exact free meal percentage, their rank within the county, and statistics about how many schools in the county fall into this low free meal category.
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH SchoolStats AS (\n SELECT \n s.CDSCode,\n s.School,\n s.County,\n s.District,\n s.Charter,\n f.`Free Meal Count (K-12)`,\n f.`Enrollment (K-12)`,\n CAST(f.`Free Meal Count (K-12)` AS REAL) * 100 / f.`Enrollment (K-12)` AS FreePercent,\n ...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
In chartered schools with charter number 00D2, what are the names of all the administrators? Include the name of the school and the city to which it belongs
SELECT AdmFName1, AdmLName1, School, City FROM schools WHERE Charter = 1 AND CharterNum = '00D2'
simple
{ "gold_sql": "SELECT AdmFName1, AdmLName1, School, City FROM schools WHERE Charter = 1 AND CharterNum = '00D2'", "permission": "allowed", "query_columns": { "schools": [ "AdmFName1", "AdmLName1", "Charter", "CharterNum", "City", "School" ] }, "missing_columns": {},...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What is the total number of schools with a mailing city in Hickman belonging to the charter number 00D4?
SELECT COUNT(*) FROM schools WHERE CharterNum = '00D4' AND MailCity = 'Hickman'
simple
{ "gold_sql": "SELECT COUNT(*) FROM schools WHERE CharterNum = '00D4' AND MailCity = 'Hickman'", "permission": "allowed", "query_columns": { "schools": [ "CharterNum", "MailCity" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 64, "evidence"...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What is the ratio in percentage of Santa Clara County charter schools that are locally funded compared to charter schools with all other types of funding?
SELECT CAST(SUM(CASE WHEN FundingType = 'Locally funded' THEN 1 ELSE 0 END) AS REAL) * 100 / SUM(CASE WHEN FundingType != 'Locally funded' THEN 1 ELSE 0 END) FROM schools WHERE County = 'Santa Clara' AND Charter = 1
moderate
{ "gold_sql": "SELECT CAST(SUM(CASE WHEN FundingType = 'Locally funded' THEN 1 ELSE 0 END) AS REAL) * 100 / SUM(CASE WHEN FundingType != 'Locally funded' THEN 1 ELSE 0 END) FROM schools WHERE County = 'Santa Clara' AND Charter = 1", "permission": "allowed", "query_columns": { "schools": [ "Charter", ...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
For directly funded schools that opened in Stanislaus County between 2000 and 2005, provide detailed information about each school including their enrollment, free or reduced price meal eligibility rates, SAT scores, and how they compare to the county average. Also rank them by their FRPM percentage and SAT performance...
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH DirectlyFundedSchools AS (\n SELECT \n s.CDSCode,\n s.School,\n s.County,\n s.OpenDate,\n s.FundingType,\n strftime('%Y', s.OpenDate) AS OpenYear,\n f.`Charter School (Y/N)` AS IsCharter,\n f.`Enrollment (K-12)` AS Enrollment,\n f.`...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What is the total amount of Community College District closure in 1989 in the city of San Francisco?
SELECT COUNT(School) FROM schools WHERE strftime('%Y', ClosedDate) = '1989' AND City = 'San Francisco' AND DOCType = 'Community College District'
simple
{ "gold_sql": "SELECT COUNT(School) FROM schools WHERE strftime('%Y', ClosedDate) = '1989' AND City = 'San Francisco' AND DOCType = 'Community College District'", "permission": "allowed", "query_columns": { "schools": [ "City", "ClosedDate", "DOCType", "School" ] }, "missing_co...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
Which county reported the most number of school closure in the 1980s with school wonership code belonging to Youth Authority Facilities (CEA)?
SELECT County FROM ( SELECT County, COUNT(CDSCode) as closure_count, DENSE_RANK() OVER (ORDER BY COUNT(CDSCode) DESC) as rank_num FROM schools WHERE strftime('%Y', ClosedDate) BETWEEN '1980' AND '1989' AND StatusType = 'Closed' AND SOC = '11' GROUP BY County ) WHERE rank_num =...
moderate
{ "gold_sql": "SELECT County\nFROM (\n SELECT County, COUNT(CDSCode) as closure_count,\n DENSE_RANK() OVER (ORDER BY COUNT(CDSCode) DESC) as rank_num\n FROM schools \n WHERE strftime('%Y', ClosedDate) BETWEEN '1980' AND '1989' \n AND StatusType = 'Closed' \n AND SOC = '11'\n GROUP BY C...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
For State Special Schools with a School Ownership Code starting with 3, show me their NCES district ID, school name, charter status, current operational status, opening date, enrollment, poverty classification, SAT scores by subject, overall average SAT score, and enrollment ranking. Sort the results by enrollment from...
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH StateSpecialSchools AS (\n SELECT \n s.CDSCode,\n s.NCESDist,\n s.School,\n s.DOCType,\n s.SOC,\n CASE \n WHEN s.Charter = 1 THEN 'Charter'\n ELSE 'Non-Charter'\n END AS SchoolType,\n s.OpenDate,\n s.ClosedDate...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
How many active and closed District Community Day Schools are there in the county of Alpine?
SELECT COUNT(School) FROM schools WHERE (StatusType = 'Closed' OR StatusType = 'Active') AND SOC = 69 AND County = 'Alpine'
simple
{ "gold_sql": "SELECT COUNT(School) FROM schools WHERE (StatusType = 'Closed' OR StatusType = 'Active') AND SOC = 69 AND County = 'Alpine'", "permission": "allowed", "query_columns": { "schools": [ "County", "SOC", "School", "StatusType" ] }, "missing_columns": {}, "reason": ...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What is the district code for the School that does not offer a magnet program in the city of Fresno?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT T1.`District Code` FROM frpm AS T1 INNER JOIN schools AS T2 ON T1.CDSCode = T2.CDSCode WHERE T2.City = 'Fresno' AND T2.Magnet = 0", "permission": "denied", "query_columns": { "frpm": [ "CDSCode", "District Code" ], "schools": [ "CDSCode", "City", ...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
How many students from the ages of 5 to 17 are enrolled at the State Special School school in Fremont for the 2014-2015 academic year?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T1.`Enrollment (Ages 5-17)` FROM frpm AS T1 INNER JOIN schools AS T2 ON T1.CDSCode = T2.CDSCode WHERE T2.EdOpsCode = 'SSS' AND T2.City = 'Fremont' AND T1.`Academic Year` BETWEEN 2014 AND 2015", "permission": "denied", "query_columns": { "frpm": [ "Academic Year", "CDSCode", ...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What is the free or reduced price meal count for ages 5 to 17 in the Youth Authority School with a mailing street address of PO Box 1040?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.`FRPM Count (Ages 5-17)` FROM frpm AS T1 INNER JOIN schools AS T2 ON T1.CDSCode = T2.CDSCode WHERE T2.MailStreet = 'PO Box 1040' AND T2.SOCType = 'Youth Authority Facilities'", "permission": "denied", "query_columns": { "frpm": [ "CDSCode", "FRPM Count (Ages 5-17)" ], ...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What is the lowest grade for the District Special Education Consortia School with National Center for Educational Statistics school district identification number of 0613360?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT MIN(T1.`Low Grade`) FROM frpm AS T1 INNER JOIN schools AS T2 ON T1.CDSCode = T2.CDSCode WHERE T2.NCESDist = '0613360' AND T2.EdOpsCode = 'SPECON'", "permission": "denied", "query_columns": { "frpm": [ "CDSCode", "Low Grade" ], "schools": [ "CDSCode", "EdOp...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What is the educational level name for the schools with Breakfast Provision 2 in county code 37? Indicate the name of the school.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.EILName, T2.School FROM frpm AS T1 INNER JOIN schools AS T2 ON T1.CDSCode = T2.CDSCode WHERE T1.`NSLP Provision Status` = 'Breakfast Provision 2' AND T1.`County Code` = 37", "permission": "denied", "query_columns": { "frpm": [ "CDSCode", "County Code", "NSLP Provisio...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What is the city location of the high school level school with Lunch Provision 2 whose lowest grade is 9 and the highest grade is 12 in the county of Merced?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T2.City FROM frpm AS T1 INNER JOIN schools AS T2 ON T1.CDSCode = T2.CDSCode WHERE T1.`NSLP Provision Status` = 'Lunch Provision 2' AND T2.County = 'Merced' AND T1.`Low Grade` = 9 AND T1.`High Grade` = 12 AND T2.EILCode = 'HS'", "permission": "denied", "query_columns": { "frpm": [ "...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
For schools in Los Angeles County that serve grades K-9, what are their poverty levels based on FRPM eligibility rates, and how do they perform on SAT tests? Include their charter status and rank them by FRPM percentage.
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH SchoolStats AS (\n SELECT \n s.CDSCode,\n s.School,\n s.County,\n s.GSserved,\n s.Charter,\n s.CharterNum,\n s.City,\n f.`FRPM Count (Ages 5-17)`,\n f.`Enrollment (Ages 5-17)`,\n f.`FRPM Count (Ages 5-17)` * 100.0 / f.`Enroll...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
For the most common grade span served in Adelanto, what are the enrollment statistics, poverty levels, and average SAT scores across all active schools?
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH SchoolsByGradeSpan AS (\n SELECT \n s.GSserved,\n COUNT(s.CDSCode) AS school_count,\n RANK() OVER (ORDER BY COUNT(s.CDSCode) DESC) AS grade_span_rank\n FROM \n schools s\n WHERE \n s.City = 'Adelanto'\n GROUP BY \n s.GSserved\n),\nSchoolStats A...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
For fully virtual schools in San Diego and Santa Barbara counties, which county has the most virtual schools? Provide comprehensive statistics including the count, breakdown of charter vs regular schools, enrollment figures, average free/reduced meal percentage, average SAT scores, and identify the largest virtual scho...
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH VirtualSchoolsByCounty AS (\n SELECT \n s.County,\n s.School,\n s.Virtual,\n s.SOCType,\n s.GSoffered,\n CASE \n WHEN f.`Charter School (Y/N)` = 1 THEN 'Charter School'\n ELSE 'Regular School'\n END AS SchoolType,\n f...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What is the school type of the school with the highest latitude? Indicate the name of the school as well as the latitude coordinates.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.`School Type`, T1.`School Name`, T2.Latitude FROM frpm AS T1 INNER JOIN schools AS T2 ON T1.CDSCode = T2.CDSCode ORDER BY T2.Latitude DESC, T1.CDSCode ASC LIMIT 1", "permission": "denied", "query_columns": { "frpm": [ "CDSCode", "School Name", "School Type" ], ...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
In which city can you find the school in the state of California with the lowest latitude coordinates and what is its lowest grade? Indicate the school name.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T2.City, T1.`Low Grade`, T1.`School Name` FROM frpm AS T1 INNER JOIN schools AS T2 ON T1.CDSCode = T2.CDSCode WHERE T2.State = 'CA' ORDER BY T2.Latitude ASC LIMIT 1", "permission": "denied", "query_columns": { "frpm": [ "CDSCode", "Low Grade", "School Name" ], "...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What is the grade span offered in the school with the highest longitude?
SELECT GSoffered FROM schools ORDER BY ABS(longitude) DESC LIMIT 1
simple
{ "gold_sql": "SELECT GSoffered FROM schools ORDER BY ABS(longitude) DESC LIMIT 1", "permission": "allowed", "query_columns": { "schools": [ "GSoffered", "Longitude" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 82, "evidence": "the highes...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
Of the schools that offers a magnet program serving a grade span of Kindergarten to 8th grade, how many offers Multiple Provision Types? List the number of cities that offers a Kindergarten to 8th grade span and indicate how many schools are there serving such grade span for each city.
Sorry, I cannot answer.
challenging
{ "gold_sql": "SELECT T2.City, COUNT(T2.CDSCode) FROM frpm AS T1 INNER JOIN schools AS T2 ON T1.CDSCode = T2.CDSCode WHERE T2.Magnet = 1 AND T2.GSoffered = 'K-8' AND T1.`NSLP Provision Status` = 'Multiple Provision Types' GROUP BY T2.City", "permission": "denied", "query_columns": { "frpm": [ "CDSCode",...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What are the two most common first names among the school administrators? Indicate the district to which they administer.
SELECT DISTINCT T1.AdmFName1, T1.District FROM schools AS T1 INNER JOIN ( SELECT admfname1 FROM schools GROUP BY admfname1 ORDER BY COUNT(admfname1) DESC, admfname1 ASC LIMIT 2 ) AS T2 ON T1.AdmFName1 = T2.admfname1;
simple
{ "gold_sql": "SELECT DISTINCT T1.AdmFName1, T1.District \nFROM schools AS T1 \nINNER JOIN (\n SELECT admfname1 \n FROM schools \n GROUP BY admfname1 \n ORDER BY COUNT(admfname1) DESC, admfname1 ASC\n LIMIT 2\n) AS T2 \nON T1.AdmFName1 = T2.admfname1;", "permission": "allowed", "query_columns": { ...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What is the Percent (%) Eligible Free (K-12) in the school administered by an administrator whose first name is Alusine. List the district code of the school.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT \n T1.`Free Meal Count (K-12)` * 100 / T1.`Enrollment (K-12)` AS \"Percent (%) Eligible Free (K-12)\",\n T1.`District Code` \nFROM frpm AS T1 INNER JOIN schools AS T2 ON T1.CDSCode = T2.CDSCode \nWHERE T2.AdmFName1 = 'Alusine' OR T2.AdmFName2 = 'Alusine' OR T2.AdmFName3 = 'Alusine'", "pe...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What is the administrator's last name that oversees the school with Charter number 40? Indicate the district, the county where the school is situated, and the name of the school.
SELECT AdmLName1, District, County, School FROM schools WHERE CharterNum = '0040'
simple
{ "gold_sql": "SELECT AdmLName1, District, County, School FROM schools WHERE CharterNum = '0040'", "permission": "allowed", "query_columns": { "schools": [ "AdmLName1", "CharterNum", "County", "District", "School" ] }, "missing_columns": {}, "reason": "All required colu...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What are the valid e-mail addresses of the administrator of the school located in the San Bernardino county, City of San Bernardino that belongs to a Unified School District and opened between 1/1/2009 to 12/31/2010 whose school types are public Intermediate/Middle Schools?
SELECT AdmEmail1, AdmEmail2 FROM schools WHERE County = 'San Bernardino' AND City = 'San Bernardino' AND DOC = 54 AND strftime('%Y', OpenDate) BETWEEN '2009' AND '2010' AND SOC = 62
challenging
{ "gold_sql": "SELECT AdmEmail1, AdmEmail2 FROM schools WHERE County = 'San Bernardino' AND City = 'San Bernardino' AND DOC = 54 AND strftime('%Y', OpenDate) BETWEEN '2009' AND '2010' AND SOC = 62", "permission": "allowed", "query_columns": { "schools": [ "AdmEmail1", "AdmEmail2", "City", ...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_1
{ "satscores": [ "AvgScrMath", "AvgScrRead", "AvgScrWrite", "NumGE1500", "NumTstTakr", "dname", "enroll12" ], "schools": [ "*" ] }
What is the administrator's email address for the school with the highest number of test takers who received SAT scores of at least 1500?Provide the name of the school.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.AdmEmail1, T2.School FROM satscores AS T1 INNER JOIN schools AS T2 ON T1.cds = T2.CDSCode ORDER BY T1.NumGE1500 DESC, T1.cds ASC LIMIT 1", "permission": "denied", "query_columns": { "satscores": [ "NumGE1500", "cds" ], "schools": [ "AdmEmail1", "CDSCode...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_2
{ "frpm": [ "*" ], "satscores": [ "AvgScrMath", "NumGE1500", "NumTstTakr", "enroll12", "rtype", "sname" ], "schools": [ "AdmEmail2", "AdmEmail3", "AdmFName1", "AdmFName2", "AdmFName3", "AdmLName1", "AdmLName2", "AdmLName3", "CDSCode", "Charte...
For the school with the highest free meal rate in Alameda County, what are its characteristics including whether it's a charter school, what grades it serves, its SAT performance level, and how much its free meal rate deviates from the county average?
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH CountyStats AS (\n SELECT \n f.`County Name`,\n f.`School Name`,\n f.`Free Meal Count (K-12)`,\n f.`Enrollment (K-12)`,\n CAST(f.`Free Meal Count (K-12)` AS REAL) / f.`Enrollment (K-12)` AS FreeRate,\n s.sname,\n s.AvgScrRead,\n s.AvgScrMa...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_2
{ "frpm": [ "*" ], "satscores": [ "AvgScrMath", "NumGE1500", "NumTstTakr", "enroll12", "rtype", "sname" ], "schools": [ "AdmEmail2", "AdmEmail3", "AdmFName1", "AdmFName2", "AdmFName3", "AdmLName1", "AdmLName2", "AdmLName3", "CDSCode", "Charte...
Please list the lowest three eligible free rates for students aged 5-17 in continuation schools.
SELECT `Free Meal Count (Ages 5-17)` / `Enrollment (Ages 5-17)` FROM frpm WHERE `Educational Option Type` = 'Continuation School' AND `Free Meal Count (Ages 5-17)` / `Enrollment (Ages 5-17)` IS NOT NULL ORDER BY `Free Meal Count (Ages 5-17)` / `Enrollment (Ages 5-17)` ASC LIMIT 3
moderate
{ "gold_sql": "SELECT `Free Meal Count (Ages 5-17)` / `Enrollment (Ages 5-17)` FROM frpm WHERE `Educational Option Type` = 'Continuation School' AND `Free Meal Count (Ages 5-17)` / `Enrollment (Ages 5-17)` IS NOT NULL ORDER BY `Free Meal Count (Ages 5-17)` / `Enrollment (Ages 5-17)` ASC LIMIT 3", "permission": "all...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_2
{ "frpm": [ "*" ], "satscores": [ "AvgScrMath", "NumGE1500", "NumTstTakr", "enroll12", "rtype", "sname" ], "schools": [ "AdmEmail2", "AdmEmail3", "AdmFName1", "AdmFName2", "AdmFName3", "AdmLName1", "AdmLName2", "AdmLName3", "CDSCode", "Charte...
For charter schools in Fresno County Office of Education, provide their location details, enrollment information, FRPM eligibility rates, SAT performance metrics, and rankings. Include the year each school opened and whether it's currently active or closed, categorizing schools by their FRPM percentage levels.
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH CharterSchoolInfo AS (\n SELECT \n T1.CDSCode,\n T1.`School Name` AS CharterSchoolName,\n T1.`District Name`,\n T1.`Charter School Number`,\n T1.`Charter Funding Type`,\n T1.`Enrollment (K-12)` AS Enrollment,\n T1.`FRPM Count (K-12)` AS FRPMCount...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_2
{ "frpm": [ "*" ], "satscores": [ "AvgScrMath", "NumGE1500", "NumTstTakr", "enroll12", "rtype", "sname" ], "schools": [ "AdmEmail2", "AdmEmail3", "AdmFName1", "AdmFName2", "AdmFName3", "AdmLName1", "AdmLName2", "AdmLName3", "CDSCode", "Charte...
For the non-charter school with more than 100 students that has the highest number of FRPM-eligible K-12 students, provide its name, location details, unabbreviated mailing address, website, enrollment statistics, SAT performance metrics, and determine whether it performs unexpectedly well or poorly given its FRPM rate...
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH SchoolRanking AS (\n SELECT \n T1.CDSCode,\n T1.`School Name`,\n T1.`FRPM Count (K-12)`,\n T1.`Enrollment (K-12)`,\n T1.`Percent (%) Eligible FRPM (K-12)`,\n RANK() OVER (ORDER BY T1.`FRPM Count (K-12)` DESC) AS frpm_rank,\n RANK() OVER (ORDER BY...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_2
{ "frpm": [ "*" ], "satscores": [ "AvgScrMath", "NumGE1500", "NumTstTakr", "enroll12", "rtype", "sname" ], "schools": [ "AdmEmail2", "AdmEmail3", "AdmFName1", "AdmFName2", "AdmFName3", "AdmLName1", "AdmLName2", "AdmLName3", "CDSCode", "Charte...
Please list the phone numbers of the direct charter-funded schools that are opened after 2000/1/1.
SELECT T2.Phone FROM frpm AS T1 INNER JOIN schools AS T2 ON T1.CDSCode = T2.CDSCode WHERE T1.`Charter Funding Type` = 'Directly funded' AND T1.`Charter School (Y/N)` = 1 AND T2.OpenDate > '2000-01-01'
moderate
{ "gold_sql": "SELECT T2.Phone FROM frpm AS T1 INNER JOIN schools AS T2 ON T1.CDSCode = T2.CDSCode WHERE T1.`Charter Funding Type` = 'Directly funded' AND T1.`Charter School (Y/N)` = 1 AND T2.OpenDate > '2000-01-01'", "permission": "allowed", "query_columns": { "frpm": [ "CDSCode", "Charter Fundin...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_2
{ "frpm": [ "*" ], "satscores": [ "AvgScrMath", "NumGE1500", "NumTstTakr", "enroll12", "rtype", "sname" ], "schools": [ "AdmEmail2", "AdmEmail3", "AdmFName1", "AdmFName2", "AdmFName3", "AdmLName1", "AdmLName2", "AdmLName3", "CDSCode", "Charte...
What are the details of fully virtual schools that have an average SAT Math score above 400, including their SAT performance rankings, enrollment, and poverty levels, ordered by their total SAT scores?
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH VirtualSchools AS (\n SELECT \n s.CDSCode,\n s.School,\n s.Virtual,\n s.Charter,\n s.City,\n CASE \n WHEN s.Virtual = 'F' THEN 'Fully Virtual'\n WHEN s.Virtual = 'P' THEN 'Partially Virtual'\n WHEN s.Virtual = 'N' THEN '...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_2
{ "frpm": [ "*" ], "satscores": [ "AvgScrMath", "NumGE1500", "NumTstTakr", "enroll12", "rtype", "sname" ], "schools": [ "AdmEmail2", "AdmEmail3", "AdmFName1", "AdmFName2", "AdmFName3", "AdmLName1", "AdmLName2", "AdmLName3", "CDSCode", "Charte...
For magnet schools with over 500 SAT test takers, provide a comprehensive performance analysis including their SAT scores, rankings, poverty levels, and performance categories, sorted by total average SAT scores.
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH SchoolMetrics AS (\n SELECT \n s.CDSCode,\n s.School,\n s.Magnet,\n s.SOCType AS SchoolType,\n s.EdOpsName AS EducationalOption,\n sat.NumTstTakr,\n sat.AvgScrRead,\n sat.AvgScrMath,\n sat.AvgScrWrite,\n sat.NumGE1500,\n ...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_2
{ "frpm": [ "*" ], "satscores": [ "AvgScrMath", "NumGE1500", "NumTstTakr", "enroll12", "rtype", "sname" ], "schools": [ "AdmEmail2", "AdmEmail3", "AdmFName1", "AdmFName2", "AdmFName3", "AdmLName1", "AdmLName2", "AdmLName3", "CDSCode", "Charte...
What is the phone number of the school that has the highest number of test takers with an SAT score of over 1500?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.Phone FROM satscores AS T1 INNER JOIN schools AS T2 ON T1.cds = T2.CDSCode ORDER BY T1.NumGE1500 DESC LIMIT 1", "permission": "denied", "query_columns": { "satscores": [ "NumGE1500", "cds" ], "schools": [ "CDSCode", "Phone" ] }, "missing_columns...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_2
{ "frpm": [ "*" ], "satscores": [ "AvgScrMath", "NumGE1500", "NumTstTakr", "enroll12", "rtype", "sname" ], "schools": [ "AdmEmail2", "AdmEmail3", "AdmFName1", "AdmFName2", "AdmFName3", "AdmLName1", "AdmLName2", "AdmLName3", "CDSCode", "Charte...
For the top 10 schools with the highest number of students eligible for free or reduced price meals, provide detailed information including their location, type, FRPM statistics, and SAT performance metrics.
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH SchoolsWithHighFRPM AS (\n SELECT \n f.CDSCode,\n f.`School Name`,\n f.`FRPM Count (K-12)`,\n f.`Enrollment (K-12)`,\n f.`Percent (%) Eligible FRPM (K-12)`,\n RANK() OVER (ORDER BY f.`FRPM Count (K-12)` DESC) as frpm_rank\n FROM frpm f\n WHERE f.`...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_2
{ "frpm": [ "*" ], "satscores": [ "AvgScrMath", "NumGE1500", "NumTstTakr", "enroll12", "rtype", "sname" ], "schools": [ "AdmEmail2", "AdmEmail3", "AdmFName1", "AdmFName2", "AdmFName3", "AdmLName1", "AdmLName2", "AdmLName3", "CDSCode", "Charte...
Among the schools with the average score in Math over 560 in the SAT test, how many schools are directly charter-funded?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(T2.`School Code`) FROM satscores AS T1 INNER JOIN frpm AS T2 ON T1.cds = T2.CDSCode WHERE T1.AvgScrMath > 560 AND T2.`Charter Funding Type` = 'Directly funded'", "permission": "denied", "query_columns": { "satscores": [ "AvgScrMath", "cds" ], "frpm": [ "CD...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_2
{ "frpm": [ "*" ], "satscores": [ "AvgScrMath", "NumGE1500", "NumTstTakr", "enroll12", "rtype", "sname" ], "schools": [ "AdmEmail2", "AdmEmail3", "AdmFName1", "AdmFName2", "AdmFName3", "AdmLName1", "AdmLName2", "AdmLName3", "CDSCode", "Charte...
For the school with the highest average SAT Reading score among schools with more than 10 test takers, provide comprehensive details including its location, test scores across all sections, poverty indicators, enrollment, and charter status.
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH SchoolRankings AS (\n SELECT \n T1.cds,\n T1.sname,\n T1.AvgScrRead,\n T1.AvgScrMath,\n T1.AvgScrWrite,\n T1.NumTstTakr,\n T1.NumGE1500,\n RANK() OVER (ORDER BY T1.AvgScrRead DESC) AS ReadingRank,\n RANK() OVER (ORDER BY T1.AvgScrMa...
california_schools
##Instruction: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Database: california_schools Total Tables: 3 Total Columns: 89 Table Schemas: Table: frpm (29 columns) ------------------------ • CDSCode (integer): CDSCode • Academic Year (integer): Academic Year • County Code (integer): ...
DataOperator_2
{ "frpm": [ "*" ], "satscores": [ "AvgScrMath", "NumGE1500", "NumTstTakr", "enroll12", "rtype", "sname" ], "schools": [ "AdmEmail2", "AdmEmail3", "AdmFName1", "AdmFName2", "AdmFName3", "AdmLName1", "AdmLName2", "AdmLName3", "CDSCode", "Charte...
For schools with total enrollment exceeding 500 students, show me their enrollment details, free meal eligibility rates, charter status, and SAT performance. Group them by county and categorize by FRPM levels (High: 75%+, Medium: 50-75%, Low: <50%). Only include schools where either the FRPM percentage is above 60% or ...
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH HighEnrollmentSchools AS (\n SELECT \n T2.CDSCode,\n T2.`School Name`,\n T2.`County Name`,\n T2.`Enrollment (K-12)` + T2.`Enrollment (Ages 5-17)` AS TotalEnrollment,\n T2.`Percent (%) Eligible FRPM (K-12)` * 100 AS FRPMPercentage,\n CASE \n W...