template
stringclasses 5
values | data
stringlengths 0
3.49k
| derivation_sql
stringlengths 0
264
| source
stringclasses 4
values | output
stringlengths 0
645
| input
stringlengths 0
3.72k
| instruction
stringlengths 13
230
| derivation_eval
stringlengths 0
369
|
---|---|---|---|---|---|---|---|
script | {"header": ["Date", "Opponent", "Score", "Loss", "Record"], "rows": [["September 1", "@ Giants", "41", "Rueter (711)", "5676"], ["September 2", "@ Giants", "65", "Schmidt (156)", "5776"], ["September 3", "@ Padres", "76", "Dohmann (02)", "5777"], ["September 4", "@ Padres", "82", "Tankersley (05)", "5877"], ["September 5", "@ Padres", "52", "Lawrence (1312)", "5977"], ["September 7", "Giants", "87", "Christiansen (43)", "6077"], ["September 8", "Giants", "53", "Reed (35)", "6078"], ["September 9", "Padres", "97", "Linebrink (72)", "6178"], ["September 10", "Padres", "104", "Harikkala (64)", "6179"], ["September 11", "Padres", "132", "Eaton (913)", "6279"], ["September 12", "Padres", "152", "Reed (36)", "6280"], ["September 13", "@ Diamondbacks", "92", "Fossum (413)", "6380"], ["September 14", "@ Diamondbacks", "43 (13)", "Reed (37)", "6381"], ["September 15", "@ Diamondbacks", "32", "Estes (147)", "6382"], ["September 16", "@ Diamondbacks", "85", "Dohmann (03)", "6383"], ["September 17", "Dodgers", "86 (10)", "Chacn (18)", "6384"], ["September 18", "Dodgers", "81", "Prez (66)", "6484"], ["September 19", "Dodgers", "76", "Chacn (19)", "6485"], ["September 22", "Diamondbacks", "42", "Johnson (1414)", "6585"], ["September 23", "Diamondbacks", "71", "Webb (616)", "6685"], ["September 23", "Diamondbacks", "21 (10)", "Choate (24)", "6785"], ["September 24", "Cardinals", "54", "Jennings (1112)", "6786"], ["September 25", "Cardinals", "106", "Harikkala (65)", "6787"], ["September 26", "Cardinals", "93", "Gissell (01)", "6788"], ["September 27", "@ Dodgers", "87", "Reed (38)", "6789"], ["September 28", "@ Dodgers", "54", "Harikkala (66)", "6790"], ["September 29", "@ Dodgers", "41", "Brazobn (42)", "6890"], ["September 30", "@ Dodgers", "42 (11)", "Fuentes (24)", "6891"]], "types": ["text", "text", "text", "text", "text"], "caption": "Game log"} | SELECT ([Loss]) FROM data_table WHERE LOWER([Date]) = LOWER('september 1') | wiki-sql | Rueter (711) | What was the losing score on September 1? | ||
script | {"header": ["District", "Incumbent", "Party", "First elected", "Result", "Candidates"], "rows": [["Illinois 2", "Barratt O'Hara", "Democratic", 1952, "Re-elected", "Barratt O'Hara (D) 61.6% Richard B. Vail (R) 38.4%"], ["Illinois 3", "Fred E. Busbey", "Republican", 1950, "Lost re-election Democratic gain", "James C. Murray (D) 53.8% Fred E. Busbey (R) 46.2%"], ["Illinois 14", "Chauncey W. Reed", "Republican", 1934, "Re-elected", "Chauncey W. Reed (R) 72.4% Richard Plum (D) 27.6%"], ["Illinois 15", "Noah M. Mason", "Republican", 1936, "Re-elected", "Noah M. Mason (R) 62.8% Richard A. Mohan (D) 37.2%"], ["Illinois 16", "Leo E. Allen", "Republican", 1932, "Re-elected", "Leo E. Allen (R) Unopposed"], ["Illinois 20", "Sid Simpson", "Republican", 1942, "Re-elected", "Sid Simpson (R) 62.9% James A. Barry (D) 37.1%"], ["Illinois 24", "Melvin Price", "Democratic", 1944, "Re-elected", "Melvin Price (D) 69.2% John T. Thomas (R) 30.8%"]], "types": ["text", "text", "text", "real", "text", "text"], "caption": ""} | SELECT ([Result]) FROM data_table WHERE LOWER([Incumbent]) = LOWER('Leo E. Allen') | wiki-sql | Re-elected | What was the result when Leo E. Allen was elected? | ||
script | {"header": ["Condition", "Prothrombin time", "Partial thromboplastin time", "Bleeding time", "Platelet count"], "rows": [["Vitamin K deficiency or warfarin", "Prolonged", "Normal or mildly prolonged", "Unaffected", "Unaffected"], ["Disseminated intravascular coagulation", "Prolonged", "Prolonged", "Prolonged", "Decreased"], ["Von Willebrand disease", "Unaffected", "Prolonged or unaffected", "Prolonged", "Unaffected"], ["Hemophilia", "Unaffected", "Prolonged", "Unaffected", "Unaffected"], ["Aspirin", "Unaffected", "Unaffected", "Prolonged", "Unaffected"], ["Thrombocytopenia", "Unaffected", "Unaffected", "Prolonged", "Decreased"], ["Liver failure , early", "Prolonged", "Unaffected", "Unaffected", "Unaffected"], ["Liver failure, end-stage", "Prolonged", "Prolonged", "Prolonged", "Decreased"], ["Uremia", "Unaffected", "Unaffected", "Prolonged", "Unaffected"], ["Congenital afibrinogenemia", "Prolonged", "Prolonged", "Prolonged", "Unaffected"], ["Factor V deficiency", "Prolonged", "Prolonged", "Unaffected", "Unaffected"], ["Factor X deficiency as seen in amyloid purpura", "Prolonged", "Prolonged", "Unaffected", "Unaffected"], ["Glanzmann's thrombasthenia", "Unaffected", "Unaffected", "Prolonged", "Unaffected"], ["Bernard-Soulier syndrome", "Unaffected", "Unaffected", "Prolonged", "Decreased or unaffected"], ["Factor XII deficiency", "Unaffected", "Prolonged", "Unaffected", "Unaffected"]], "types": ["text", "text", "text", "text", "text"], "caption": "Laboratory findings in various platelet and coagulation disorders ( \n V \n - \n T \n )"} | SELECT ([Bleeding time]) FROM data_table WHERE LOWER([Platelet count]) = LOWER('Decreased or unaffected') | wiki-sql | Prolonged | What is the bleeding time when the platelet count is decreased or unaffected? | ||
script | {"header": ["Institution", "Nickname", "Status", "Founded", "Color", "Location"], "rows": [["Bicol University", "BU", "State", 1969, "Blue and White", "Legazpi City, Albay"], ["Camarines Norte State College", "CNSC Red Horses", "State", 1992, "Red and White", "Daet, Camarines Norte"], ["Sorsogon State College", "SSC Whalesharks", "State", 1907, "Green", "Sorsogon City, Sorsogon"], ["Catanduanes State College", "CSC Golden Warriors", "State", 1971, "Gold and White", "Virac, Catanduanes"], ["Central Bicol State University of Agriculture", "CBSUA formerly known CSSAC", "State", 1918, "Gold, Red", "Pili, Camarines Sur"], ["Partido State University", "ParSU Cimmarons", "State", 1941, "Navy Blue", "Goa, Camarines Sur"]], "types": ["text", "text", "text", "real", "text", "text"]} | SELECT COUNT([Location]) FROM data_table WHERE LOWER([Nickname]) = LOWER('CBSUA formerly known CSSAC') | wiki-sql | 1 | What was the number of location of nickname cbsua formerly known cssac? | ||
script | {"header": ["Player", "Team", "Matches", "Overs", "Wickets", "Average", "Economy", "BBI", "4wi", "5wi"], "rows": [["Virender Sehwag Category:Articles with hCards", "Leicestershire", 6, "14.0", 7, "10.00", "5.00", "3/14", 0, 0], ["Jimmy Ormond Category:Articles with hCards", "Surrey", 5, "20.0", 11, "10.09", "5.55", "5/26", 1, 1], ["Azhar Mahmood Category:Articles with hCards", "Surrey", 5, "18.5", 12, "10.25", "6.53", "4/20", 1, 0], ["Dominic Hewson Category:Articles with hCards", "Derbyshire", 5, "19.0", 10, "10.90", "5.73", "4/18", 1, 0], ["Jason Brown Category:Articles with hCards", "Northamptonshire", 5, "17.5", 11, "11.09", "6.84", "5/27", 0, 1], ["Glen Chapple Category:Articles with hCards", "Lancashire", 5, "19.0", 9, "11.22", "5.31", "2/13", 0, 0], ["Ashley Noffke Category:Articles with hCards", "Middlesex", 3, "12.0", 8, "12.12", "8.08", "3/22", 0, 0], ["Peter Martin Category:Articles with hCards", "Lancashire", 4, "15.0", 7, "12.14", "5.66", "3/20", 0, 0], ["Adam Hollioake Category:Articles with hCards", "Surrey", 7, "25.1", 16, "12.31", "7.82", "5/21", 1, 1], ["Simon Cook Category:Articles with hCards", "Middlesex", 5, "18.2", 9, "13.77", "6.76", "3/14", 0, 0]], "types": ["text", "text", "real", "text", "real", "text", "text", "text", "real", "real"], "caption": "Bowling averages (Top 10)"} | SELECT ([Team]) FROM data_table WHERE LOWER([Economy]) = LOWER('5.73') | wiki-sql | Derbyshire | What is the team when the economy is 5.73? | ||
script | {"header": ["Year", "Game", "Genre", "Platform(s)", "Developer(s)"], "rows": [["2007", "Portal", "Puzzle , first-person shooter , science fiction", "Xbox 360 , PlayStation 3 , Windows", "Valve Corporation"], ["2008", "Braid", "Puzzle , platformer", "Xbox Live Arcade , PlayStation Network", "Number None, Inc."], ["2009", "Uncharted 2: Among Thieves", "Action-adventure , third-person shooter", "PlayStation 3", "Naughty Dog"], ["2010", "Red Dead Redemption", "Open World , third-person shooter", "Xbox 360 , PlayStation 3", "Rockstar San Diego"], ["2011", "The Elder Scrolls V: Skyrim", "Action RPG", "Xbox 360 , PlayStation 3 , Windows", "Bethesda Game Studios"], ["2012", "Mass Effect 3", "Action RPG , third-person shooter", "Xbox 360 , PlayStation 3 , Windows", "BioWare"]], "types": ["real", "text", "text", "text", "text"], "caption": ""} | SELECT ([Developer(s)]) FROM data_table WHERE [Year] > 2010 AND LOWER([Genre]) = LOWER('action rpg') | wiki-sql | Bethesda Game Studios | Who were the developers for the Action RPG made after 2010? | ||
script | {"header": ["Week", "Date", "Opponent", "Result", "Attendance"], "rows": [["1", "September 17, 1961", "St. Louis Cardinals", "L 2110", "58,059"], ["2", "September 24, 1961", "at Pittsburgh Steelers", "W 1714", "35,587"], ["3", "October 1, 1961", "at Washington Redskins", "W 2421", "36,767"], ["4", "October 8, 1961", "St. Louis Cardinals", "W 249", "23,713"], ["5", "October 15, 1961", "at Dallas Cowboys", "W 3110", "41,500"], ["6", "October 22, 1961", "Los Angeles Rams", "W 2414", "63,053"], ["7", "October 29, 1961", "Dallas Cowboys", "L 1716", "60,254"], ["8", "November 5, 1961", "Washington Redskins", "W 530", "56,077"], ["9", "November 12, 1961", "Philadelphia Eagles", "W 3821", "62,800"], ["10", "November 19, 1961", "Pittsburgh Steelers", "W 4221", "62,592"], ["11", "November 26, 1961", "at Cleveland Browns", "W 3721", "80,455"], ["12", "December 3, 1961", "at Green Bay Packers", "L 2017", "47,012"], ["13", "December 10, 1961", "at Philadelphia Eagles", "W 2824", "60,671"], ["14", "December 17, 1961", "Cleveland Browns", "T 77", "61,804"]], "types": ["real", "text", "text", "text", "real"], "caption": "Schedule"} | SELECT ([Result]) FROM data_table WHERE LOWER([Date]) = LOWER('october 8, 1961') | wiki-sql | W 249 | What was the result on october 8, 1961? | ||
script | {"header": ["Player", "Alma Mater", "National Lacrosse League", "Major League Lacrosse", "International Competition"], "rows": [["Colin Doyle", "Wilfrid Laurier University", "Ontario Raiders / Toronto Rock , San Jose Stealth", "Toronto Nationals", "Team Canada"], ["Steve Hoar", "University of Toronto", "Toronto Rock", "Toronto Nationals", "Team Canada"], ["Creighton Reid", "University of Toronto (Practice Squad)", "Toronto Rock , Colorado Mammoth", "None", "None"], ["Jay Thorimbert", "University of Guelph", "Buffalo Bandits , Boston Blazers , Minnesota Swarm", "None", "None"], ["Sean Thomson", "University of Guelph", "Philadelphia Wings , Minnesota Swarm", "None", "None"], ["Greg Harnett", "Bishop's University", "Calgary Roughnecks", "None", "None"], ["Jon Harnett", "University of Guelph", "Boston Blazers", "None", "None"], ["Josh Wasson", "Trent University", "Chicago Shamrox , Toronto Rock", "None", "None"], ["Casey Zaph", "University of Toronto", "Rochester Knighthawks", "None", "None"]], "types": ["text", "text", "text", "text", "text"]} | SELECT ([Alma Mater]) FROM data_table WHERE LOWER([Player]) = LOWER('Steve Hoar') | wiki-sql | University of Toronto | What university did Steve Hoar attend. | ||
script | {"header": ["School", "Location(s)", "Control", "Type", "Enrollment (2009)", "Founded"], "rows": [["Bennington College", "Bennington", "Private", "Baccalaureate college", 857, 1932], ["Burlington College", "Burlington", "Private", "Baccalaureate college", 224, 1972], ["Castleton State College", "Castleton", "Public", "Baccalaureate college", 3050, 1787], ["Champlain College", "Burlington", "Private", "Baccalaureate college", 3482, 1878], ["College of St. Joseph", "Rutland", "Private ( Catholic )", "Master's university", 547, 1956], ["Community College of Vermont", "12 locations", "Public", "Associate's college", 10830, 1970], ["Goddard College", "Plainfield", "Private", "Master's university", 982, 1938], ["Green Mountain College", "Poultney", "Private ( Methodist )", "Baccalaureate college", 911, 1834], ["Johnson State College", "Johnson", "Public", "Master's university", 2619, 1828], ["Landmark College", "Putney", "Private", "Associate's college", 598, 1984], ["Lyndon State College", "Lyndonville", "Public", "Baccalaureate college", 1854, 1911], ["Marlboro College", "Marlboro", "Private", "Baccalaureate college", 523, 1946], ["Middlebury College", "Middlebury", "Private", "Baccalaureate college", 2484, 1800], ["New England Culinary Institute", "Montpelier , Essex Junction", "Private ( for-profit )", "Culinary school", 807, 1980], ["Norwich University", "Northfield", "Private", "Master's university", 5280, 1819], ["Saint Michael's College", "Colchester", "Private ( Catholic )", "Baccalaureate college", 3438, 1904], ["SIT Graduate Institute", "Brattleboro", "Private", "Master's university", 727, 1965], ["Southern Vermont College", "Bennington", "Private", "Baccalaureate college", 543, 1926], ["Sterling College", "Craftsbury Common", "Private", "Baccalaureate college", 141, 1958], ["University of Vermont", "Burlington", "Public", "Research university", 15785, 1791], ["Vermont College of Fine Arts", "Montpelier", "Private", "Art school", 311, 1831], ["Vermont Law School", "South Royalton", "Private", "Law school", 748, 1972]], "types": ["text", "text", "text", "text", "real", "real"], "caption": "Institutions"} | SELECT ([School]) FROM data_table WHERE [Founded] = 1791 | wiki-sql | University of Vermont | What school was founded in 1791? | ||
script | {"header": ["Year", "Theme", "Artist", "Mintage", "Issue price", "Special notes"], "rows": [["2006", "Montreal Canadiens", "N/A", "N/A", "24.95", "From Montreal Canadiens Gift Set"], ["2006", "Ottawa Senators", "N/A", "N/A", "24.95", "From Ottawa Senators Gift Set"], ["2006", "Toronto Maple Leafs", "N/A", "N/A", "24.95", "From Toronto Maple Leafs Gift Set"], ["2007", "Calgary Flames", "N/A", "832", "24.95", "From Calgary Flames Gift Set"], ["2007", "Edmonton Oilers", "N/A", "2213", "24.95", "From Edmonton Oilers Gift Set"], ["2007", "Montreal Canadiens", "N/A", "2952", "24.95", "From Montreal Canadiens Gift Set"], ["2007", "Ottawa Senators", "N/A", "1634", "24.95", "From Ottawa Senators Gift Set"], ["2007", "Toronto Maple Leafs", "N/A", "3527", "24.95", "From Toronto Maple Leafs Gift Set"], ["2007", "Vancouver Canucks", "N/A", "1264", "24.95", "From Vancouver Canucks Gift Set"]], "types": ["real", "text", "text", "text", "real", "text"], "caption": "Twenty-Five Cents"} | SELECT ([Theme]) FROM data_table WHERE LOWER([Mintage]) = LOWER('3527') | wiki-sql | Toronto Maple Leafs | What theme has a mintage of 3527? | ||
script | {"header": ["Season #", "Episode #", "Title", "Director(s)", "Writer(s)", "Original Air Date"], "rows": [[1, 1, "\"The Fugly Fringe\"", "Peter Templeman", "Rebel Wilson", "6October2008"], [1, 2, "\"The Parachute of Healing\"", "Peter Templeman", "Rebel Wilson", "13October2008"], [1, 3, "\"The Maths Olympiad\"", "Peter Templeman", "Rebel Wilson", "20October2008"], [1, 4, "\"The Roller Skank Rink\"", "Peter Templeman", "Rebel Wilson", "27October2008"], [1, 5, "\"The Need for Mongs\"", "Peter Templeman", "Rebel Wilson", "3November2008"]], "types": ["real", "real", "text", "text", "text", "text"]} | SELECT MAX([Season #]) FROM data_table | wiki-sql | 1 | What was the highest season number? | ||
script | {"header": ["Player", "Position", "School", "Hometown", "College"], "rows": [["Mario Edwards, Jr.", "Defensive line", "Ryan High School", "Denton, Texas", "Florida State"], ["Ellis McCarthy", "Defensive line", "Monrovia High School", "Monrovia, California", "UCLA"], ["Noah Spence", "Defensive line", "Bishop McDevitt High School", "Harrisburg, Pennsylvania", "Ohio State"], ["Tommy Schutt", "Defensive line", "Glenbard West High School", "Glen Ellyn, Illinois", "Ohio State"], ["Darius Hamilton", "Defensive line", "Don Bosco Preparatory High School", "Ramsey, New Jersey", "Rutgers"], ["Vince Biegel", "Linebacker", "Lincoln High School", "Wisconsin Rapids, Wisconsin", "Wisconsin"], ["Scott Starr", "Linebacker", "Norco High School", "Norco, California", "Southern California"], ["Noor Davis", "Linebacker", "Lessburg High School", "Leesburg, Florida", "Stanford"], ["Shaq Thompson", "Defensive back", "Grant Union High School", "Sacramento, California", "Washington"], ["Landon Collins", "Defensive back", "Dutchtown High School", "Geismar, Louisiana", "Alabama"], ["Leon McQuay III ", "Defensive back", "Armwood High School", "Seffner, Florida", "Southern California"], ["Tracy Howard", "Defensive back", "Miramar High School", "Miramar, Florida", "Miami (FL)"]], "types": ["text", "text", "text", "text", "text"], "caption": "2011 team"} | SELECT ([Hometown]) FROM data_table WHERE LOWER([College]) = LOWER('wisconsin') | wiki-sql | Wisconsin Rapids, Wisconsin | What is the hometown for a college in Wisconsin? | ||
script | {"header": ["Club", "Played", "Won", "Drawn", "Lost", "Points for", "Points against", "Tries for", "Points"], "rows": [["Club", "Played", "Won", "Drawn", "Lost", "Points for", "Points against", "Tries for", "Points"], ["Beddau RFC", "22", "19", "0", "3", "654", "321", "85", "57"], ["Bargoed RFC", "22", "17", "0", "5", "665", "436", "89", "51"], ["Newbridge RFC", "22", "17", "0", "5", "516", "281", "63", "51"], ["Pontypool RFC", "22", "15", "0", "7", "515", "370", "59", "45"], ["Fleur De Lys RFC", "22", "10", "0", "12", "422", "523", "49", "30"], ["UWIC RFC", "22", "9", "1", "12", "625", "604", "74", "28"], ["Newport Saracens RFC", "22", "9", "1", "12", "368", "457", "46", "28"], ["Llanharan RFC", "22", "9", "0", "13", "546", "565", "66", "27"], ["Caerphilly RFC", "22", "9", "0", "14", "402", "572", "47", "24"], ["Blackwood RFC", "22", "6", "1", "15", "433", "511", "51", "19"], ["Abercynon RFC", "22", "5", "2", "15", "365", "718", "45", "17"], ["Ystrad Rhondda RFC", "22", "5", "1", "16", "417", "570", "47", "16"]], "types": ["text", "text", "text", "text", "text", "text", "text", "text", "text"], "caption": "WRU Division One East"} | SELECT COUNT([Club]) FROM data_table WHERE LOWER([Lost]) = LOWER('16') | wiki-sql | 1 | Name the total number of club for lost being 16 | ||
script | {"header": ["#", "Date", "at/vs.", "Opponent", "Score", "Attendance", "Record"], "rows": [["1", "January 12, 1996", "at", "Buffalo Bandits", "12 - 15", 13024, "Loss"], ["2", "January 13, 1996", "at", "Baltimore Thunder", "17 - 12", 5989, "Win"], ["3", "January 27, 1996", "vs.", "New York Saints", "23 - 8", 14122, "Win"], ["4", "February 2, 1996", "vs.", "Rochester Knighthawks", "17 - 14", 13014, "Win"], ["5", "February 3, 1996", "at", "New York Saints", "15 - 6", 9381, "Win"], ["6", "February 17, 1996", "at", "Rochester Knighthawks", "15 - 18", 7394, "Loss"], ["7", "February 24, 1996", "vs.", "Boston Blazers", "12 - 10", 16818, "Win"], ["8", "March 2, 1996", "at", "Charlotte Cobras", "14 - 8", 2813, "Win"], ["9", "March 9, 1996", "vs.", "Charlotte Cobras", "26 - 11", 16244, "Win"], ["10", "March 23, 1996", "vs.", "Buffalo Bandits", "14 - 12", 15242, "Win"], ["11 (p)", "April 6, 1996", "vs.", "Boston Blazers", "10 - 8", 12092, "Win"]], "types": ["text", "text", "text", "text", "text", "real", "text"], "caption": "Game log"} | SELECT ([at/vs.]) FROM data_table WHERE LOWER([#]) = LOWER('7') | wiki-sql | vs. | What was the game #7, at or versus (home or at)? | ||
script | {"header": ["Date", "Tournament", "Winning score", "Margin of victory", "Runner-up"], "rows": [["21 May 1989", "Lancia Italian Open", "15 (71-69-68-65=273)", "1 stroke", "Sam Torrance"], ["6 Aug 1989", "Scandinavian Enterprise Open", "20 (70-69-64-65=268)", "2 strokes", "Michael Allen"], ["29 Oct 1989", "Volvo Masters", "6 (72-69-70-71=282)", "1 stroke", "Nick Faldo"], ["5 Aug 1990", "PLM Open", "18 (64-67-70-69=270)", "4 strokes", "Vijay Singh"], ["2 Sep 1990", "Ebel European Masters Swiss Open", "21 (70-65-66-66=267)", "2 strokes", "John Bland"], ["22 Mar 1992", "Portuguese Open", "15 (67-71-67-68=273)", "1 stroke", "Anders Forsbrand"], ["15 Aug 1993", "Hohe Brucke Austrian Open", "14 (65-69-72-68=274)", "Playoff", "Anders Srensen"]], "types": ["text", "text", "text", "text", "text"], "caption": "European Tour wins (7)"} | SELECT ([Tournament]) FROM data_table WHERE LOWER([Runner-up]) = LOWER('vijay singh') | wiki-sql | PLM Open | In which tournament was vijay singh a runner-up? | ||
script | {"header": ["Region", "Date", "Label", "Format", "Catalog"], "rows": [["World", "July 8, 2008", "DGC", "Digital download", ""], ["Argentina", "July 8, 2008", "DGC", "CD", "1775441"], ["Australia", "July 8, 2008", "DGC", "CD", "1775441"], ["Canada", "July 8, 2008", "DGC", "CD", "B001150702"], ["United States", "July 8, 2008", "DGC", "CD", "B0011507-02"], ["United States", "July 8, 2008", "DGC", "LP", "B0011630-01"], ["United Kingdom", "July 8, 2008", "DGC", "CD", "B001150702"], ["United Kingdom", "July 8, 2008", "XL", "CD", "XLCD369"], ["United Kingdom", "July 8, 2008", "XL", "LP", "XLLP 369"], ["Europe", "July 8, 2008", "XL", "LP", "XLLP 369"], ["Europe", "July 8, 2008", "XL", "CD", "XLCD369"]], "types": ["text", "text", "text", "text", "text"], "caption": "Release history"} | SELECT ([Date]) FROM data_table WHERE LOWER([Region]) = LOWER('united states') | wiki-sql | July 8, 2008 | What date was the United States the region? | ||
script | {"header": ["Year", "Entrant", "Chassis", "Engine", "Points"], "rows": [["1969", "Roy Winkelmann Racing Ltd", "Lotus 59B F2", "Ford Straight-4", "0"], ["1970", "Auto Motor Und Sport", "Brabham BT33", "Cosworth V8", "10"], ["1971", "Auto Motor Und Sport-Eifelland Team Surtees", "Surtees TS7", "Cosworth V8", "3"], ["1971", "Auto Motor Und Sport-Eifelland Team Surtees", "Surtees TS9", "Cosworth V8", "3"], ["1972", "Team Eifelland Caravans", "Eifelland Type 21", "Cosworth V8", "0"], ["1973", "Ceramica Pagnossin Team MRD", "Brabham BT42", "Cosworth V8", "0"], ["1974", "Embassy Racing", "Lola T370", "Cosworth V8", "0"], ["1975", "Embassy Racing", "Lola T370", "Cosworth V8", "0"], ["1975", "Embassy Racing", "Lola T371", "Cosworth V8", "0"], ["1975", "Embassy Racing", "Hill GH1", "Cosworth V8", "0"], ["1976", "Martini Racing", "Brabham BT45", "Alfa Romeo Flat-12", "1"], ["1976", "Hesketh Racing", "Hesketh 308D", "Cosworth V8", "1"], ["1978", "Arrows Racing Team", "Arrows FA1", "Cosworth V8", "0"], ["1978", "Arrows Racing Team", "Arrows A1", "Cosworth V8", "0"]], "types": ["real", "text", "text", "text", "real"], "caption": "Complete Formula One World Championship results"} | SELECT SUM([Points]) FROM data_table WHERE [Year] = 1978 AND LOWER([Chassis]) = LOWER('arrows fa1') | wiki-sql | 0.0 | What was the total amount of points in 1978 with a Chassis of arrows fa1? | ||
script | {"header": ["Initial-syllable open/semi-open unstressed vowels", "17th c.", "American", "British", "Australian", "Examples"], "rows": [["a //", "", "", "", "", "papyrus, placebo, saliva, basilica"], ["e //", "e", ", ", ", ", ", ", "December, thesaurus"], [" //", "e", ", ", ", ", ", ", "Mcenas, pninsula, phnomenon"], ["i /a, /", "i, ", "ai, , ", "a, , ", "e, , ", "criteria, tribunal, minuti, cicada"], ["y /a, /", "i, ", "ai, , ", "a, , ", "e, , ", "lyceum, psychosis, synopsis, chrysanthemum"], ["o //", "o", "u, , ", ", ", ", ", "November, rotunda, colossus, proscenium"]], "types": ["text", "text", "text", "text", "text", "text"], "caption": "Initial unstressed syllables"} | SELECT ([American]) FROM data_table WHERE LOWER([Initial-syllable open/semi-open unstressed vowels]) = LOWER('y /a, /') | wiki-sql | ai, , | What is American, when Initial-Syllable Open/Semi-Open Unstressed Vowels is "y /a, /"? | ||
script | {"header": ["Series #", "Title", "Directed by", "Written by", "Original air date", "U.S. viewers (in millions)"], "rows": [[1, "\"Pilot\"", "Steve Miner", "Holly Sorensen", "June22,2009", "2.50"], [2, "\"Where's Marty?\"", "Steve Miner", "Holly Sorensen", "June29,2009", "N/A"], [3, "\"Blowing Off Steam\"", "Steve Miner", "Michael Gans & Richard Register", "July6,2009", "N/A"], [4, "\"Sunday, Bloody Sasha, Sunday\"", "Norman Buckley", "Joanna Johnson", "July13,2009", "N/A"], [5, "\"Like Mother, Like Daughter, Like Supermodel\"", "David Paymer", "Amy Turner", "July20,2009", "N/A"], [6, "\"Between a Rock and a Hard Place\"", "Michael W. Watkins", "Doug Stockstill", "July27,2009", "1.88"], [7, "\"Run, Emily, Run\"", "Fred Gerber", "Kerry Lenhart & John J. Sakmar", "August3,2009", "2.10"], [8, "\"All's Fair in Love, War and Gymnastics\"", "Chris Grismer", "Michael Gans & Richard Register", "August10,2009", "1.91"], [9, "\"Where's Kaylie?\"", "Ron Underwood", "Joanna Johnson", "August17,2009", "2.31"], [10, "\"All That Glitters\"", "Patrick Norris", "Holly Sorensen", "August24,2009", "2.40"], [11, "\"The Eleventh Hour\"", "Norman Buckley", "Kerry Lenhart & John J. Sakmar", "January4,2010", "2.70"], [12, "\"Follow the Leader\"", "Chris Grismer", "Joanna Johnson", "January11,2010", "2.08"], [14, "\"Are We Having Fun Yet?\"", "Michael Robison", "Amy Turner", "January25,2010", "2.30"], [15, "\"Loves Me, Loves Me Not\"", "Fred Gerber", "Michael Gans & Richard Register", "February1,2010", "2.16"], [16, "\"Save the Last Dance\"", "Helen Shaver", "Kerry Lenhart & John J. Sakmar", "February8,2010", "2.29"], [17, "\"Hope and Faith\"", "Chris Grismer", "Doug Stockstill", "February15,2010", "2.22"], [18, "\"The Great Wall\"", "Guy Bee", "Joanna Johnson", "February22,2010", "2.05"], [19, "\"The Only Thing We Have to Fear...\"", "Norman Buckley", "Michael Gans & Richard Register", "March1,2010", "2.14"]], "types": ["real", "text", "text", "text", "text", "text"]} | SELECT ([Original air date]) FROM data_table WHERE LOWER([Directed by]) = LOWER('David Paymer') | wiki-sql | July20,2009 | What is the original air date of the episode that was directed by David Paymer? | ||
script | {"header": ["Rank", "Location", "2008", "2009", "2010", "2011", "2012"], "rows": [["1", "Lake Buena Vista, Florida , USA", "17,063,000", "17,233,000", "16,972,000", "17,142,000", "17,536,000"], ["2", "Anaheim, California , USA", "14,721,000", "15,900,000", "15,980,000", "16,140,000", "15,963,000"], ["3", "Lake Buena Vista, Florida , USA", "10,935,000", "10,990,000", "10,825,000", "10,825,000", "11,063,000"], ["4", "Lake Buena Vista, Florida , USA", "9,540,000", "9,590,000", "9,686,000", "9,783,000", "9,998,000"], ["5", "Lake Buena Vista, Florida , USA", "9,608,000", "9,700,000", "9,603,000", "9,699,000", "9,912,000"], ["6", "Orlando, Florida , USA", "5,297,000", "4,627,000", "5,949,000", "7,674,000", "7,981,000"], ["7", "Anaheim, California , USA", "5,566,000", "6,095,000", "6,278,000", "6,341,000", "7,775,000"], ["8", "Orlando, Florida , USA", "6,231,000", "5,530,000", "5,925,000", "6,044,000", "6,195,000"], ["9", "Universal City, California , USA", "4,583,000", "4,308,000", "5,040,000", "5,141,000", "5,912,000"], ["10", "Orlando, Florida , USA", "5,926,000", "5,800,000", "5,100,000", "5,202,000", "5,358,000"]], "types": ["real", "text", "real", "real", "real", "real", "real"], "caption": "North America"} | SELECT MAX([2011_]) FROM data_table WHERE [2012_] > 9998000 | wiki-sql | 17142000.0 | Which 2011 has a 2012 larger than 9,998,000? | ||
script | {"header": ["Shirt No", "Nationality", "Player", "Birth Date", "Height", "Position"], "rows": [["1", "Turkey", "Ergl Avc", "June 24, 1987 (age26)", "190", "Middle Blocker"], ["2", "Turkey", "Sinem Barut", "April 12, 1986 (age27)", "186", "Middle Blocker"], ["5", "Bulgaria", "Dobriana Rabadzhieva", "June 14, 1991 (age22)", "190", "Outside Hitter"], ["7", "Colombia", "Madelaynne Montao", "January 6, 1983 (age31)", "185", "Opposite Hitter"], ["8", "Turkey", "Asl Kala", "December 13, 1995 (age18)", "183", "Middle Blocker"], ["9", "Serbia", "Stefana Veljkovi", "January 9, 1990 (age24)", "190", "Middle Blocker"], ["10", "Japan", "Saori Kimura", "August 19, 1986 (age27)", "185", "Wing-Spiker"], ["11", "Turkey", "Gamze Alikaya", "June 27, 1993 (age20)", "179", "Setter"], ["12", "Turkey", "Bihter Dumanolu", "December 13, 1995 (age18)", "175", "Libero"], ["13", "Turkey", "Neriman zsoy", "July 7, 1988 (age25)", "188", "Outside Hitter"], ["14", "Italy", "Eleonora Lo Bianco", "December 22, 1979 (age34)", "172", "Setter"], ["17", "Turkey", "Nursevil Aydnlar", "December 13, 1995 (age18)", "190", "Setter"], ["18", "Turkey", "Ezgi Arslan", "March 23, 1992 (age21)", "186", "Outside Hitter"], ["19", "Turkey", "Nihan Yeldan", "February 7, 1982 (age31)", "172", "Libero"]], "types": ["real", "text", "text", "text", "real", "text"], "caption": "Team Roster Season 2013-2014"} | SELECT ([Player]) FROM data_table WHERE LOWER([Position]) = LOWER('middle blocker') AND LOWER([Nationality]) = LOWER('turkey') AND [Shirt No] = 8 | wiki-sql | Asl Kala | What player that has a position of middle blocker, a Nationality of Turkey, and shirt no is 8? | ||
script | {"header": ["Tournament", "Winner", "Runner-up", "Score", "Third Place"], "rows": [["Dublin", "John McEnroe", "Henri Leconte", "64, 63", "Pat Cash"], ["Naples, Florida", "John McEnroe", "Henri Leconte", "60, 01 retired", "None"], ["Doha", "Bjrn Borg", "Mats Wilander", "36, 63, [108]", "John McEnroe"], ["Majorca", "Anders Jrryd", "Mats Wilander", "61, 61", "Pat Cash"], ["Richmond, Virginia", "John McEnroe", "Andrs Gmez", "61, 62", "None"], ["Raleigh, North Carolina", "John McEnroe", "Mats Wilander", "61, 64", "None"], ["New York", "Mikael Pernfors", "Henri Leconte", "62, 62", "None"], ["San Diego, California", "Pat Cash", "John McEnroe", "63, 75", "Andrs Gmez"], ["Aland", "Bjrn Borg", "Anders Jrryd", "63, 57, [119]", "Veli Paloheimo"], ["Chicago,IL", "John McEnroe", "Mats Wilander", "62, 64", "None"], ["Paris", "Guy Forget", "Pat Cash", "76,62", "John McEnroe"], ["Palo Alto, California", "John McEnroe", "Jos Luis Clerc", "62, 63", "None"], ["Geneva", "John McEnroe", "Guy Forget", "76, 62", "Yannick Noah"], ["Singapore", "John McEnroe", "Mansour Bahrami", "62, 62", "None"], ["Hong Kong", "John McEnroe", "Mats Wilander", "61, 63", "Mikael Pernfors"], ["Frankfurt", "John McEnroe", "Henri Leconte", "61, 63", "Mikael Pernfors"], ["London", "Pat Cash", "John McEnroe", "67, 75, [1412]", "None"]], "types": ["text", "text", "text", "text", "text"], "caption": "2000"} | SELECT ([Winner]) FROM data_table WHERE LOWER([Third Place]) = LOWER('mikael pernfors') AND LOWER([Tournament]) = LOWER('hong kong') | wiki-sql | John McEnroe | Who is the winner for the Tournament in Hong Kong with a third place winner named Mikael Pernfors? | ||
script | {"header": ["Season", "Series", "Team", "Races", "Wins", "Poles", "F/Laps", "Podiums", "Points", "Position"], "rows": [["2003", "Formula Renault UK", "Eurotek Motorsport", "17", "1", "2", "1", "2", "233", "7th"], ["2003", "Formula Renault UK", "Team JVA", "17", "1", "2", "1", "2", "233", "7th"], ["2004", "Formula Renault UK", "Manor Motorsport", "20", "4", "4", "2", "9", "415", "3rd"], ["2004", "Formula Renault 2000 Eurocup", "Manor Motorsport", "3", "0", "0", "0", "1", "0", "NC"], ["2004", "Bahrain Superprix", "Manor Motorsport", "1", "0", "0", "0", "0", "N/A", "NC"], ["2005", "Formula 3 Euro Series", "Manor Motorsport", "19", "0", "3", "2", "1", "32", "10th"], ["2005", "Masters of Formula 3", "Manor Motorsport", "1", "0", "0", "0", "0", "N/A", "4th"], ["2006", "Formula 3 Euro Series", "ASM Formule 3", "20", "5", "5", "1", "9", "86", "1st"], ["2006", "Masters of Formula 3", "ASM Formule 3", "1", "1", "0", "0", "0", "N/A", "1st"], ["2006", "Macau Grand Prix", "ASM Formule 3", "1", "0", "0", "0", "0", "N/A", "NC"], ["2007", "Deutsche Tourenwagen Masters", "Persson Motorsport", "10", "0", "0", "0", "4", "32", "5th"], ["2008", "Deutsche Tourenwagen Masters", "HWA Team", "11", "2", "1", "4", "7", "71", "2nd"], ["2009", "Deutsche Tourenwagen Masters", "HWA Team", "10", "1", "1", "2", "3", "45", "3rd"], ["2010", "Deutsche Tourenwagen Masters", "HWA Team", "11", "3", "3", "1", "7", "71", "1st"], ["2010", "Formula One", "Force India F1 Team", "Test driver", "Test driver", "Test driver", "Test driver", "Test driver", "Test driver", "Test driver"], ["2011", "Formula One", "Force India F1 Team", "19", "0", "0", "0", "0", "27", "13th"], ["2012", "Formula One", "Sahara Force India F1 Team", "20", "0", "0", "0", "0", "46", "14th"], ["2013", "Formula One", "Sahara Force India F1 Team", "17", "0", "0", "0", "0", "48*", "10th*"]], "types": ["real", "text", "text", "text", "text", "text", "text", "text", "text", "text"], "caption": "Career summary"} | SELECT ([Poles]) FROM data_table WHERE LOWER([Position]) = LOWER('4th') | wiki-sql | 0 | Which Poles have a position of 4th? | ||
script | {"header": ["Date", "Opponent", "Score", "Result", "Record"], "rows": [["Oct 31", "Minneapolis Lakers", "94-97", "Loss", "0-1"], ["Nov 6", "@ Boston Celtics", "84-107", "Loss", "0-2"], ["Nov 7", "Milwaukee Hawks", "97-80", "Win", "1-2"], ["Nov 11", "@ Fort Wayne Pistons", "88-86", "Win", "2-2"], ["Nov 13", "@ Milwaukee Hawks", "72-85", "Loss", "2-3"], ["Nov 14", "@ Minneapolis Lakers", "92-99", "Loss", "2-4"], ["Nov 16", "Philadelphia Warriors (at New York, NY)", "86-85", "Win", "3-4"], ["Nov 18", "Fort Wayne PIstons", "91-82", "Win", "4-4"], ["Nov 20", "@ Rochester Royals", "80-79", "Win", "5-4"], ["Nov 21", "Boston Celtics", "110-104", "Win", "6-4"], ["Nov 25", "Milwaukee Hawks", "91-85", "Win", "7-4"], ["Nov 27", "@ New York Knicks", "80-74", "Win", "8-4"], ["Nov 28", "New York Knicks", "79-77", "Win", "9-4"], ["Dec 1", "New York Knicks (at Philadelphia)", "86-88", "Loss", "9-5"], ["Dec 2", "Rochester Royals", "82-78", "Win", "10-5"], ["Dec 4", "@ Philadelphia Warriors", "73-79", "Loss", "10-6"], ["Dec 5", "Philadelphia Warriors", "89-72", "Win", "11-6"], ["Dec 7", "Philadelphia Warriors (at New Haven, CT)", "88-81", "Win", "12-6"], ["Dec 8", "@ Rochester Royals", "78-105", "Loss", "12-7"], ["Dec 9", "Boston Celtics", "120-107", "Win", "13-7"]], "types": ["text", "text", "text", "text", "text"], "caption": "Season schedule"} | SELECT ([Result]) FROM data_table WHERE LOWER([Opponent]) = LOWER('rochester royals') | wiki-sql | Win | What is Result, when Opponent is "Rochester Royals"? | ||
script | {"header": ["Round", "Pick", "Player", "Position", "College"], "rows": [["1", "5", "Elroy \"Crazylegs\" Hirsch", "End", "Michigan"], ["2", "16", "Milan Lazetich", "Tackle", "Michigan"], ["3", "21", "W.G. (Dub) Wooten", "End", "Oklahoma"], ["4", "32", "Jack Zilly", "End", "Notre Dame"], ["5", "37", "Roger Harding", "Center", "California"], ["6", "48", "Jerry Cowhig", "Back", "Notre Dame"], ["7", "59", "Fred Negus", "Center", "Wisconsin"], ["8", "70", "Johnny August", "Back", "Alabama"], ["9", "81", "Dick Huffman", "Tackle", "Tennessee"], ["10", "92", "Vern Walters", "Back", "Alma"], ["11", "103", "Tom Fears", "End", "UCLA"], ["12", "114", "Joe Winkler", "Center", "Purdue"], ["13", "125", "Jack Aland", "Tackle", "Alabama"], ["14", "136", "Chuck Uknes", "Back", "Iowa"], ["15", "147", "Bill Lund", "Back", "Case Western Reserve"], ["16", "158", "Bob Barton", "End", "Holy Cross"], ["17", "169", "Dick Hoerner", "Back", "Iowa"], ["18", "180", "Lee Kennon", "Tackle", "Oklahoma"], ["19", "191", "Eagle Matulich", "Back", "Mississippi State"], ["20", "202", "Bill Griffin", "Tackle", "Kentucky"], ["21", "213", "Leroy Erickson", "Back", "Oregon"], ["22", "224", "Ray Evans", "Tackle", "Texas-El Paso"], ["23", "235", "Luke Higgins", "Tackle", "Notre Dame"], ["24", "246", "Stan Nowak", "End", "South Carolina"], ["25", "257", "Gene Konopka", "Guard", "Villanova"], ["26", "268", "Ray Florek", "Back", "Illinois"], ["27", "279", "Russ Perry", "Back", "Wake Forest"], ["28", "290", "Pat West", "Back", "USC"], ["29", "301", "Bill Davis", "Back", "Oregon"], ["30", "312", "Charley Compton", "Tackle", "Alabama"]], "types": ["real", "real", "text", "text", "text"], "caption": "NFL Draft"} | SELECT AVG([Round]) FROM data_table WHERE LOWER([College]) = LOWER('california') | wiki-sql | 5.0 | What is the average round for players from california? | ||
script | {"header": ["Singular abbreviation", "Singular Word", "Plural abbreviation", "Plural Word", "Discipline"], "rows": [["d.", "didot", "dd.", "didots", "typography"], ["f.", "following line or page", "ff.", "following lines or pages", "notes"], ["F.", "folio", "Ff.", "folios", "literature"], ["h.", "hand", "hh.", "hands", "horse height"], ["l.", "line", "ll.", "lines", "notes"], ["MS", "manuscript", "MSS", "manuscripts", "notes"], ["op.", "opus", "opp.", "opera", "notes"], ["p.", "page", "pp.", "pages", "notes"], ["Q.", "quarto", "Qq.", "quartos", "literature"], ["s. (or )", "section", "ss. (or )", "sections", "notes"], ["v.", "volume", "vv.", "volumes", "notes"]], "types": ["text", "text", "text", "text", "text"], "caption": "Plural forms"} | SELECT ([Singular Word]) FROM data_table WHERE LOWER([Plural Word]) = LOWER('hands') | wiki-sql | hand | The plural word of hands uses what singular word? | ||
script | {"header": ["Driver", "Navigator", "Vehicle", "Class", "Capacity", "Total Time", "Margin"], "rows": [["Glenney", "Webb", "2003 Mitsubishi Lancer Evo 9", "CM22", "3396", "07:35", "00:00"], ["Richards", "Oliver", "2008 Porsche 911 GT2", "CM14", "6120", "09:06", "01:31"], ["Herridge", "Macneall", "2007 Subaru Impreza WRX STi", "CM22", "3396", "09:53", "02:18"], ["Vandersee", "Kelley", "2007 Skelta G-Force", "CM11", "1997", "09:57", "02:22"], ["Vandenberg", "Vandenberg", "2006 Mitsubishi Lancer Evo 9", "CM22", "3397", "10:20", "02:45"]], "types": ["text", "text", "text", "text", "real", "text", "text"], "caption": "Modern Competition"} | SELECT ([Vehicle]) FROM data_table WHERE LOWER([Class]) = LOWER('cm14') | wiki-sql | 2008 Porsche 911 GT2 | Which vehicle had a class of CM14? | ||
script | {"header": ["Represents", "Contestant", "Age", "Height (cm)", "Height (ft)", "Hometown"], "rows": [["Azua", "Aneliz Henrquez Soto", 24, "1.71", "5'7\"", "Santo Domingo"], ["Bonao", "Lorraine Sarez Carmona", 21, "1.75", "5'9\"", "Bonao"], ["Comunidad Dominicana En EEUU", "Ashley Prez Cabrera", 19, "1.70", "5'6\"", "Miami"], ["Distrito Nacional", "Elizabeth Quinez Aroyo", 20, "1.71", "5'7\"", "Santo Domingo"], ["Haina", "Eve Tatiana Cruz Oviedo", 19, "1.72", "5'7\"", "Santo Domingo"], ["Imbert", "Nadia Caba Rodrguez", 22, "1.79", "5'10\"", "Santo Domingo"], ["Jarabacoa", "Clary Sermina Delgado Cid", 21, "1.75", "5'9\"", "Santiago de los Caballeros"], ["La Altagracia", "Marina Castro Medina", 20, "1.76", "5'9\"", "Santo Domingo"], ["La Romana", "Rosa Clarissa Ortz Melo", 23, "1.81", "5'11\"", "La Romana"], ["La Vega", "Endis de los Santos lvarez", 24, "1.72", "5'7\"", "Los Alcarrizos"], ["Monte Plata", "Emeniris Tats Guerra", 25, "1.72", "5'7\"", "Santo Domingo"], ["Neiba", "Walesca Torres Xavier", 21, "1.73", "5'8\"", "Santo Domingo"], ["Puerto Plata", "Joneydis Pea Vargas", 22, "1.83", "6'0\"", "Puerto Plata"], ["Salcedo", "Amanda Urea Zaragoza", 26, "1.70", "5'6\"", "Salcedo"], ["San Cristbal", "Carmen Rosa Torres Lebrn", 18, "1.72", "5'7\"", "San Cristbal"], ["San Francisco de Macors", "Mariel Garca Estevez", 20, "1.78", "5'10\"", "Santo Domingo"], ["San Juan de la Maguana", "Carolina Polanco Ojeda", 24, "1.75", "5'9\"", "Santo Domingo"], ["Santiago", "Anna Hernndez Taveras", 18, "1.73", "5'8\"", "Santiago de los Caballeros"], ["Santo Domingo Norte", "Edilia Veras Inoa", 19, "1.69", "5'6\"", "Santiago de los Caballeros"]], "types": ["text", "text", "real", "text", "text", "text"], "caption": "Delegates"} | SELECT MIN([Age]) FROM data_table WHERE LOWER([Represents]) = LOWER('Distrito Nacional') | wiki-sql | 20 | Name the least age for distrito nacional | ||
script | {"header": ["Episode No.", "Title", "Directed by", "Written by", "Viewers (millions)", "Original airdate"], "rows": [[1, "\"Going Bodmin\"", "Ben Bolt", "Dominic Minghella", "9.93", "2September2004"], [2, "\"Gentlemen Prefer\"", "Ben Bolt", "Dominic Minghella", "8.98", "9September2004"], [3, "\"Sh*t Happens\"", "Ben Bolt", "Dominic Minghella", "8.91", "16September2004"], [4, "\"The Portwenn Effect\"", "Ben Bolt", "Dominic Minghella", "9.31", "23September2004"], [5, "\"Of All the Harbours in All the Towns\"", "Ben Bolt", "Kirstie Falkous & John Regier", "9.45", "30September2004"]], "types": ["real", "text", "text", "text", "text", "text"]} | SELECT COUNT([Episode No.]) FROM data_table WHERE LOWER([Written by]) = LOWER('Kirstie Falkous & John Regier') | wiki-sql | 1 | How many episodes were written by Kirstie Falkous & John Regier? | ||
script | {"header": ["Place", "Player", "Country", "Score", "To par", "Money ( $ )"], "rows": [["1", "Shaun Micheel", "United States", "69-68-69-70=276", "4", "1,080,000"], ["2", "Chad Campbell", "United States", "69-72-65-72=278", "2", "648,000"], ["3", "Tim Clark", "South Africa", "72-70-68-69=279", "1", "408,000"], ["4", "Alex ejka", "Germany", "74-69-68-69=280", "E", "288,000"], ["T5", "Ernie Els", "South Africa", "71-70-70-71=282", "+2", "214,000"], ["T5", "Jay Haas", "United States", "70-74-69-69=282", "+2", "214,000"], ["T7", "Fred Funk", "United States", "69-73-70-72=284", "+4", "175,667"], ["T7", "Loren Roberts", "United States", "70-73-70-71=284", "+4", "175,667"], ["T7", "Mike Weir", "Canada", "68-71-70-75=284", "+4", "175,667"], ["T10", "Billy Andrade", "United States", "67-72-72-74=285", "+5", "135,500"], ["T10", "Niclas Fasth", "Sweden", "76-70-71-68=285", "+5", "135,500"], ["T10", "Charles Howell III", "United States", "70-72-70-73=285", "+5", "135,500"], ["T10", "Kenny Perry", "United States", "75-72-70-68=285", "+5", "135,500"]], "types": ["text", "text", "text", "text", "text", "real"], "caption": "Final round"} | SELECT ([Country]) FROM data_table WHERE LOWER([Player]) = LOWER('jay haas') | wiki-sql | United States | What country was Jay Haas representing? | ||
script | {"header": ["Player", "Tries", "Conv", "Pens", "Drop", "Venue", "Date"], "rows": [["Pierre Hola", "2", "17", "0", "0", "Nuku'alofa", "22/03/2003"], ["Fangatapu Apikotoa", "2", "10", "0", "0", "Henderson", "10/02/2007"], ["Sateki Tu'ipulotu", "1", "8", "2", "0", "Seoul", "04/05/1999"], ["Pierre Hola", "0", "9", "1", "1", "Nuku'alofa", "07/12/2002"], ["Gustavo Tonga", "1", "9", "0", "0", "Nuku'alofa", "05/07/1997"], ["Benhur Kivalu", "4", "0", "0", "0", "Nuku'alofa", "22/03/2003"], ["Viliame Iongi", "4", "0", "0", "0", "Esher", "08/06/2011"], ["Kurt Morath", "0", "4", "4", "0", "Lautoka", "02/07/2011"], ["3 players on 19 points", "3 players on 19 points", "3 players on 19 points", "3 players on 19 points", "3 players on 19 points", "3 players on 19 points", "3 players on 19 points"]], "types": ["text", "text", "text", "text", "text", "text", "text"], "caption": "Most points in a match"} | SELECT ([Player]) FROM data_table WHERE LOWER([Venue]) = LOWER('esher') | wiki-sql | Viliame Iongi | Who is the player associated with the Esher venue? | ||
script | {"header": ["Home team", "Home team score", "Away team", "Away team score", "Venue", "Crowd", "Date"], "rows": [["Geelong", "11.17 (83)", "North Melbourne", "9.10 (64)", "Kardinia Park", "19,133", "15 June 1970"], ["Carlton", "22.15 (147)", "Melbourne", "9.8 (62)", "Princes Park", "18,760", "15 June 1970"], ["Richmond", "22.15 (147)", "Footscray", "13.12 (90)", "MCG", "41,866", "15 June 1970"], ["Hawthorn", "18.12 (120)", "Fitzroy", "12.8 (80)", "Glenferrie Oval", "14,489", "15 June 1970"], ["South Melbourne", "16.15 (111)", "Collingwood", "16.14 (110)", "Lake Oval", "35,567", "15 June 1970"], ["St Kilda", "8.21 (69)", "Essendon", "8.9 (57)", "VFL Park", "21,105", "15 June 1970"]], "types": ["text", "text", "text", "text", "text", "real", "text"], "caption": "Round 11"} | SELECT ([Date]) FROM data_table WHERE LOWER([Home team score]) = LOWER('16.15 (111)') | wiki-sql | 15 June 1970 | What date did a home team score 16.15 (111) | ||
script | {"header": ["Position", "Gymnast", "A Score", "B Score", "Total"], "rows": [["1", "Chen Yibing ( CHN )", "7.300", "9.225", "16.525"], ["2", "Yordan Yovchev ( BUL )", "7.300", "8.975", "16.275"], ["3", "Oleksandr Vorobiov ( UKR )", "7.200", "9.050", "16.250"], ["4", "Yang Wei ( CHN )", "7.300", "8.925", "16.225"], ["5", "Matteo Morandi ( ITA )", "7.100", "8.925", "16.025"], ["6", "Andrea Coppolino ( ITA )", "6.800", "9.175", "15.975"], ["7", "Danny Pinheiro Rodrigues ( FRA )", "7.200", "8.600", "15.800"], ["8", "Robert Stanescu ( ROU )", "7.000", "8.750", "15.750"]], "types": ["real", "text", "real", "real", "real"], "caption": "Qualified competitors"} | SELECT COUNT([Total]) FROM data_table WHERE LOWER([Gymnast]) = LOWER('chen yibing ( chn )') AND [B Score] < 9.225 | wiki-sql | 0 | What is the total for Chen Yibing ( chn ), when his B Score was smaller than 9.225? | ||
script | {"header": ["!Aces", "Player", "Opponent", "Round", "Year", "Event", "Surface", "Sets"], "rows": [["1.", "113", "W", "Nicolas Mahut", "1R", "2010", "Wimbledon", "Grass"], ["2.", "103", "L", "John Isner", "1R", "2010", "Wimbledon", "Grass"], ["3.", "78", "L", "Radek tpnek", "SF", "2009", "Davis Cup", "Clay"], ["4.", "55", "L", "Lleyton Hewitt", "1R", "2009", "Roland Garros", "Clay"], ["5.", "51", "L", "Andre Agassi", "4R", "2005", "Australian Open", "Hard"], ["5.", "51", "L", "Daniele Bracciali", "1R", "2005", "Wimbledon", "Grass"], ["7.", "50", "W", "Andy Roddick", "F", "2009", "Wimbledon", "Grass"], ["8.", "49", "L", "Yevgeny Kafelnikov", "QF", "1999", "US Open", "Hard"], ["9.", "48", "L", "Arnaud Clment", "QF", "2001", "Davis Cup", "Carpet"], ["9.", "48", "L", "Ivan Dodig", "1R", "2011", "Australian Open", "Hard"], ["9.", "48", "W", "Olivier Rochus", "1R", "2012", "Wimbledon", "Grass"]], "types": ["real", "real", "text", "text", "text", "real", "text", "text"], "caption": "Miscellaneous"} | SELECT COUNT([Event]) FROM data_table WHERE LOWER([Round]) = LOWER('radek tpnek') AND [!Aces] < 3 | wiki-sql | 0 | What is the event year radek tpnek was the round and there were less than 3 aces? | ||
script | {"header": ["Date", "Venue", "Score", "Result", "Competition"], "rows": [["08 Oct 2004", "Doha , Qatar", "10", "21", "International Friendly"], ["26 Jan 2005", "Kuwait City , Kuwait", "11", "23", "International Friendly"], ["04 Dec 2005", "Al-Gharafa Stadium , Doha , Qatar", "10", "22", "West Asian Games 2005"], ["10 Dec 2005", "Qatar SC Stadium , Doha , Qatar", "10", "22", "West Asian Games 2005"], ["17 May 2008", "Abbasiyyin Stadium , Damascus , Syria", "10", "21", "International Friendly"]], "types": ["text", "text", "text", "text", "text"], "caption": "Goals for senior national team"} | SELECT ([Competition]) FROM data_table WHERE LOWER([Date]) = LOWER('26 jan 2005') | wiki-sql | International Friendly | What is the Competition On 26 jan 2005 | ||
script | {"header": ["Round", "Pick", "Player", "Position", "School/Club Team"], "rows": [["1", "2", "Leonard Davis", "Tackle", "Texas"], ["2", "34", "Kyle Vanden Bosch", "Defensive End", "Nebraska"], ["2", "54", "Michael Stone", "Defensive Back", "Memphis"], ["3", "64", "Adrian Wilson (American football)", "Defensive Back", "North Carolina State"], ["4", "98", "Bill Gramatica", "Kicker", "South Florida"], ["4", "123", "Marcus Bell", "Defensive Tackle", "Memphis"], ["5", "133", "Mario Fatafehi", "Defensive Tackle", "Kansas State"], ["6", "166", "Bobby Newcombe", "Wide Receiver", "Nebraska"], ["7", "202", "Renaldo Hill", "Defensive Back", "Michigan State"], ["7", "246", "Tevita Ofahengaue", "Tight End", "Brigham Young University"]], "types": ["real", "real", "text", "text", "text"], "caption": "NFL Draft"} | SELECT ([Player]) FROM data_table WHERE LOWER([Position]) = LOWER('defensive back') AND [Round] > 3 | wiki-sql | Renaldo Hill | Which player was defensive back after round 3? | ||
script | {"header": ["Tournament", "1980", "1981", "1982", "1983", "1984", "1985", "1986", "1987", "1988", "1989", "1990", "1991", "1992", "1993", "1994", "1995", "1996"], "rows": [["Australian Open", "A", "LQ", "A", "A", "A", "4R", "NH", "3R", "3R", "1R", "3R", "A", "1R", "A", "2R", "A", "A"], ["French Open", "1R", "1R", "1R", "2R", "2R", "QF", "SF", "1R", "F", "A", "QF", "2R", "SF", "1R", "1R", "A", "1R"], ["Wimbledon", "LQ", "2R", "1R", "2R", "A", "QF", "SF", "QF", "4R", "A", "2R", "3R", "3R", "4R", "1R", "1R", "A"], ["US Open", "A", "A", "1R", "A", "3R", "4R", "QF", "4R", "3R", "A", "2R", "A", "3R", "1R", "A", "A", "A"], ["WinLoss", "01", "12", "03", "22", "32", "134", "143", "84", "134", "01", "84", "32", "94", "33", "13", "01", "01"]], "types": ["text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "text"], "caption": "Grand Slam singles tournament timeline"} | SELECT ([1988_]) FROM data_table WHERE LOWER([1987_]) = LOWER('1r') | wiki-sql | F | What is the 1988 value when the 1987 value was 1r? | ||
script | {"header": ["Week", "Date", "Opponent", "Location", "Final Score", "Attendance", "Record"], "rows": [[1, "July 10", "Alouettes", "SkyDome", "L 15 12", 21028, "01"], [2, "July 15", "@ Blue Bombers", "Canad Inns Stadium", "L 47 27", 18025, "02"], [3, "July 23", "Tiger-Cats", "SkyDome", "W 24 21", 25558, "12"], [4, "July 30", "@ Roughriders", "Taylor Field", "L 20 15", 18256, "13"], [5, "August 6", "Blue Bombers", "SkyDome", "W 40 7", 21308, "23"], [6, "August 12", "@ Lions", "BC Place Stadium", "W 28 26", 20586, "33"], [7, "August 20", "Alouettes", "SkyDome", "W 23 20", 20152, "43"], [8, "August 27", "@ Alouettes", "Molson Stadium", "L 20 5", 19461, "44"], [9, "September 6", "@ Tiger-Cats", "Ivor Wynne Stadium", "L 35 28", 28895, "45"], [10, "September 11", "Roughriders", "SkyDome", "W 28 3", 17216, "55"], [11, "September 18", "@ Stampeders", "McMahon Stadium", "L 29 26", 32883, "56"], [12, "September 26", "@ Eskimos", "Commonwealth Stadium", "W 20 16", 31085, "66"], [13, "October 2", "Lions", "SkyDome", "L 28 19", 21084, "67"], [14, "October 9", "Stampeders", "SkyDome", "W 24 13", 20036, "77"], [15, "October 16 ", "@ Tiger-Cats", "Ivor Wynne Stadium", "L 18 2", 23832, "78"], [16, "October 22", "Blue Bombers", "SkyDome", "W 32 22", 23632, "88"], [17, "October 29", "@ Blue Bombers", "Canad Inns Stadium", "L 18 13", 27043, "89"]], "types": ["real", "text", "text", "text", "text", "real", "text"], "caption": "Regular season"} | SELECT ([Record]) FROM data_table WHERE LOWER([Location]) = LOWER('BC Place Stadium') | wiki-sql | 33 | What's the record achieved in the gamed played at BC Place Stadium? | ||
script | {"header": ["Model Number", "Frequency", "L2-Cache", "Front Side Bus", "Multiplier", "Voltage", "Socket", "Release Date"], "rows": [["C7 1.0", "1000MHz", "128KiB", "400MT/s", "10", "V", "NanoBGA2", "May 27, 2005"], ["C7 1.3", "1300MHz", "128KiB", "400MT/s", "13", "1.004V", "NanoBGA2", "May 27, 2005"], ["C7 1.5", "1500MHz", "128KiB", "400MT/s", "15", "V", "NanoBGA2", "May 27, 2005"], ["C7 1.6", "1600MHz", "128KiB", "400MT/s", "16", "V", "NanoBGA2", "May 27, 2005"], ["C7 1.8", "1800MHz", "128KiB", "800MT/s", "9", "V", "NanoBGA2", "May 27, 2005"], ["C7 2.0", "2000MHz", "128KiB", "800MT/s", "10", "V", "NanoBGA2", "May 27, 2005"]], "types": ["text", "text", "text", "text", "text", "text", "text", "text"], "caption": "(90 nm)"} | SELECT ([Front Side Bus]) FROM data_table WHERE LOWER([Model Number]) = LOWER('c7 1.5') | wiki-sql | 400MT/s | What is the Front Side Bus for Model Number c7 1.5? | ||
script | {"header": ["Interior/Roof", "Black (UA)", "Red (E8)", "White (ZR)", "Green (SW)", "Totals"], "rows": [["Charcoal/black", 1287, 598, 278, 89, 2252], ["Charcoal/saddle", 9, 0, 0, 0, 9], ["Charcoal/white", 8, 16, 63, 10, 97], ["Parchment/black", 134, 28, 2, 11, 175], ["Parchment/saddle", 317, 608, 349, 208, 1482], ["Parchment/white", 0, 0, 38, 0, 38], ["other", 0, 1, 1, 0, 2]], "types": ["text", "real", "real", "real", "real", "real"], "caption": "Convertible"} | SELECT COUNT([Totals]) FROM data_table WHERE LOWER([Interior/Roof]) = LOWER('Parchment/black') | wiki-sql | 1 | How many different total results are there for the model with parchment/black interior/roof? | ||
script | {"header": ["Name", "Pennant number", "Builder", "Laid Down", "Launched", "Commissioned", "Current status"], "rows": [["Minerva", "F 551", "Fincantieri , Riva Trigoso", "11 March 1985", "3 April 1986", "10 June 1987", "Retired"], ["Urania", "F 552", "Fincantieri, Riva Trigoso", "4 April 1985", "21 June 1986", "1 June 1987", "Active"], ["Danaide", "F 553", "Fincantieri, Muggiano", "26 June 1985", "18 October 1986", "9 September 1987", "Active"], ["Sfinge", "F 554", "Fincantieri, Muggiano", "2 September 1986", "16 May 1987", "13 February 1988", "Active"], ["Driade", "F 555", "Fincantieri, Riva Trigoso", "18 March 1988", "11 March 1989", "19 April 1990", "Active"], ["Chimera", "F 556", "Fincantieri, Riva Trigoso", "21 December 1988", "7 April 1990", "15 January 1991", "Active"], ["Fenice", "F 557", "Fincantieri, Riva Trigoso", "6 September 1988", "9 September 1989", "11 September 1990", "Active"], ["Sibilla", "F 558", "Fincantieri, Muggiano", "16 October 1989", "15 September 1990", "16 May 1991", "Retired on October 1st, 2012"]], "types": ["text", "text", "text", "text", "text", "text", "text"], "caption": "Ships of the class"} | SELECT ([Pennant number]) FROM data_table WHERE LOWER([Current status]) = LOWER('retired') | wiki-sql | F 551 | what builder is now retired | ||
script | {"header": ["District", "Incumbent", "Party", "First elected", "Result", "Candidates"], "rows": [["Florida 2", "Charles Edward Bennett", "Democratic", 1948, "Re-elected", "Charles Edward Bennett (D) Unopposed"], ["Florida 3", "Robert L. F. Sikes", "Democratic", 1940, "Re-elected", "Robert L. F. Sikes (D) Unopposed"], ["Florida 4", "William C. Lantaff", "Democratic", 1950, "Retired Democratic hold", "Dante Fascell (D) Unopposed"], ["Florida 5", "Albert S. Herlong, Jr.", "Democratic", 1948, "Re-elected", "Albert S. Herlong, Jr. (D) Unopposed"], ["Florida 6", "Dwight L. Rogers", "Democratic", 1944, "Re-elected", "Dwight L. Rogers (D) Unopposed"]], "types": ["text", "text", "text", "real", "text", "text"], "caption": ""} | SELECT ([Result]) FROM data_table WHERE LOWER([Candidates]) = LOWER('Charles Edward Bennett (D) Unopposed') | wiki-sql | Re-elected | what's theresultwithcandidatesbeing charles edward bennett (d) unopposed | ||
script | {"header": ["Player", "Team", "Matches", "Overs", "Wickets", "Average", "Economy", "BBI", "4wi", "5wi"], "rows": [["Virender Sehwag Category:Articles with hCards", "Leicestershire", 6, "14.0", 7, "10.00", "5.00", "3/14", 0, 0], ["Jimmy Ormond Category:Articles with hCards", "Surrey", 5, "20.0", 11, "10.09", "5.55", "5/26", 1, 1], ["Azhar Mahmood Category:Articles with hCards", "Surrey", 5, "18.5", 12, "10.25", "6.53", "4/20", 1, 0], ["Dominic Hewson Category:Articles with hCards", "Derbyshire", 5, "19.0", 10, "10.90", "5.73", "4/18", 1, 0], ["Jason Brown Category:Articles with hCards", "Northamptonshire", 5, "17.5", 11, "11.09", "6.84", "5/27", 0, 1], ["Glen Chapple Category:Articles with hCards", "Lancashire", 5, "19.0", 9, "11.22", "5.31", "2/13", 0, 0], ["Ashley Noffke Category:Articles with hCards", "Middlesex", 3, "12.0", 8, "12.12", "8.08", "3/22", 0, 0], ["Peter Martin Category:Articles with hCards", "Lancashire", 4, "15.0", 7, "12.14", "5.66", "3/20", 0, 0], ["Adam Hollioake Category:Articles with hCards", "Surrey", 7, "25.1", 16, "12.31", "7.82", "5/21", 1, 1], ["Simon Cook Category:Articles with hCards", "Middlesex", 5, "18.2", 9, "13.77", "6.76", "3/14", 0, 0]], "types": ["text", "text", "real", "text", "real", "text", "text", "text", "real", "real"], "caption": "Bowling averages (Top 10)"} | SELECT MIN([Wickets]) FROM data_table | wiki-sql | 7 | What is the lowest wickets? | ||
script | {"header": ["Game", "Date", "Team", "Score", "Record", "Streak"], "rows": [["23", "December 3", "Milwaukee Bucks", "101110", "167", "Loss 3"], ["24", "December 6", "Portland Trail Blazers", "114105", "177", "Win 1"], ["25", "December 7", "@ Philadelphia 76ers", "112116", "178", "Loss 1"], ["26", "December 10", "Philadelphia 76ers", "10191", "188", "Win 1"], ["27", "December 12", "Houston Rockets (at Toronto, Canada)", "124113", "198", "Win 2"], ["28", "December 13", "New York Knicks", "108104", "208", "Win 3"], ["29", "December 14", "@ New York Knicks", "118102", "218", "Win 4"], ["30", "December 17", "@ Kansas City-Omaha Kings", "110111", "219", "Loss 1"], ["31", "December 19", "@ Cleveland Cavaliers", "104106", "2110", "Loss 2"], ["32", "December 20", "Atlanta Hawks", "102113", "2111", "Loss 3"], ["33", "December 27", "@ Phoenix Suns", "10892", "2211", "Win 1"], ["34", "December 28", "@ Houston Rockets", "117125", "2212", "Loss 1"], ["35", "December 30", "@ Milwaukee Bucks", "91106", "2213", "Loss 2"]], "types": ["real", "text", "text", "text", "text", "text"], "caption": "Season schedule"} | SELECT ([Record]) FROM data_table WHERE LOWER([Date]) = LOWER('december 17') | wiki-sql | 219 | Which Record has a Date of december 17? | ||
script | {"header": ["Elector", "Order", "Title", "Elevated", "Elevator"], "rows": [["Francesco Moricotti Prignani", "Cardinal-bishop", "Bishop of Palestrina", "1378, September 18", "Urban VI"], ["Andrea Bontempi Martini", "Cardinal-priest", "Titulus Ss. Marcellino e Pietro", "1378, September 18", "Urban VI"], ["Poncello Orsini", "Cardinal-priest", "Titulus S. Clemente", "1378, September 18", "Urban VI"], ["Pietro Tomacelli", "Cardinal-priest", "Titulus S. Anastasia", "1381, December 21", "Urban VI"], ["Angelo Acciaioli", "Cardinal-priest", "Titulus S. Lorenzo in Damaso.", "1384, December 17", "Urban VI"], ["Francesco Carbone Tomacelli , O.Cist.", "Cardinal-priest", "Titulus S. Susanna", "1384, December 17", "Urban VI"], ["Stefano Palosio", "Cardinal-priest", "Titulus S. Marcello.", "1384, December 17", "Urban VI"], ["Tommaso Orsini dei Conti di Manupello", "Cardinal-deacon", "Deacon of S. Maria in Domnica", "Circa 13831379", "Urban VI"], ["Francesco Renzio", "Cardinal-deacon", "Deacon of S. Eustachio", "1381, December 21", "Urban VI"], ["Marino Bulcani", "Cardinal-deacon", "Deacon of S. Maria Nuova.", "1384, December 17", "Urban VI"], ["Rinaldo Brancaccio", "Cardinal-deacon", "Deacon of Ss. Vito e Modesto", "1384, December 17", "Urban VI"], ["Ludovico Fieschi", "Cardinal-deacon", "Deacon of S. Adriano", "1384, December 17", "Urban VI"], ["Angelo d'Anna de Sommariva , O.Camald.", "Cardinal-deacon", "Deacon of S. Lucia in Septisolio", "1384, December 17", "Urban VI"]], "types": ["text", "text", "text", "text", "text"], "caption": "Cardinal electors"} | SELECT ([Elevated]) FROM data_table WHERE LOWER([Order]) = LOWER('cardinal-bishop') | wiki-sql | 1378, September 18 | What's listed for the Elevated category that has an Order of Cardinal-Bishop? | ||
script | {"header": ["Name", "Years", "Gender", "Area", "Authority", "Decile"], "rows": [["Birchville School", "16", "Coed", "Birchville", "State", "6"], ["Fergusson Intermediate", "78", "Coed", "Trentham", "State", "6"], ["Fraser Crescent School", "16", "Coed", "Upper Hutt", "State", "5"], ["Heretaunga College", "913", "Coed", "Upper Hutt", "State", "6"], ["Hutt International Boys' School", "713", "Boys", "Trentham", "Integrated", "10"], ["Maidstone Intermediate", "78", "Coed", "Upper Hutt", "State", "7"], ["Mangaroa School", "16", "Coed", "Upper Hutt", "State", "10"], ["Maoribank School", "16", "Coed", "Maoribank", "State", "4"], ["Oxford Crescent School", "16", "Coed", "Upper Hutt", "State", "6"], ["Pinehaven School", "16", "Coed", "Pinehaven", "State", "10"], ["Plateau School", "16", "Coed", "Te Marua", "State", "9"], ["Silverstream Christian School", "113", "Coed", "Silverstream", "Private", "n/a"], ["Silverstream School", "16", "Coed", "Silverstream", "State", "10"], ["St Brendan's School", "18", "Coed", "Heretaunga", "Integrated", "8"], ["St Joseph's School", "18", "Coed", "Upper Hutt", "Integrated", "7"], ["St. Patrick's College", "913", "Boys", "Silverstream", "Integrated", "9"], ["Titiro Whakamua", "", "", "Trentham", "State", "1"], ["Totara Park School", "16", "Coed", "Totara Park", "State", "7"], ["Trentham School", "16", "Coed", "Trentham", "State", "4"], ["Upper Hutt College", "915", "Coed", "Trentham", "State", "7"], ["Upper Hutt Primary School", "16", "Coed", "Upper Hutt", "State", "6"], ["Upper Valley Middle School", "710", "Coed", "Upper Hutt", "Private", "n/a"]], "types": ["text", "text", "text", "text", "text", "text"], "caption": "Upper Hutt City"} | SELECT ([Name]) FROM data_table WHERE LOWER([Decile]) = LOWER('7') AND LOWER([Area]) = LOWER('upper hutt') | wiki-sql | Maidstone Intermediate | What school with a decile of 7 is in upper hutt? | ||
script | {"header": ["Place", "Player", "Country", "Score", "To par"], "rows": [["1", "Phil Mickelson", "United States", "67-65=132", "8"], ["2", "Jerry Kelly", "United States", "70-65=135", "5"], ["T3", "Davis Love III", "United States", "68-68=136", "4"], ["T3", "Rory Sabbatini", "South Africa", "67-69=136", "4"], ["T3", "Lee Westwood", "England", "68-68=136", "4"], ["T6", "Stuart Appleby", "Australia", "67-70=137", "3"], ["T6", "Shingo Katayama", "Japan", "71-66=137", "3"], ["T6", "Greg Owen", "England", "67-70=137", "3"], ["T6", "Jesper Parnevik", "Sweden", "67-70=137", "3"], ["T6", "Vijay Singh", "Fiji", "70-67=137", "3"]], "types": ["text", "text", "text", "text", "text"], "caption": "Second round (Friday)"} | SELECT ([Score]) FROM data_table WHERE LOWER([Country]) = LOWER('fiji') | wiki-sql | 70-67=137 | Name the score for fiji | ||
script | {"header": ["Team", "City", "Stadium", "Manager", "Past season"], "rows": [["Aboomoslem", "Mashhad", "Samen", "Parviz Mazloomi", "6th"], ["Bargh", "Shiraz", "Hafezieh", "Mahmoud Yavari", "12th"], ["Esteghlal", "Tehran", "Azadi", "Firouz Karimi", "4th"], ["Esteghlal", "Ahvaz", "Takhti Ahvaz", "Majid Jalali", "2nd"], ["Malavan", "Anzali", "Takhti Anzali", "Mohammad Ahmadzadeh", "14th"], ["Mes", "Kerman", "Shahid Bahonar", "Amir Ghalenoei", "9th"], ["Pas", "Hamedan", "Ghods", "Vinko Begovic", "N/A"], ["Paykan", "Tehran", "Iran Khodro", "Ali Asghar Modir Roosta", "7th"], ["Pegah", "Rasht", "Sardar Jangal", "Nader Dastneshan", "Qualifier"], ["Persepolis", "Tehran", "Azadi", "Afshin Ghotbi", "3rd"], ["Rah Ahan", "Tehran", "Rah Ahan", "Davoud Mahabadi", "16th"], ["Saba Battery", "Tehran", "Shahid Derakhshan", "Yahya Golmohammadi", "13th"], ["Saipa", "Karaj", "Enghelab Karaj", "Ali Daei", "Champion"], ["Sanat Naft", "Abadan", "Takhti Abadan", "Ahmad Tousi", "Qualifier"], ["Sepahan", "Esfahan", "Naghsh Jahan", "Jorvan Vieira", "5th"], ["Sepasi", "Shiraz", "Hafezieh", "Gholam Peyrovani", "10th"], ["Shirin Faraz", "Kermanshah", "Azadi Kermanshah", "Shahram Mehrpeyma", "Qualifier"], ["Zob Ahan", "Esfahan", "Foolad Shahr", "Bijan Zolfagharnasab", "8th"]], "types": ["text", "text", "text", "text", "text"], "caption": "Teams"} | SELECT ([Stadium]) FROM data_table WHERE LOWER([Past season]) = LOWER('7th') | wiki-sql | Iran Khodro | what stadium has a prior record of 7th? | ||
script | {"header": ["Name", "Team", "Qual 1", "Qual 2", "Best"], "rows": [["Sbastien Bourdais", "Newman/Haas Racing", "59.895", "58.560", "58.560"], ["Paul Tracy", "Forsythe Racing", "1:00.067", "58.622", "58.622"], ["Justin Wilson", "RuSPORT", "1:00.251", "58.665", "58.665"], ["A. J. Allmendinger", "Forsythe Racing", "1:03.971", "58.893", "58.893"], ["Oriol Servi", "PKV Racing", "1:01.321", "59.324", "59.324"], ["Nelson Philippe", "CTE Racing-HVM", "1:00.675", "59.510", "59.510"], ["Will Power (R)", "Team Australia", "", "59.539", "59.539"], ["Andrew Ranger", "Mi-Jack Conquest Racing", "1:01.672", "1:00.071", "1:00.071"], ["Bruno Junqueira", "Newman/Haas Racing", "1:00.085", "1:06.279", "1:00.085"], ["Mario Domnguez", "Dale Coyne Racing", "1:01.647", "1:00.106", "1:00.106"], ["Alex Tagliani", "Team Australia", "1:01.461", "1:00.110", "1:00.110"], ["Jan Heylen (R)", "Dale Coyne Racing", "1:01.603", "1:00.199", "1:00.199"], ["Charles Zwolsman (R)", "Mi-Jack Conquest Racing", "1:01.393", "1:00.291", "1:00.291"], ["Cristiano da Matta", "RuSPORT", "1:00.412", "1:00.305", "1:00.305"], ["Katherine Legge (R)", "PKV Racing", "1:01.417", "1:00.358", "1:00.358"], ["Nicky Pastorelli (R)", "Rocketsports Racing", "1:01.760", "1:00.978", "1:00.978"], ["Dan Clarke (R)", "CTE Racing-HVM", "1:01.215", "", "1:01.215"], ["Tnis Kasemets (R)", "Rocketsports Racing", "1:02.755", "1:01.704", "1:01.704"]], "types": ["text", "text", "text", "text", "text"], "caption": "Qualifying results"} | SELECT ([Team]) FROM data_table WHERE LOWER([Qual 1]) = LOWER('1:02.755') | wiki-sql | Rocketsports Racing | What team had a qual 1 of 1:02.755? | ||
script | {"header": ["Season", "Player", "Club", "Nationality", "Goals"], "rows": [["2008", "Roberto Brown", "Montreal Impact", "Panama", "2"], ["2008", "Rohan Ricketts", "Toronto FC", "England", "2"], ["2008", "Eduardo Sebrango", "Vancouver Whitecaps", "Cuba", "2"], ["2009", "Dwayne De Rosario", "Toronto FC", "Canada", "3"], ["2010", "Chad Barrett", "Toronto FC", "United States", "1"], ["2010", "Philippe Billy", "Montreal Impact", "France", "1"], ["2010", "Peter Byers", "Montreal Impact", "Antigua and Barbuda", "1"], ["2010", "Dwayne De Rosario", "Toronto FC", "Canada", "1"], ["2010", "Marcus Haber", "Vancouver Whitecaps", "Canada", "1"], ["2010", "Ty Harden", "Toronto FC", "United States", "1"], ["2010", "Ansu Toure", "Vancouver Whitecaps", "Liberia", "1"], ["2011", "Maicon Santos", "Toronto FC", "Brazil", "3"], ["2012", "Reggie Lambe", "Toronto FC", "Bermuda", "2"], ["2012", "Ryan Johnson", "Toronto FC", "Jamaica", "2"], ["2012", "Sbastien Le Toux", "Vancouver Whitecaps FC", "France", "2"], ["2012", "ric Hassli", "Vancouver Whitecaps FC", "France", "2"], ["2013", "Camilo", "Vancouver Whitecaps FC", "Brazil", "3"]], "types": ["real", "text", "text", "text", "real"], "caption": "Top goalscorers by season"} | SELECT COUNT([Season]) FROM data_table WHERE LOWER([Player]) = LOWER('rohan ricketts') | wiki-sql | 1 | Which seaosn had a player of rohan ricketts? | ||
script | {"header": ["Date", "Visitor", "Score", "Home", "Decision", "Attendance", "Record"], "rows": [["January 4", "Philadelphia", "5 3", "NY Rangers", "Myre", "17,398", "25110"], ["January 6", "Philadelphia", "4 2", "Buffalo", "Peeters", "16,433", "26110"], ["January 7", "Philadelphia", "1 7", "Minnesota", "Myre", "15,962", "26210"], ["January 10", "Winnipeg", "4 5", "Philadelphia", "Peeters", "17,077", "27210"], ["January 12", "Philadelphia", "3 4", "Montreal", "Myre", "18,091", "27310"], ["January 13", "St. Louis", "1 1", "Philadelphia", "Peeters", "17,077", "27311"], ["January 15", "Washington", "4 7", "Philadelphia", "Myre", "17,077", "28311"], ["January 17", "Chicago", "1 5", "Philadelphia", "Peeters", "17,077", "29311"], ["January 19", "Philadelphia", "4 4", "Washington", "Myre", "18,130", "29312"], ["January 22", "Philadelphia", "3 1", "St. Louis", "Peeters", "17,453", "30312"], ["January 23", "Philadelphia", "4 1", "Chicago", "Myre", "17,160", "31312"], ["January 25", "Philadelphia", "5 4", "Winnipeg", "Peeters", "15,122", "32312"], ["January 27", "Philadelphia", "5 3", "Edmonton", "Peeters", "15,423", "33312"], ["January 31", "Minnesota", "2 4", "Philadelphia", "St. Croix", "17,077", "34312"]], "types": ["text", "text", "text", "text", "text", "real", "text"], "caption": "Regular season"} | SELECT ([Visitor]) FROM data_table WHERE LOWER([Home]) = LOWER('winnipeg') | wiki-sql | Philadelphia | Who was the visiting team when Winnipeg was the home team? | ||
script | {"header": ["Team", "Games Played", "Wins", "Losses", "Ties", "Goals For", "Goals Against"], "rows": [["Montreal Victorias", "10", "9", "1", "0", "64", "32"], ["Quebec Hockey Club", "10", "8", "2", "0", "78", "45"], ["Montreal Hockey Club", "10", "7", "3", "0", "54", "42"], ["Montreal Shamrocks", "10", "3", "7", "0", "41", "62"], ["Montreal Westmount", "10", "3", "7", "0", "55", "75"], ["Montreal Le National", "10", "0", "10", "0", "6", "42"]], "types": ["text", "real", "real", "text", "real", "real", "real"], "caption": "Final Standing"} | SELECT ([Team]) FROM data_table WHERE LOWER([Losses]) = LOWER('7') AND [Goals For] = 55 | wiki-sql | Montreal Westmount | Which team had 7 losses and 55 goals? | ||
script | {"header": ["Distance", "Time", "Date", "Location", "Notes"], "rows": [["Men's Speed skating", "Men's Speed skating", "Men's Speed skating", "Men's Speed skating", "Men's Speed skating"], ["Distance", "Time", "Date", "Location", "Notes"], ["500 m", "40.33", "2009-10-24", "Calgary", "Spanish national record"], ["1,000 m", "1:18.52", "2009-09-19", "Calgary", "Spanish national record"], ["1,500 m", "1:58.24", "2008-01-13", "Kolomna", "Spanish national record"], ["3,000 m", "4:09.10", "2008-02-16", "Hamar", "Spanish national record"], ["5,000 m", "6:51.72", "2009-12-12", "Salt Lake City", "Spanish national record"], ["10,000 m", "14:35.06", "2008-01-27", "Hamar", "Spanish national record"]], "types": ["text", "text", "text", "text", "text"], "caption": "Personal records"} | SELECT ([Date]) FROM data_table WHERE LOWER([Distance]) = LOWER('3,000 m') | wiki-sql | 2008-02-16 | Which Date has a Distance of 3,000 m? | ||
script | {"header": ["Race Name", "Circuit", "Date", "Winning driver", "Constructor", "Report"], "rows": [["II Race of Champions", "Brands Hatch", "12 March", "Dan Gurney", "Eagle - Weslake", "Report"], ["I Spring Cup", "Oulton Park", "15 April", "Jack Brabham", "Brabham - Repco", "Report"], ["XIX BRDC International Trophy", "Silverstone", "29 April", "Mike Parkes", "Ferrari", "Report"], ["XVI Gran Premio di Siracusa", "Syracuse", "21 May", "Mike Parkes Ludovico Scarfiotti", "Ferrari", "Report"], ["XIV International Gold Cup", "Oulton Park", "16 September", "Jack Brabham", "Brabham - Repco", "Report"], ["XV Spanish Grand Prix", "Jarama", "12 November", "Jim Clark", "Lotus - Ford", "Report"]], "types": ["text", "text", "text", "text", "text", "text"], "caption": "Non-Championship race results"} | SELECT ([Circuit]) FROM data_table WHERE LOWER([Date]) = LOWER('15 april') | wiki-sql | Oulton Park | What is the circuit held on 15 april? | ||
script | {"header": ["Class", "Part 1", "Part 2", "Part 3", "Part 4", "Verb meaning"], "rows": [["1", "rdan", "rd", "ridon", "riden", "to ride"], ["2a", "frosan", "fras", "fruron", "froren", "to freeze"], ["2b", "lcan", "lac", "lucon", "locen", "to lock"], ["3a", "bindan", "band", "bundon", "bunden", "to bind"], ["3b", "weoran", "wear", "wurdon", "worden", "to become"], ["4", "beran", "br", "bron", "boren", "to bear"], ["5", "lesan", "ls", "lron", "leren", "to gather"], ["6", "alan", "l", "lon", "alen", "to nourish, to grow"], ["7a", "htan", "ht", "hton", "hten", "to call, to be called"], ["7b", "hlapan", "hlop", "hlppon", "hlapen", "to leap"], ["7c", "healdan", "hold", "holdon", "healden", "to hold"], ["7d", "rdan", "rd", "rdon", "rden", "to advise, to interpret"], ["7e", "bltan", "blot", "bloton", "blten", "to sacrifice"]], "types": ["text", "text", "text", "text", "text", "text"], "caption": "English"} | SELECT ([Verb meaning]) FROM data_table WHERE LOWER([Part 2]) = LOWER('band') | wiki-sql | to bind | What is the verb meaning when part 2 is band? | ||
script | {"header": ["Province", "Inhabitants", "established", "President", "Party", "Election"], "rows": [["Arezzo", "348,327", "1826", "Roberto Vasai", "Democratic Party", "2009"], ["Florence", "991,862", "1848", "Andrea Barducci", "Democratic Party", "2009"], ["Grosseto", "227,063", "1766", "Leonardo Marras", "Democratic Party", "2009"], ["Livorno", "341,453", "1861", "Giorgio Kutuf", "Democratic Party", "2009"], ["Lucca", "392,182", "1849", "Stefano Baccelli", "Democratic Party", "2011"], ["Massa", "203,642", "1859", "Osvaldo Angeli", "Democratic Party", "2008"], ["Pisa", "414,154", "1849", "Andrea Pieroni", "Democratic Party", "2009"], ["Pistoia", "292,108", "1927", "Federica Fratoni", "Democratic Party", "2009"], ["Prato", "248,174", "1992", "Lambarto Nazzareno Gestri", "Democratic Party", "2009"], ["Siena", "270,333", "1849", "Simone Bezzini", "Democratic Party", "2009"]], "types": ["text", "real", "real", "text", "text", "real"], "caption": "Provinces"} | SELECT ([Party]) FROM data_table WHERE LOWER([President]) = LOWER('stefano baccelli') | wiki-sql | Democratic Party | What is the party affiliation for President Stefano Baccelli? | ||
script | {"header": ["Player", "Country", "Year(s) won", "Total", "To par", "Finish"], "rows": [["Jack Nicklaus", "United States", "1962 , 1967 , 1972 , 1980", "284", "4", "2"], ["David Graham", "Australia", "1981", "287", "1", "T6"], ["Andy North", "United States", "1978", "292", "+4", "T22"], ["Lou Graham", "United States", "1975", "296", "+8", "T39"], ["Hale Irwin", "United States", "1974 , 1979", "296", "+8", "T39"], ["Johnny Miller", "United States", "1973", "297", "+9", "T45"]], "types": ["text", "text", "text", "real", "text", "text"], "caption": "Made the cut"} | SELECT MIN([Total]) FROM data_table WHERE LOWER([Year(s) won]) = LOWER('1978') | wiki-sql | 292.0 | Name the least total for 1978 years won | ||
script | {"header": ["Home team", "Home team score", "Away team", "Away team score", "Venue", "Crowd", "Date"], "rows": [["Footscray", "11.25 (91)", "Geelong", "7.15 (57)", "Western Oval", "8,000", "14 August 1948"], ["Carlton", "10.20 (80)", "Collingwood", "10.10 (70)", "Princes Park", "31,000", "14 August 1948"], ["South Melbourne", "5.11 (41)", "St Kilda", "5.9 (39)", "Lake Oval", "5,500", "14 August 1948"], ["North Melbourne", "5.12 (42)", "Melbourne", "10.14 (74)", "Arden Street Oval", "6,000", "14 August 1948"], ["Hawthorn", "6.7 (43)", "Fitzroy", "4.16 (40)", "Glenferrie Oval", "8,500", "14 August 1948"], ["Richmond", "8.7 (55)", "Essendon", "8.10 (58)", "Punt Road Oval", "29,000", "14 August 1948"]], "types": ["text", "text", "text", "text", "text", "real", "text"], "caption": "Round 16"} | SELECT ([Date]) FROM data_table WHERE LOWER([Home team]) = LOWER('north melbourne') | wiki-sql | 14 August 1948 | What day did North Melbourne play as the home team? | ||
script | {"header": ["Category", "Type", "Attribute", "Description", "Bubbles", "Cancelable"], "rows": [["Input", "input", "oninput", "Fires when a user enters text in a textbox.", "Yes", "No"], ["User interface", "overflowchanged", "onoverflowchanged", "Fires when the overflow state changes.", "No", "No"], ["User interface", "popuphidden", "onpopuphidden", "Fires to a popup after it has been hidden.", "No", "No"], ["User interface", "popuphiding", "onpopuphiding", "Fires to a popup when it is about to be hidden.", "No", "No"], ["User interface", "popupshowing", "onpopupshowing", "Fires to a popup just before it is popped open.", "No", "Yes"]], "types": ["text", "text", "text", "text", "text", "text"]} | SELECT COUNT([Bubbles]) FROM data_table WHERE LOWER([Category]) = LOWER('Input') | wiki-sql | 1 | how manybubbleswithcategorybeing input | ||
script | {"header": ["Nation", "Skip", "Third", "Second", "Lead", "Alternate"], "rows": [["Canada", "Sandra Schmirler", "Jan Betker", "Joan McCusker", "Marcia Gudereit", "Atina Ford"], ["Denmark", "Helena Blach Lavrsen", "Margit Prtner", "Dorthe Holm", "Trine Qvist", "Jane Bidstrup"], ["Germany", "Andrea Schpp", "Monika Wagner", "Natalie Nessler", "Heike Wielnder", "Carine Meidele"], ["Great Britain", "Kirsty Hay", "Edith Loudon", "Jackie Lockhart", "Katie Loudon", "Felsie Bayne"], ["Japan", "Mayumi Ohkutsu", "Akiko Katoh", "Yukari Kondo", "Yoko Mimura", "Akemi Niwa"], ["Norway", "Dordi Nordby", "Marianne Haslum", "Kristin Lvseth", "Hanne Woods", "Grethe Wolan"], ["Sweden", "Elisabet Gustafson", "Katarina Nyberg", "Louise Marmont", "Elisabeth Persson", "Margaretha Lindahl"], ["United States", "Lisa Schoeneberg", "Erika Brown", "Debbie Henry", "Lori Mountford", "Stacy Liapis"]], "types": ["text", "text", "text", "text", "text", "text"], "caption": "Teams"} | SELECT ([Lead]) FROM data_table WHERE LOWER([Nation]) = LOWER('norway') | wiki-sql | Hanne Woods | Who has the lead in Norway? | ||
script | {"header": ["Year", "Division", "League", "Regular Season", "Playoffs", "Open Cup"], "rows": [["2008", "4", "USL PDL", "2nd, Northeast", "Conference Semifinals", "Did not qualify"], ["2009", "4", "USL PDL", "5th, Northeast", "Did not qualify", "Did not qualify"], ["2010", "4", "USL PDL", "2nd, Mid Atlantic", "Conference Semifinals", "Did not qualify"], ["2011", "4", "USL PDL", "3rd, Mid Atlantic", "Conference Finals", "Did not qualify"], ["2012", "4", "USL PDL", "3rd, Mid Atlantic", "Conference Quarterfinals", "Did not qualify"], ["2013", "4", "USL PDL", "4th, Mid Atlantic", "Did not qualify", "Did not qualify"]], "types": ["real", "real", "text", "text", "text", "text"], "caption": "Year-by-year"} | SELECT ([Regular Season]) FROM data_table WHERE LOWER([Playoffs]) = LOWER('conference semifinals') | wiki-sql | 2nd, Northeast | What regular season did the team reach the conference semifinals in the playoffs? | ||
script | {"header": ["Home team", "Home team score", "Away team", "Away team score", "Venue", "Crowd", "Date"], "rows": [["Richmond", "20.10 (130)", "Fitzroy", "13.11 (89)", "VFL Park", "38,686", "20 March 1982"], ["North Melbourne", "24.13 (157)", "Swans", "16.21 (117)", "Arden Street Oval", "12,855", "3 April 1982"], ["Melbourne", "20.26 (146)", "St Kilda", "16.10 (106)", "MCG", "25,367", "3 April 1982"], ["Hawthorn", "13.19 (97)", "Geelong", "11.12 (78)", "Princes Park", "14,980", "3 April 1982"], ["Footscray", "14.8 (92)", "Collingwood", "15.14 (104)", "Western Oval", "27,266", "3 April 1982"], ["Essendon", "13.13 (91)", "Carlton", "8.17 (65)", "VFL Park", "60,120", "3 April 1982"]], "types": ["text", "text", "text", "text", "text", "real", "text"], "caption": "Round 2"} | SELECT ([Date]) FROM data_table WHERE LOWER([Away team score]) = LOWER('11.12 (78)') | wiki-sql | 3 April 1982 | When the away team scored 11.12 (78), what was the date of the game? | ||
script | {"header": ["Round", "Date", "City and venue", "Winner", "Runner-up", "3rd placed", "4th placed", "Results"], "rows": [[1, "April 25", "Prague , Czech Republic Markta Stadium", "Emil Sayfutdinov", "Fredrik Lindgren", "Jason Crump", "Leigh Adams", "results"], [2, "May 9", "Leszno , Poland Alfred Smoczyk Stadium", "Jason Crump", "Tomasz Gollob", "Andreas Jonsson", "Greg Hancock", "results"], [3, "May 30", "Gothenburg , Sweden Ullevi", "Emil Sayfutdinov", "Jason Crump", "Antonio Lindbck", "Nicki Pedersen", "results"], [4, "June 13", "Copenhagen , Denmark Parken Stadium", "Jason Crump", "Greg Hancock", "Tomasz Gollob", "Niels Kristian Iversen", "results"], [5, "June 27", "Cardiff , Great Britain Millennium Stadium", "Jason Crump", "Fredrik Lindgren", "Hans N. Andersen", "Greg Hancock", "results"], [6, "August 1", "Daugavpils , Latvia Latvijas Spidveja Centrs", "Greg Hancock", "Kenneth Bjerre", "Tomasz Gollob", "Jason Crump", "results"], [7, "August 15", "Mlilla , Sweden G&B Stadium", "Tomasz Gollob", "Jason Crump", "Hans N. Andersen", "Kenneth Bjerre", "results"], [8, "August 29", "Vojens , Denmark Speedway Center", "Andreas Jonsson", "Rune Holta", "Kenneth Bjerre", "Emil Sayfutdinov", "results"], [9, "September 12", "Krko , Slovenia Matije Gubca Stadium", "Emil Sayfutdinov", "Rune Holta", "Tomasz Gollob", "Nicki Pedersen", "results"], [10, "September 26", "Terenzano , Italy Pista Olimpia", "Tomasz Gollob", "Hans N. Andersen", "Nicki Pedersen", "Grzegorz Walasek", "results"]], "types": ["real", "text", "text", "text", "text", "text", "text", "text"], "caption": "Calendar"} | SELECT COUNT([Runner-up]) FROM data_table WHERE LOWER([3rd placed]) = LOWER('Jason Crump') | wiki-sql | 1 | How many runner-ups when Jason Crump placed 3rd? | ||
script | {"header": ["Year", "Game", "Genre", "Platform(s)", "Developer(s)"], "rows": [["2005", "Resident Evil 4", "Survival Horror : ( Third-Person ) Shooter", "GameCube , PlayStation 2 Windows", "Capcom"], ["2006", "Gears of War", "Third-person shooter", "Xbox 360", "Epic Games"], ["2007", "Call of Duty 4: Modern Warfare", "Action", "PlayStation 3 , Xbox 360 , Nintendo DS , PC", "Infinity Ward"], ["2008", "LittleBigPlanet", "Puzzle Platformer", "PlayStation 3", "Media Molecule"], ["2009", "Assassin's Creed II", "Third-person action-adventure", "Microsoft Windows , PlayStation 3 , Xbox 360", "Ubisoft Montreal"]], "types": ["real", "text", "text", "text", "text"], "caption": ""} | SELECT MIN([Year]) FROM data_table WHERE LOWER([Developer(s)]) = LOWER('ubisoft montreal') | wiki-sql | 2009.0 | What is the smallest year when Ubisoft Montreal was the developer (s)? | ||
script | {"header": ["Year", "Start", "Qual", "Rank", "Finish", "Laps"], "rows": [["1952", "20", "134.288", "26", "5", "200"], ["1953", "12", "137.310", "8", "2", "200"], ["1954", "27", "138.675", "14", "11", "200"], ["1955", "24", "138.750", "23", "17", "168"], ["Totals", "Totals", "Totals", "Totals", "Totals", "768"]], "types": ["text", "text", "text", "text", "text", "real"], "caption": "Indy 500 results"} | SELECT ([Laps]) FROM data_table WHERE LOWER([Qual]) = LOWER('138.750') | wiki-sql | 168.0 | How many laps were there for the car with a qual of 138.750? | ||
script | {"header": ["Episode", "Broadcast date", "Run time", "Viewers (in millions)", "Archive"], "rows": [["\" Episode 1 \"", "21March1970", "24:33", "7.1", "PAL 2\" colour videotape"], ["\" Episode 2 \"", "28March1970", "24:39", "7.6", "Chroma dot colour recovery"], ["\" Episode 3 \"", "4April1970", "24:38", "8.0", "Chroma dot colour recovery"], ["\" Episode 4 \"", "11April1970", "24:37", "9.3", "Chroma dot colour recovery"], ["\" Episode 5 \"", "18April1970", "24:17", "7.1", "PAL D3 colour restoration"], ["\" Episode 6 \"", "25April1970", "24:31", "6.9", "Chroma dot colour recovery"], ["\" Episode 7 \"", "2May1970", "24:32", "6.4", "Chroma dot colour recovery"]], "types": ["text", "text", "text", "text", "text"]} | SELECT COUNT([Episode]) FROM data_table WHERE LOWER([Run time]) = LOWER('24:33') | wiki-sql | 1 | How many episodes ran 24:33? | ||
script | {"header": ["Title", "Season", "Winner", "Score", "Runner-up", "Venue", "Attendance"], "rows": [["42nd", "2004-5 Details", "NEC Green Rockets", "17 13", "Toyota Verblitz", "Chichibunomiya , Tokyo", "0"], ["43rd", "2005-6 Details", "Toshiba Brave Lupus NEC Green Rockets", "6 6", "Both teams awarded Championship after a draw.", "Chichibunomiya , Tokyo", "0"], ["44th", "2006-7 Details", "Toshiba Brave Lupus", "19 10", "Toyota Verblitz", "Chichibunomiya , Tokyo", "0"], ["45th", "2007-8 Details", "Sanyo Wild Knights", "40 16", "Suntory Sungoliath", "Chichibunomiya , Tokyo", "0"], ["46th", "2008-9 Details", "Sanyo Wild Knights", "24 18", "Suntory Sungoliath", "Chichibunomiya , Tokyo", "0"], ["47th", "2009-10 Details", "Sanyo Wild Knights", "22 17", "Toyota Verblitz", "Chichibunomiya , Tokyo", "11,479"], ["48th", "2010-11 Details", "Suntory Sungoliath", "37 20", "Sanyo Wild Knights", "Chichibunomiya , Tokyo", "14,477"], ["49th", "2011-12 Details", "Suntory Sungoliath", "21 9", "Panasonic Wild Knights", "Chichibunomiya , Tokyo", "n/a"]], "types": ["text", "text", "text", "text", "text", "text", "text"], "caption": "All Japan Rugby Football Championship Finals"} | SELECT ([Attendance]) FROM data_table WHERE LOWER([Title]) = LOWER('44th') | wiki-sql | 0 | What is the Attendance number for the title of 44th? | ||
script | {"header": ["Date", "Race", "Track", "Winner", "Reports"], "rows": [["02-09-2008", "Daytona ARCA 200", "Daytona", "Michael Annett", "Report"], ["04-13-2008", "Kentuckiana Ford Dealers 200", "Salem Speedway", "Justin Allgaier", "Report"], ["04-19-2008", "Prairie Meadows 250", "Iowa Speedway", "Matt Hawkins", "Report"], ["04-25-2008", "Kansas Lottery $150 Grand", "Kansas Speedway", "Scott Speed", "Report"], ["05-04-2008", "Carolina 500", "Rockingham", "Joey Logano", "Report"], ["05-10-2008", "Drive Smart! 150", "Kentucky", "Ricky Stenhouse, Jr.", "Report"], ["05-18-2008", "Hantz Group 200", "Toledo", "Matt Carter", "Report"], ["06-07-2008", "Pocono 200", "Pocono", "Ricky Stenhouse, Jr.", "Report"], ["06-14-2008", "Racing For Wildlife 200", "Michigan", "Justin Lofton", "Report"], ["06-29-2008", "Cayuga ARCA RE/MAX 250", "Cayuga", "Justin Allgaier", "Report"], ["07-18-2008", "Kentucky 150", "Kentucky", "Scott Speed", "Report"], ["07-26-2008", "Berlin ARCA 200", "Berlin", "Scott Speed", "Report"], ["08-02-2008", "Pennsylvania 200", "Pocono", "Justin Allgaier", "Report"], ["08-09-2008", "Toyota ARCA 150", "Nashville SS", "Scott Speed", "Report"], ["08-17-2008", "Allen Crowe 100", "Springfield", "Frank Kimmel", "Report"], ["09-01-2008", "Southern Illinois 100", "DuQuoin", "Frank Kimmel", "Report"], ["09-06-2008", "Chicagoland ARCA 200", "Chicagoland", "Scott Lagasse Jr.", "Report"], ["09-13-2008", "Eddie Gilstrap Motors 200", "Salem", "Frank Kimmel", "Report"], ["09-28-2008", "Loud Energy Drink 150", "NJMP", "Justin Allgaier", "Report"], ["10-03-2008", "Food World 250", "Talladega", "Justin Allgaier", "Report"], ["10-12-2008", "Toledo ARCA 200", "Toledo", "Justin Allgaier", "Report"]], "types": ["text", "text", "text", "text", "text"], "caption": "Results"} | SELECT ([Race]) FROM data_table WHERE LOWER([Track]) = LOWER('iowa speedway') | wiki-sql | Prairie Meadows 250 | What race happened at Iowa Speedway? | ||
script | {"header": ["Name b ", "Term c ", "Games", "Win%", "PWin%"], "rows": [["George \"Red\" Sullivan", "1967 1969", "150", ".393", ""], ["Red Kelly *", "1969 1973", "274", ".423", ".429"], ["Ken Schinkel", "1973 1974 , 1976 1977", "203", ".478", ""], ["Marc Boileau", "1974 1976", "151", ".517", ".555"], ["Johnny Wilson", "1977 1980", "240", ".471", ".333"], ["Eddie Johnston", "1980 1983 , 1993 1997", "516", ".508", ".478"], ["Lou Angotti", "19831984", "80", ".232", ""], ["Bob Berry", "1984 1987", "240", ".419", ""], ["Pierre Creamer", "19871988", "80", ".506", ""], ["Gene Ubriaco", "1988 1989", "106", ".514", ".636"], ["Craig Patrick ", "19891990 , [d ] 1997 [e ]", "74", ".453", ".200"], ["Bob Johnson ", "19901991", "80", ".550", ".667"], ["Scotty Bowman ", "1991 1993", "164", ".628", ".696"], ["Kevin Constantine", "1997 1999", "189", ".511", ".421"], ["Herb Brooks ", "19992000", "57", ".570", ".545"], ["Ivan Hlinka ", "2000 2001", "86", ".558", ".500"], ["Rick Kehoe", "2001 2003", "160", ".419", ""], ["Ed Olczyk", "2003 2005", "113", ".274", ""], ["Michel Therrien", "2005 2009 [f ]", "272", ".502", ".600"], ["Dan Bylsma", "2009 present", "319", ".669", ".554"]], "types": ["text", "text", "real", "real", "text"], "caption": "Coaches"} | SELECT ([Win%]) FROM data_table WHERE [Games] = 80 AND LOWER([PWin%]) = LOWER('') AND LOWER([Term c ]) = LOWER('19871988') | wiki-sql | 0.506 | What is the win% for the game 80 and a PWin% of , and a Term [c ] of 19871988? | ||
script | {"header": ["Date", "Time", "Home", "Away", "Score", "Ground"], "rows": [["2008-05-10", "10:00", "Toronto Eagles", "High Park Demons", "98-34", "Humber College North"], ["2008-05-10", "12:00", "Toronto Rebels", "Toronto Downtown Dingos", "43-93", "Humber College North"], ["2008-05-10", "15:00", "Broadview Hawks", "Central Blues", "73-47", "Humber College North"], ["2008-05-10", "14:00", "Ottawa Swans", "Etobicoke Kangaroos", "34-138", "Rideau Carleton Raceway"], ["2008-05-10", "14:00", "Guelph Gargoyles", "Hamilton Wildcats", "37-27", "Magaret Green Park"]], "types": ["text", "text", "text", "text", "text", "text"], "caption": "Round one"} | SELECT ([Away]) FROM data_table WHERE LOWER([Home]) = LOWER('guelph gargoyles') | wiki-sql | Hamilton Wildcats | What is Away, when Home is Guelph Gargoyles? | ||
script | {"header": ["Date", "Source", "Polling Agency", "Davis", "Gallagher", "Higgins", "McGuinness", "Mitchell", "Norris", "Scallon"], "rows": [["25 September 2011", "The Sunday Business Post", "RED C", "13%", "11%", "18%", "16%", "13%", "21%", "6%"], ["6 October 2011", "The Irish Times", "Ipsos MRBI", "12%", "20%", "23%", "19%", "9%", "11%", "6%"], ["6 October 2011", "Paddy Power", "RED C", "9%", "21%", "25%", "16%", "10%", "14%", "5%"], ["16 October 2011", "The Sunday Business Post", "RED C", "4%", "39%", "27%", "13%", "8%", "7%", "2%"], ["22 October 2011", "The Sunday Business Post", "RED C", "2%", "40%", "26%", "13%", "6%", "10%", "3%"], ["23 October 2011", "The Irish Times", "Ipsos MRBI", "3%", "40%", "25%", "15%", "6%", "8%", "3%"]], "types": ["text", "text", "text", "text", "text", "text", "text", "text", "text", "text"], "caption": "Opinion polls"} | SELECT ([Higgins]) FROM data_table WHERE LOWER([Scallon]) = LOWER('2%') | wiki-sql | 27% | What is the Higgins with a Scallon that is 2%? | ||
script | {"header": ["Rank", "Year", "Name", "Moving from", "Moving to"], "rows": [["1", "2007", "Nery Castillo", "Olympiacos", "Shakhtar Donetsk"], ["2", "2007", "Willian", "Corinthians", "Shakhtar Donetsk"], ["3", "2004", "Matuzalm", "Brescia", "Shakhtar Donetsk"], ["4", "2007", "Ilsinho", "So Paulo", "Shakhtar Donetsk"], ["5", "2008", "Marcelo Moreno", "Cruzeiro", "Shakhtar Donetsk"], ["6", "2007", "Cristiano Lucarelli", "Livorno", "Shakhtar Donetsk"], ["7", "2005", "Fernandinho", "Atltico Paranaense", "Shakhtar Donetsk"], ["8", "2005", "Elano", "Santos", "Shakhtar Donetsk"], ["9", "2007", "Pape Diakhat", "Nancy", "Dynamo Kyiv"], ["10", "2007", "Ismal Bangoura", "Le Mans", "Dynamo Kyiv"]], "types": ["real", "real", "text", "text", "text"], "caption": "Incoming transfers"} | SELECT ([Moving to]) FROM data_table WHERE [Year] > 2005 AND [Rank] > 5 AND LOWER([Name]) = LOWER('ismal bangoura') | wiki-sql | Dynamo Kyiv | Ismal Bangoura with a rank larger than 5 after the year 2005 was moving to what football club? | ||
script | {"header": ["Ring name", "Current rank", "Debut", "Stable", "Birthplace", "Career and other notes"], "rows": [["Chiyonokuni Toshiki", "f0 Jry 3 West", "2006-5", "Kokonoe", "Mie", "former maegashira 8, jry champion"], ["Ikioi Shta", "e0 Maegashira 6 West", "2005-3", "Isenoumi", "os saka", "former maegashira 1, jry champion"], ["Kimikaze Toshiji", "g1 Makushita 13 West", "2009-1", "Oguruma", "Tokyo", "former maegashira 13, jry champion"], ["Kyokushh Kki", "e1 Maegashira 14 East", "2007-5", "o shima", "z Mongolia", "former maegashira 12"], ["Tamaasuka Daisuke", "e1 Maegashira 16 West", "1998-3", "Kataonami", "Aichi", "former maegashira 9, two time jry winner"], ["Tochinoshin Tsuyoshi", "f1 Jry 14 West", "2006-3", "Kasugano", "z Mtskheta , Georgia", "many time komusubi, fellow countryman of Kokkai"], ["Tochizan Yichir", "c Sekiwake West", "2005-1", "Kasugano", "Kchi", "many time sekiwake, longtime rival of Geid"], ["Tokitenk Yoshiaki", "e1 Maegashira 10 East", "2002-7", "Tokitsukaze", "z Tv aimag , Mongolia", "former komusubi, consistent maegashira performer"], ["Tokushry Makota", "e1 Maegashira 14 West", "2009-1", "Kise", "Nara", "former maegashira 10"]], "types": ["text", "text", "text", "text", "text", "text"], "caption": "List"} | SELECT ([Ring name]) FROM data_table WHERE LOWER([Current rank]) = LOWER('f0 Jry 3 West') | wiki-sql | Chiyonokuni Toshiki | Which ring names are currently ranked f0 jry 3 west? | ||
script | {"header": ["Rank", "Gold", "Silver", "Bronze", "Total"], "rows": [["1", "1", "3", "0", "4"], ["2", "1", "1", "3", "5"], ["3", "1", "1", "2", "4"], ["4", "1", "1", "0", "2"], ["6", "1", "0", "1", "2"], ["7", "1", "0", "0", "1"], ["10", "0", "1", "0", "1"], ["12", "0", "0", "3", "3"]], "types": ["real", "real", "real", "real", "real"], "caption": "Performances by nation"} | SELECT COUNT([Total]) FROM data_table WHERE [Gold] = 1 AND [Rank] > 4 AND [Bronze] = 0 | wiki-sql | 1 | What is the total when gold is 1, and rank is more than 4, and bronze is 0? | ||
script | {"header": ["sSpec number", "Frequency", "L2 cache", "Mult.", "Voltage", "Socket", "Release date", "Part number(s)", "Release price ( USD )"], "rows": [["without QuickAssist", "without QuickAssist", "without QuickAssist", "without QuickAssist", "without QuickAssist", "without QuickAssist", "without QuickAssist", "without QuickAssist", "without QuickAssist"], ["SLJ6D(B1)SLJ6F(B1)", "600 MHz", "256 KB", "6", "1V", "FCBGA1088", "2008 Q3", "NU80579EZ600CNU80579EZ600CT", "$4051"], ["SLJ6C(B1)", "1.07 GHz", "256 KB", "8", "1.3V", "FCBGA1088", "2008 Q3", "NU80579EZ004C", "$42"], ["SLJ6B(B1)", "1.2 GHz", "256 KB", "9", "1.3V", "FCBGA1088", "2008 Q3", "NU80579EZ009C", "$70"], ["with QuickAssist", "with QuickAssist", "with QuickAssist", "with QuickAssist", "with QuickAssist", "with QuickAssist", "with QuickAssist", "with QuickAssist", "with QuickAssist"], ["SLJ6A(B1)", "600 MHz", "256 KB", "6", "1V", "FCBGA1088", "2008 Q3", "NU80579EB600C", "$44"], ["SLJ69(B1)SLJ6E(B1)", "1.07 GHz", "256 KB", "8", "1.3V", "FCBGA1088", "2008 Q3", "NU80579ED004CNU80579ED004CT", "$66102"], ["SLJ68(B1)", "1.2 GHz", "256 KB", "9", "1.3V", "FCBGA1088", "2008 Q3", "NU80579ED009C", "$102"]], "types": ["text", "text", "text", "text", "text", "text", "text", "text", "text"], "caption": "Table of Intel 80579 processors"} | SELECT ([Mult.]) FROM data_table WHERE LOWER([Socket]) = LOWER('fcbga1088') AND LOWER([Voltage]) = LOWER('1v') AND LOWER([Part number(s)]) = LOWER('nu80579ez600cnu80579ez600ct') | wiki-sql | 6 | Socket of fcbga1088, and a Voltage of 1v, and a Part number(s) of nu80579ez600cnu80579ez600ct is what mult? | ||
script | {"header": ["Year", "Channel", "Play-by-play", "Color commentator(s)", "Courtside reporter", "Studio host", "Studio analysts"], "rows": [["2009-10", "Comcast SportsNet New England", "Mike Gorman", "Tom Heinsohn or Donny Marshall (Select Road Games)", "Greg Dickerson", "Gary Tanguay", "Donny Marshall or Tom Heinsohn (Select road games)"], ["2008-09", "Comcast SportsNet New England", "Mike Gorman", "Tom Heinsohn or Donny Marshall (Select Road Games)", "Greg Dickerson", "Gary Tanguay", "Donny Marshall or Tom Heinsohn (Select road games)"], ["2007-08", "Comcast SportsNet New England", "Mike Gorman", "Tom Heinsohn or Donny Marshall (Select Road Games)", "Greg Dickerson", "Gary Tanguay", "Donny Marshall or Tom Heinsohn (Select road games)"], ["2006-07", "FSN New England", "Mike Gorman", "Tom Heinsohn", "Greg Dickerson", "Gary Tanguay", "Donny Marshall"], ["2005-06", "FSN New England", "Mike Gorman", "Tom Heinsohn", "Greg Dickerson", "Gary Tanguay", "Donny Marshall"], ["2004-05", "FSN New England", "Mike Gorman", "Tom Heinsohn", "Willie Maye", "Gary Tanguay & Greg Dickerson", "Guest Analysts"], ["2003-04", "Fox Sports Net New England", "Mike Gorman", "Tom Heinsohn", "Willie Maye", "Gary Tanguay & Greg Dickerson", "Guest Analysts"], ["2002-03", "Fox Sports Net New England", "Mike Gorman", "Tom Heinsohn", "Willie Maye", "Gary Tanguay & Greg Dickerson", "Guest Analysts"], ["2001-02", "Fox Sports Net New England", "Mike Gorman", "Tom Heinsohn", "Willie Maye", "Gary Tanguay & Greg Dickerson", "Guest Analysts"], ["2000-01", "Fox Sports Net New England", "Mike Gorman", "Tom Heinsohn", "Willie Maye", "Gary Tanguay & Eric Frede", "Guest Analysts"]], "types": ["text", "text", "text", "text", "text", "text", "text"], "caption": "2000s"} | SELECT ([Courtside reporter]) FROM data_table WHERE LOWER([Channel]) = LOWER('fsn new england') AND LOWER([Year]) = LOWER('2006-07') | wiki-sql | Greg Dickerson | Which Courtside reporter has a Channel of fsn new england in 2006-07? | ||
script | {"header": ["Year", "Award", "Category", "Nominated", "Result"], "rows": [["2008", "CAPIF Award", "Best Album by a Film/Television Band", "Teen Angels 2", "Nominated"], ["2009-10", "Los 40 Principales Award", "Best Argentine Artist", "Teen Angels", "Won"], ["2011", "Kids' Choice Awards Argentina", "Best Actress", "Casi ngeles", "Won"], ["2011", "Kids' Choice Awards Argentina", "Revelation", "Casi ngeles", "Nominated"], ["2013", "Kids' Choice Awards Argentina", "Twitter Star of the Year", "Herself", "Nominated"]], "types": ["text", "text", "text", "text", "text"], "caption": "Awards and nominations"} | SELECT ([Year]) FROM data_table WHERE LOWER([Award]) = LOWER('kids'' choice awards argentina') AND LOWER([Category]) = LOWER('best actress') | wiki-sql | 2011 | What year was there a nomination for Best Actress at the Kids' Choice Awards Argentina? | ||
script | {"header": ["Club", "Wins", "Losses", "Draws", "Against"], "rows": [["Colac", "10", "4", "0", "828"], ["Cobden", "9", "4", "1", "909"], ["South Warrnambool", "9", "4", "1", "836"], ["Warrnambool", "9", "5", "0", "929"], ["Camperdown", "8", "5", "1", "1173"], ["Mortlake", "5", "8", "1", "1118"], ["Terang", "2", "12", "0", "1344"], ["Port Fairy", "2", "12", "0", "1510"]], "types": ["text", "real", "real", "real", "real"], "caption": "1949 Ladder"} | SELECT COUNT([Against]) FROM data_table WHERE [Wins] > 2 AND [Losses] = 5 AND [Draws] < 0 | wiki-sql | 0 | What is the total number of Against values for clubs with more than 2 wins, 5 losses, and 0 draws? | ||
script | {"header": ["Processor", "Brand Name", "Model (list)", "Cores", "L2 Cache", "Socket", "TDP"], "rows": [["Yorkfield", "Xeon", "X33x0", 4, "2326 MB", "LGA 775", "6595 W"], ["Yorkfield-CL", "Xeon", "X33x3", 4, "2326 MB", "LGA 771", "80 W"], ["Yorkfield-6M", "Core 2 Quad", "Q8xxx", 4, "22 MB", "LGA 775", "6595 W"], ["Yorkfield-6M", "Core 2 Quad", "Q9x0x", 4, "23 MB", "LGA 775", "6595 W"], ["Yorkfield", "Core 2 Quad", "Q9x5x", 4, "26 MB", "LGA 775", "6595 W"], ["Yorkfield XE", "Core 2 Extreme", "QX9xxx", 4, "26 MB", "LGA 775", "130136 W"]], "types": ["text", "text", "text", "real", "text", "text", "text"], "caption": "Variants"} | SELECT ([Processor]) FROM data_table WHERE LOWER([Model (list)]) = LOWER('X33x0') | wiki-sql | Yorkfield | what is the name of the processor for model x33x0? | ||
script | {"header": ["Country", "Film title used in nomination", "Language", "Original title", "Director"], "rows": [["Belgium", "The Lonely Killers", "French", "Les tueurs fous", "Boris Szulzinger"], ["Brazil", "How Tasty Was My Little Frenchman", "Portuguese, French, Tupi", "Como Era Gostoso o Meu Francs", "Nelson Pereira dos Santos"], ["Bulgaria", "The Goat Horn", "Bulgarian", " ", "Metodi Andonov"], ["Canada", "The True Nature of Bernadette", "French", "La Vraie nature de Bernadette", "Gilles Carle"], ["Denmark", "Oh, to Be on the Bandwagon!", "Danish", "Man sku vre noget ved musikken", "Henning Carlsen"], ["Egypt", "My Wife and the Dog", "Arabic", " ", "Said Marzouk"], ["France", "The Discreet Charm of the Bourgeoisie", "French, Spanish", "Le Charme discret de la bourgeoisie", "Luis Buuel"], ["West Germany", "Trotta", "German", "Trotta", "Johannes Schaaf"], ["Hungary", "Present Indicative", "Hungarian", "Jelenid", "Pter Bacs"], ["India", "Uphaar", "Hindi", "", "Sudhendu Roy"], ["Israel", "I Love You Rosa", "Hebrew", " ", "Mosh Mizrahi"], ["Italy", "Roma", "Italian", "Roma", "Federico Fellini"], ["Japan", "Under the Flag of the Rising Sun", "Japanese", "", "Kinji Fukasaku"], ["Kuwait", "The Cruel Sea", "Arabic", " ", "Khalid Al Siddiq"], ["Peru", "Mirage", "Spanish", "Espejismo", "Armando Robles Godoy"], ["Poland", "Pearl in the Crown", "Polish", "Perla w koronie", "Kazimierz Kutz"], ["Spain", "My Dearest Senorita", "Spanish", "Mi querida seorita", "Jaime de Armin"], ["Sweden", "The New Land", "Swedish", "Nybyggarna", "Jan Troell"], ["Switzerland", "La Salamandre", "French", "La Salamandre", "Alain Tanner"], ["Taiwan", "Execution in Autumn", "Chinese", "", "Li Hsing"], ["Soviet Union", "The Dawns Here Are Quiet", "Russian", " ", "Stanislav Rostotsky"], ["Yugoslavia", "The Master and Margaret", "Serbo-Croatian", "Majstor i Margarita", "Aleksandar Petrovi"]], "types": ["text", "text", "text", "text", "text"], "caption": "References"} | SELECT ([Language]) FROM data_table WHERE LOWER([Country]) = LOWER('switzerland') | wiki-sql | French | Name the langauge for switzerland | ||
script | {"header": ["Place", "Player", "Country", "Score", "To par"], "rows": [["T1", "Bobby Nichols", "United States", "70-72-70=212", "1"], ["T1", "Arnold Palmer", "United States", "71-68-73=212", "1"], ["T3", "Phil Rodgers", "United States", "74-70-69=213", "E"], ["T3", "Bob Rosburg", "United States", "70-69-74=213", "E"], ["T5", "Jack Nicklaus", "United States", "72-70-72=214", "+1"], ["T5", "Gary Player", "South Africa", "71-71-72=214", "+1"], ["6", "Gene Littler", "United States", "69-74-72=215", "+2"], ["7", "Billy Maxwell", "United States", "71-70-75=216", "+3"], ["8", "Art Wall, Jr.", "United States", "73-72-72=217", "+4"], ["T9", "Gay Brewer", "United States", "73-72-73=218", "+5"], ["T9", "Tommy Jacobs", "United States", "74-71-73=218", "+5"]], "types": ["text", "text", "text", "text", "text"], "caption": "Third round"} | SELECT ([Country]) FROM data_table WHERE LOWER([Player]) = LOWER('billy maxwell') | wiki-sql | United States | What is Country, when Player is "Billy Maxwell"? | ||
script | {"header": ["Episode #", "US air date", "Rating", "Share", "Rating/Share (1849)", "Viewers (millions)"], "rows": [["1", "Thursday, April 9, 2009", "6.5", "11", "2.6/8", "10.21"], ["2", "Thursday, April 16, 2009", "5.1", "9", "2.2/6", "7.82"], ["3", "Thursday, April 23, 2009", "4.7", "9", "1.9/5", "7.02"], ["4", "Saturday, May 2, 2009", "3.1", "6", "1.0/3", "4.61"], ["5", "Saturday, May 9, 2009", "3.1", "6", "1.1/3", "4.60"], ["6", "Saturday, May 23, 2009", "2.5", "5", "1.0/4", "3.85"], ["7", "Saturday, May 30, 2009", "2.4", "5", "0.9/3", "3.62"], ["8", "Saturday, June 6, 2009", "2.4", "5", "0.9/3", "3.56"], ["9", "Saturday, June 13, 2009", "2.0", "4", "0.8/3", "3.20"], ["10", "Saturday, June 20, 2009", "TBA", "TBA", "0.9/4", "3.79"], ["11", "Saturday, June 27, 2009", "2.4", "5", "0.8/3", "3.53"], ["12", "Saturday, July 11, 2009", "2.4", "5", "0.8/3", "3.63"], ["13", "Saturday, July 11, 2009", "2.6", "5", "1.0/3", "4.05"]], "types": ["real", "text", "text", "text", "text", "real"], "caption": "Ratings"} | SELECT AVG([Viewers (millions)]) FROM data_table WHERE [Episode #] < 11 AND LOWER([Share]) = LOWER('4') | wiki-sql | 3.2 | What is the average number of million viewers that watched an episode before episode 11 with a share of 4? | ||
script | {"header": ["Heir", "Status", "Relationship to Monarch", "Became heir", "Reason", "Ceased to be heir", "Monarch"], "rows": [["Robert Curthose", "Heir presumptive", "Son", "1066", "father became king", "1077", "William I"], ["Succession unclear 1077-1087", "Succession unclear 1077-1087", "Succession unclear 1077-1087", "Succession unclear 1077-1087", "Succession unclear 1077-1087", "Succession unclear 1077-1087", "William I"], ["Robert Curthose", "Heir presumptive", "Elder brother", "1087", "By agreement", "1088", "William II"], ["Henry Beauclerc", "Heir presumptive", "Younger brother", "1088", "Robert's rebellion", "2 August 1100", "William II"], ["Succession unclear 1100-1103", "Succession unclear 1100-1103", "Succession unclear 1100-1103", "Succession unclear 1100-1103", "Succession unclear 1100-1103", "Succession unclear 1100-1103", "Henry I"], ["William Adelin", "Heir apparent", "Only son", "1103", "born", "25 November 1120", "Henry I"], ["Empress Matilda", "Heiress presumptive", "Only child", "25 November 1120 proclaimed 1127", "brother died", "1 December 1135 (22 December 1135)", "Henry I"]], "types": ["text", "text", "text", "text", "text", "text", "text"], "caption": "1066 to 1135"} | SELECT ([Monarch]) FROM data_table WHERE LOWER([Heir]) = LOWER('robert curthose') AND LOWER([Reason]) = LOWER('father became king') | wiki-sql | William I | Who is the Monarch whose Heir is Robert Curthose when the Reason is that the father became king? | ||
script | {"header": ["Season", "Conference", "Division", "Finish", "Wins", "Losses", "Win%", "Awards"], "rows": [["Vancouver Grizzlies", "Vancouver Grizzlies", "Vancouver Grizzlies", "Vancouver Grizzlies", "Vancouver Grizzlies", "Vancouver Grizzlies", "Vancouver Grizzlies", "Vancouver Grizzlies"], ["199596", "West", "Midwest", "7th", "15", "67", ".183", ""], ["199697", "West", "Midwest", "7th", "14", "68", ".171", ""], ["199798", "West", "Midwest", "6th", "19", "63", ".232", ""], ["199899", "West", "Midwest", "7th", "8", "42", ".160", ""], ["199900", "West", "Midwest", "7th", "22", "60", ".268", ""], ["200001", "West", "Midwest", "7th", "23", "59", ".280", ""], ["Memphis Grizzlies", "Memphis Grizzlies", "Memphis Grizzlies", "Memphis Grizzlies", "Memphis Grizzlies", "Memphis Grizzlies", "Memphis Grizzlies", "Memphis Grizzlies"], ["200102", "West", "Midwest", "7th", "23", "59", ".280", "Pau Gasol (ROY)"], ["200203", "West", "Midwest", "6th", "28", "54", ".341", ""], ["200304", "West", "Midwest", "4th ", "50", "32", ".610", "Hubie Brown (COY) Jerry West (EOY)"], ["200405", "West", "Southwest", "4th ", "45", "37", ".549", ""], ["200506", "West", "Southwest", "3rd ", "49", "33", ".598", "Mike Miller (SMOY)"], ["200607", "West", "Southwest", "5th", "22", "60", ".268", ""], ["200708", "West", "Southwest", "5th", "22", "60", ".268", ""], ["200809", "West", "Southwest", "5th", "24", "58", ".293", ""], ["200910", "West", "Southwest", "4th", "40", "42", ".488", ""], ["201011", "West", "Southwest", "3rd ", "46", "36", ".561", ""], ["201112", "West", "Southwest", "2nd ", "41", "25", ".621", ""], ["201213", "West", "Southwest", "2nd ", "56", "26", ".683", "Marc Gasol (DPOY)"]], "types": ["text", "text", "text", "text", "text", "text", "text", "text"], "caption": "Seasons"} | SELECT ([Losses]) FROM data_table WHERE LOWER([Awards]) = LOWER('mike miller (smoy)') | wiki-sql | 33 | What are the losses where the award is Mike Miller (Smoy)? | ||
script | {"header": ["Date", "Visitor", "Score", "Home", "Decision", "Series"], "rows": [["April 7", "Calgary", "3 - 5", "Vancouver", "Cloutier", "1 0"], ["April 9", "Calgary", "2 1", "Vancouver", "Kiprusoff", "1 1"], ["April 11", "Vancouver", "2 1", "Calgary", "Hedberg", "2 1"], ["April 13", "Vancouver", "0 4", "Calgary", "Kiprusoff", "2 - 2"], ["April 15", "Calgary", "2 1", "Vancouver", "Kiprusoff", "3 2"], ["April 17", "Vancouver", "5 4", "Calgary", "Auld", "3 3"], ["April 19", "Calgary", "2 1", "Vancouver", "Kiprusoff", "4 3"]], "types": ["text", "text", "text", "text", "text", "text"], "caption": "Western Conference Quarter-Finals vs. (6) Calgary Flames"} | SELECT ([Visitor]) FROM data_table WHERE LOWER([Home]) = LOWER('vancouver') AND LOWER([Decision]) = LOWER('cloutier') | wiki-sql | Calgary | Which Visitor has a Home of vancouver, and a Decision of cloutier? | ||
script | {"header": ["Home team", "Home team score", "Away team", "Away team score", "Venue", "Crowd", "Date"], "rows": [["Footscray", "3.12 (30)", "St Kilda", "5.13 (43)", "Western Oval", "7,000", "2 July 1927"], ["Essendon", "6.12 (48)", "Fitzroy", "7.6 (48)", "Windy Hill", "7,000", "2 July 1927"], ["Collingwood", "8.11 (59)", "North Melbourne", "3.11 (29)", "Victoria Park", "7,000", "2 July 1927"], ["Carlton", "8.7 (55)", "Melbourne", "10.10 (70)", "Princes Park", "13,000", "2 July 1927"], ["South Melbourne", "13.19 (97)", "Hawthorn", "5.11 (41)", "Lake Oval", "5,000", "2 July 1927"], ["Richmond", "9.15 (69)", "Geelong", "7.11 (53)", "Punt Road Oval", "15,000", "2 July 1927"]], "types": ["text", "text", "text", "text", "text", "real", "text"], "caption": "Round 10"} | SELECT ([Away team score]) FROM data_table WHERE LOWER([Away team]) = LOWER('hawthorn') | wiki-sql | 5.11 (41) | What was Hawthorn's score as the away team? | ||
script | {"header": ["Home team", "Home team score", "Away team", "Away team score", "Venue", "Crowd", "Date"], "rows": [["Hawthorn", "12.14 (86)", "Richmond", "20.11 (131)", "Princes Park", "19,519", "18 July 1981"], ["Essendon", "22.21 (153)", "Footscray", "8.12 (60)", "Windy Hill", "21,588", "18 July 1981"], ["South Melbourne", "22.19 (151)", "St Kilda", "16.4 (100)", "Lake Oval", "13,297", "18 July 1981"], ["Melbourne", "12.7 (79)", "Geelong", "22.35 (167)", "MCG", "21,947", "18 July 1981"], ["Collingwood", "11.11 (77)", "Carlton", "10.16 (76)", "Victoria Park", "30,708", "18 July 1981"], ["Fitzroy", "18.13 (121)", "North Melbourne", "12.15 (87)", "VFL Park", "17,713", "18 July 1981"]], "types": ["text", "text", "text", "text", "text", "real", "text"], "caption": "Round 16"} | SELECT ([Date]) FROM data_table WHERE LOWER([Home team]) = LOWER('essendon') | wiki-sql | 18 July 1981 | On what date was the Essendon home match? | ||
script | {"header": ["Year", "Award", "Category", "Nominee", "Result"], "rows": [["2009", "Laurence Olivier Award", "Best Musical Revival", "Best Musical Revival", "Won"], ["2009", "Laurence Olivier Award", "Best Actor in a Musical", "Douglas Hodge", "Won"], ["2009", "Laurence Olivier Award", "Best Actor in a Musical", "Denis Lawson", "Nominated"], ["2009", "Laurence Olivier Award", "Best Performance in a Supporting Role in a Musical", "Jason Pennycooke", "Nominated"], ["2009", "Laurence Olivier Award", "Best Director of a Musical", "Terry Johnson", "Nominated"], ["2009", "Laurence Olivier Award", "Best Theatre Choreographer", "Lynne Page", "Nominated"], ["2009", "Laurence Olivier Award", "Best Costume Design", "Matthew Wright", "Nominated"]], "types": ["real", "text", "text", "text", "text"], "caption": "2008 London revival"} | SELECT ([Result]) FROM data_table WHERE LOWER([Nominee]) = LOWER('jason pennycooke') | wiki-sql | Nominated | Did Jason Pennycooke win the award he was nominated for? | ||
script | {"header": ["Title", "Author", "Reader", "Format", "Company", "Release Date", "Notes"], "rows": [["The Glittering Storm", "Cole, Stephen Stephen Cole", "Sladen, Elisabeth Elisabeth Sladen", "CD", "BBC Audio", "2007-11-05 5 November 2007", "An original audiobook, not published in book form."], ["The Thirteenth Stone", "Richards, Justin Justin Richards", "Sladen, Elisabeth Elisabeth Sladen", "CD", "BBC Audio", "2007-11-05 5 November 2007", "An original audiobook, not published in book form."], ["The Time Capsule", "Anghelides, Peter Peter Anghelides", "Sladen, Elisabeth Elisabeth Sladen", "CD", "BBC Audio", "2008-11-13 13 November 2008", "An original audiobook, not published in book form."], ["The Ghost House", "Cole, Stephen Stephen Cole", "Sladen, Elisabeth Elisabeth Sladen", "CD", "BBC Audio", "2008-11-13 13 November 2008", "An original audiobook, not published in book form."], ["The White Wolf", "Russell, Gary Gary Russell", "Sladen, Elisabeth Elisabeth Sladen", "CD", "BBC Audio", "2009-09-03 3 September 2009", "An original audiobook, not published in book form."], ["The Shadow People", "Handcock, Scott Scott Handcock", "Sladen, Elisabeth Elisabeth Sladen", "CD", "BBC Audio", "2009-09-03 3 September 2009", "An original audiobook, not published in book form."], ["Deadly Download", "Arnopp, Jason Jason Arnopp", "Sladen, Elisabeth Elisabeth Sladen", "CD", "BBC Audio", "2010-11-04 4 November 2010", "An original audiobook, not published in book form."], ["Children of Steel", "Day, Martin Martin Day", "Anthony, Daniel Daniel Anthony", "CD", "BBC Audio", "2011-10-06 6 October 2011", "An original audiobook, not published in book form."]], "types": ["text", "text", "text", "text", "text", "text", "text"], "caption": "The Sarah Jane Adventures"} | SELECT ([Reader]) FROM data_table WHERE LOWER([Author]) = LOWER('Cole, Stephen Stephen Cole') AND LOWER([Release Date]) = LOWER('2008-11-13 13 November 2008') | wiki-sql | Sladen, Elisabeth Elisabeth Sladen | who is the reader of the audiobook authored by cole, stephen stephen cole and released on 2008-11-13 13 november 2008 | ||
script | {"header": ["Pick #", "Player", "Position", "Nationality", "NHL team", "College/junior/club team"], "rows": [[159, "Norm McLeod", "Left Wing", "Canada", "Toronto Maple Leafs", "Ottawa M&W Rangers (CJHL)"], [160, "Angie Moretto", "Centre", "Canada", "California Golden Seals", "University of Michigan (NCAA)"], [161, "Russ Wiechnik", "Centre", "Canada", "Minnesota North Stars", "Calgary Centennials (WCHL)"], [162, "Greg Fox", "Defence", "Canada", "Atlanta Flames", "University of Michigan (WCHA)"], [163, "Max Hansen", "Left Wing", "United States", "Minnesota North Stars", "Sudbury Wolves (OHA)"], [164, "Don McLeod", "Centre", "Canada", "Pittsburgh Penguins", "Saskatoon Blades (WCHL)"], [165, "Gene Strate", "Defence", "Canada", "Chicago Black Hawks", "Edmonton Oil Kings (WCHL)"], [166, "Gord Halliday", "Right Wing", "Canada", "Montreal Canadiens", "University of Pennsylvania (NCAA)"]], "types": ["real", "text", "text", "text", "text", "text"], "caption": "Round eleven"} | SELECT ([NHL team]) FROM data_table WHERE LOWER([College/junior/club team]) = LOWER('Calgary Centennials (WCHL)') | wiki-sql | Minnesota North Stars | What NHL team was the player from Calgary Centennials (WCHL) drafted for? | ||
script | {"header": ["Rank", "Nation", "Gold", "Silver", "Bronze", "Total"], "rows": [["1", "Canada", "17", "10", "7", "34"], ["2", "Scotland", "9", "4", "11", "24"], ["3", "Sweden", "5", "11", "4", "20"], ["4", "Switzerland", "4", "7", "6", "17"], ["5", "United States", "3", "0", "7", "10"], ["6", "Denmark", "1", "1", "0", "2"], ["7", "Germany", "0", "2", "3", "5"], ["8", "Norway", "0", "1", "4", "5"], ["9", "France", "0", "1", "1", "2"], ["10", "Finland", "0", "1", "0", "1"], ["10", "Russia", "0", "1", "0", "1"], ["Total", "Total", "39", "39", "43", "121"]], "types": ["text", "text", "real", "real", "real", "real"], "caption": "All-time Medal Tables"} | SELECT ([Rank]) FROM data_table WHERE [Bronze] < 7 AND LOWER([Nation]) = LOWER('norway') | wiki-sql | 8 | Where does Norway rank in total medals among countries with fewer than 7 bronzes? | ||
script | {"header": ["Tournament", "1998", "2000", "2001", "2002", "2003", "2004", "2005", "2006", "2007", "2008", "2009", "2010", "2011", "2012", "Career SR", "Career Win-Loss"], "rows": [["Australian Open", "A", "1R", "1R", "3R", "3R", "1R", "3R", "QF", "2R", "A", "2R", "A", "1R", "A", "0 / 10", "1110"], ["French Open", "A", "A", "1R", "1R", "2R", "1R", "1R", "1R", "1R", "1R", "3R", "A", "3R", "1R", "0 / 11", "511"], ["Wimbledon", "A", "A", "1R", "1R", "2R", "QF", "2R", "3R", "1R", "2R", "1R", "A", "3R", "A", "0 / 10", "1010"], ["U.S. Open", "A", "A", "A", "1R", "1R", "2R", "1R", "SF", "1R", "3R", "1R", "A", "1R", "1R", "0 / 10", "710"], ["Grand Slam SR", "0 / 0", "0 / 1", "0 / 3", "0 / 4", "0 / 4", "0 / 4", "0 / 4", "0 / 4", "0 / 4", "0 / 3", "0 / 4", "0 / 0", "0 / 4", "0 / 2", "N / A", "0 / 41"], ["Grand Slam Win-Loss", "00", "01", "03", "24", "44", "44", "34", "94", "14", "33", "34", "00", "44", "02", "N / A", "3341"]], "types": ["text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "text"], "caption": "Grand Slam Men's Doubles Performance Timeline"} | SELECT ([2011_]) FROM data_table WHERE LOWER([Career Win-Loss]) = LOWER('710') | wiki-sql | 1R | Which 2011 has a Career Win-Loss of 710? | ||
script | {"header": ["Home team", "Home team score", "Away team", "Away team score", "Venue", "Crowd", "Date"], "rows": [["North Melbourne", "8.14 (62)", "St Kilda", "12.9 (81)", "Arden Street Oval", "13,000", "28 April 1951"], ["Fitzroy", "12.11 (83)", "Geelong", "10.7 (67)", "Brunswick Street Oval", "18,000", "28 April 1951"], ["South Melbourne", "5.7 (37)", "Richmond", "14.13 (97)", "Lake Oval", "18,000", "28 April 1951"], ["Hawthorn", "9.7 (61)", "Essendon", "12.14 (86)", "Glenferrie Oval", "12,000", "28 April 1951"], ["Melbourne", "7.15 (57)", "Collingwood", "15.16 (106)", "MCG", "37,000", "28 April 1951"], ["Footscray", "5.11 (41)", "Carlton", "4.16 (40)", "Western Oval", "26,000", "28 April 1951"]], "types": ["text", "text", "text", "text", "text", "real", "text"], "caption": "Round 2"} | SELECT MAX([Crowd]) FROM data_table WHERE LOWER([Away team]) = LOWER('st kilda') | wiki-sql | 13000.0 | What is the largest crowd when st kilda was the away team? | ||
script | {"header": ["Date", "City", "Country", "Venue", "Attendance"], "rows": [["July 20, 2007", "Sault Ste. Marie, Michigan", "United States", "Kewadin Casino", "10,000"], ["July 21, 2007", "Cadott, Wisconsin", "United States", "Cadott Rock Fest", "35,000"], ["July 25, 2007", "Anaheim, California", "United States", "Cisco Customer Appreciation Event", "1,000"], ["July 27, 2007", "San Jacinto, California", "United States", "Soboba Casino Arena", "3,500"], ["September 15, 2007", "Whistler, British Columbia", "Canada", "Blackcomb Mountain", "Canceled"], ["October 26, 2007", "Paradise, Nevada", "United States", "Mandalay Bay Resort", "1,500"]], "types": ["text", "text", "text", "text", "text"], "caption": "Hit 'N Run shows"} | SELECT ([Date]) FROM data_table WHERE LOWER([Venue]) = LOWER('cadott rock fest') | wiki-sql | July 21, 2007 | When is Cadott Rock Fest taken place? | ||
script | {"header": ["Exit date", "Pos.", "Player", "To club", "Transfer fee"], "rows": [["15 May 2007", "DF", "Hatem Trabelsi", "Al-Hilal", "Released"], ["23 May 2007", "DF", "Sylvain Distin", "Portsmouth", "Free"], ["14 June 2007", "MF", "Joey Barton", "Newcastle United", "5.8m"], ["4 July 2007", "GK", "Nicky Weaver", "Charlton Athletic", "Free"], ["10 July 2007", "MF", "Trevor Sinclair", "Cardiff City", "Free"], ["16 July 2007", "DF", "Stephen Jordan", "Burnley", "Free"], ["31 Jan. 2008", "MF", "Ousmane Dabo", "Lazio", "Free"], ["31 Jan. 2008", "FW", "Ishmael Miller", "West Brom. Albion", ".9m1.4m"]], "types": ["text", "text", "text", "text", "text"], "caption": "First team"} | SELECT ([Player]) FROM data_table WHERE LOWER([Pos.]) = LOWER('fw') | wiki-sql | Ishmael Miller | Which player has a position of FW? | ||
script | {"header": ["Tie no", "Home team", "Score", "Away team", "Date"], "rows": [["1", "Southampton", "00", "Everton", "14 February 1981"], ["Replay", "Everton", "10", "Southampton", "17 February 1981"], ["2", "Nottingham Forest", "21", "Bristol City", "14 February 1981"], ["3", "Wolverhampton Wanderers", "31", "Wrexham", "14 February 1981"], ["4", "Middlesbrough", "21", "Barnsley", "14 February 1981"], ["5", "Ipswich Town", "20", "Charlton Athletic", "14 February 1981"], ["6", "Newcastle United", "11", "Exeter City", "14 February 1981"], ["Replay", "Exeter City", "40", "Newcastle United", "18 February 1981"], ["7", "Tottenham Hotspur", "31", "Coventry City", "14 February 1981"], ["8", "Peterborough United", "01", "Manchester City", "14 February 1981"]], "types": ["text", "text", "text", "text", "text"], "caption": "Fifth Round Proper"} | SELECT ([Away team]) FROM data_table WHERE LOWER([Tie no]) = LOWER('4') | wiki-sql | Barnsley | What is the away team with a 4 tie no.? | ||
script | {"header": ["Home team", "Home team score", "Away team", "Away team score", "Venue", "Crowd", "Date"], "rows": [["Footscray", "5.16 (46)", "St Kilda", "16.18 (114)", "Western Oval", "18,107", "9 August 1975"], ["Collingwood", "20.18 (138)", "Essendon", "15.9 (99)", "Victoria Park", "18,664", "9 August 1975"], ["Richmond", "13.18 (96)", "North Melbourne", "13.23 (101)", "MCG", "39,664", "9 August 1975"], ["Hawthorn", "25.23 (173)", "Geelong", "8.7 (55)", "Princes Park", "8,123", "9 August 1975"], ["South Melbourne", "13.20 (98)", "Fitzroy", "16.19 (115)", "Lake Oval", "9,032", "9 August 1975"], ["Melbourne", "11.23 (89)", "Carlton", "7.9 (51)", "VFL Park", "30,328", "9 August 1975"]], "types": ["text", "text", "text", "text", "text", "real", "text"], "caption": "Round 19"} | SELECT MIN([Crowd]) FROM data_table WHERE LOWER([Away team score]) = LOWER('7.9 (51)') | wiki-sql | 30328.0 | When the away team scored 7.9 (51), what was the smallest crowd that turned out? | ||
script | {"header": ["Rider", "Manufacturer", "Laps", "Time/Retired", "Grid"], "rows": [["Casey Stoner", "Ducati", "22", "44:12.891", "4"], ["Valentino Rossi", "Yamaha", "22", "+3.036", "1"], ["John Hopkins", "Suzuki", "22", "+6.663", "2"], ["Dani Pedrosa", "Honda", "22", "+14.090", "5"], ["Marco Melandri", "Honda", "22", "+17.276", "6"], ["Loris Capirossi", "Ducati", "22", "+26.256", "14"], ["Chris Vermeulen", "Suzuki", "22", "+26.591", "15"], ["Randy de Puniet", "Kawasaki", "22", "+27.025", "7"], ["Alex Hofmann", "Ducati", "22", "+28.108", "11"], ["Carlos Checa", "Honda", "22", "+32.957", "13"], ["Colin Edwards", "Yamaha", "22", "+35.053", "3"], ["Nicky Hayden", "Honda", "22", "+37.327", "9"], ["Sylvain Guintoli", "Yamaha", "22", "+50.705", "17"], ["Alex Barros", "Ducati", "22", "+55.264", "8"], ["Kenny Roberts, Jr.", "KR212V", "22", "+57.736", "16"], ["Shinya Nakano", "Honda", "3", "Accident", "10"], ["Makoto Tamada", "Yamaha", "3", "Accident", "18"], ["Toni Elas", "Honda", "0", "Accident", "12"]], "types": ["text", "text", "real", "text", "real"], "caption": "Moto GP Classification"} | SELECT AVG([Grid]) FROM data_table WHERE [Laps] < 3 | wiki-sql | 12.0 | What is the average grid for the competitiors who had laps smaller than 3? | ||
script | {"header": ["Name", "Branch", "Term began", "Term ended", "Time in office"], "rows": [["General Matthew Ridgway", "U.S. Army", "30 May 1952", "11 July 1953", "days"], ["General Alfred Gruenther", "U.S. Army", "1 July 1953", "20 November 1956", "days"], ["General Lauris Norstad", "U.S. Air Force", "20 November 1956", "1 January 1963", "days"], ["General Lyman Lemnitzer", "U.S. Army", "1 January 1963", "1 July 1969", "days"], ["General Andrew Goodpaster", "U.S. Army", "1 July 1969", "15 December 1974", "days"], ["General Alexander M. Haig, Jr.", "U.S. Army", "15 December 1974", "1 July 1979", "days"], ["General Bernard W. Rogers", "U.S. Army", "1 July 1979", "26 June 1987", "days"], ["General John Galvin", "U.S. Army", "26 June 1987", "23 June 1992", "days"], ["General John Shalikashvili", "U.S. Army", "23 June 1992", "22 October 1993", "days"], ["General George Joulwan", "U.S. Army", "22 October 1993", "11 July 1997", "days"], ["General Wesley Clark", "U.S. Army", "11 July 1997", "3 May 2000", "days"], ["General Joseph Ralston", "U.S. Air Force", "3 May 2000", "17 January 2003", "days"], ["General James L. Jones", "U.S. Marine Corps", "17 January 2003", "7 December 2006", "days"], ["General Bantz J. Craddock", "U.S. Army", "7 December 2006", "30 June 2009", "days"], ["Admiral James G. Stavridis", "U.S. Navy", "30 June 2009", "10 May 2013", "days"], ["General Philip M. Breedlove", "U.S. Air Force", "10 May 2013", "Incumbent", "days"]], "types": ["text", "text", "text", "text", "text"], "caption": "Commanders-in-chief / commanders"} | SELECT ([Time in office]) FROM data_table WHERE LOWER([Branch]) = LOWER('u.s. navy') | wiki-sql | days | What time in office does the U.S. Navy have? | ||
script | {"header": ["Model", "Years", "Engine code", "Power", "Torque"], "rows": [["sDrive16d", "2012-", "N47D20", "PS (kW; hp)@4000", "Nm (lbft)@1750-3000"], ["sDrive18d xDrive18d", "2009-", "N47D20", "PS (kW; hp)@4000", "Nm (lbft)@1750-2500"], ["sDrive20d xDrive20d", "2009-2011", "N47D20", "PS (kW; hp)@4000", "Nm (lbft)@1750-3000"], ["xDrive20d", "2011-", "N47D20", "PS (kW; hp)@4000", "Nm (lbft)@1750-2500"], ["sDrive20d EfficientDynamics Edition", "2011-", "N47D20", "PS (kW; hp)@3250-4200", "Nm (lbft)@1750-2500"], ["xDrive23d", "2009-", "N47D20", "PS (kW; hp)@4400", "Nm (lbft)@2000-2250"], ["xDrive25d", "2012-", "N47D20", "PS (kW; hp)@4400", "Nm (lbft)@1500-2500"]], "types": ["text", "text", "text", "text", "text"], "caption": "Diesel engines"} | SELECT ([Torque]) FROM data_table WHERE LOWER([Power]) = LOWER('ps (kw; hp)@4000') AND LOWER([Model]) = LOWER('xdrive20d') | wiki-sql | Nm (lbft)@1750-2500 | What is the torque of the xdrive20d model, which has a power of ps (kw; hp)@4000? |