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": ["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": ["Date", "Venue", "Score", "Result", "Competition"], "rows": [["October 7, 1994", "Hiroshima , Japan", "4-5", "Lost", "1994 Asian Games"], ["February 16, 1996", "Bangkok , Thailand", "5-2", "Win", "King's Cup 1996"], ["June 29, 1996", "Bangkok , Thailand", "5-1", "Won", "1996 Asian Cup Qualification"], ["December 4, 1998", "Bangkok , Thailand", "2-0", "Won", "1998 Asian Games"], ["December 14, 1998", "Bangkok , Thailand", "2-1", "Won", "1998 Asian Games"], ["August 12, 1999", "Bandar Seri Begawan , Brunei", "2-0", "Won", "1999 Southeast Asian Games"], ["August 14, 1999", "Bandar Seri Begawan , Brunei", "2-0", "Won", "1999 Southeast Asian Games"], ["April 4, 2000", "Bangkok , Thailand", "5-3", "Won", "2000 Asian Cup Qualification"], ["April 6, 2000", "Bangkok , Thailand", "1-0", "Won", "2000 Asian Cup Qualification"], ["May 13, 2001", "Bangkok , Thailand", "4-2", "Won", "2002 World Cup Qualification"]], "types": ["text", "text", "text", "text", "text"], "caption": "International goals"}
SELECT ([Score]) FROM data_table WHERE LOWER([Competition]) = LOWER('king''s cup 1996')
wiki-sql
5-2
What was the score for king's cup 1996?
script
{"header": ["Rank", "Rowers", "Country", "Time", "Notes"], "rows": [["1", "Huang , Wu , Zhang , Tian", "China", "5:51.30", "SA/B"], ["2", "Chambers , Lindsay-Fynn , Mattick , Clarke", "Great Britain", "5:52.38", "SA/B"], ["3", "Chisholm , Edwards , Cureton , Skipworth", "Australia", "5:55.18", "SA/B"], ["4", "van der Linden , Godschalk , Snijders , Drewes", "Netherlands", "5:57.54", "R"], ["5", "Zidan , Ramadan , Gad , Ibrahim", "Egypt", "6:11.71", "R"]], "types": ["real", "text", "text", "text", "text"], "caption": "Heat 1"}
SELECT ([Country]) FROM data_table WHERE LOWER([Notes]) = LOWER('sa/b') AND LOWER([Time]) = LOWER('5:51.30')
wiki-sql
China
What country has sa/b as the notes, and a time of 5:51.30?
script
{"header": ["Name", "Years", "Gender", "Area", "Authority", "Decile", "Roll"], "rows": [["Albury School", "16", "Coed", "Albury", "State", "8", "35"], ["Aoraki Mount Cook School", "18", "Coed", "Mount Cook Village", "State", "10", "10"], ["Cannington School", "18", "Coed", "Cave", "State", "9", "30"], ["Fairlie School", "16", "Coed", "Fairlie", "State", "7", "102"], ["Lake Tekapo School", "16", "Coed", "Lake Tekapo", "State", "7", "22"], ["Mackenzie College", "713", "Coed", "Fairlie", "State", "7", "206"], ["St Joseph's School", "18", "Coed", "Fairlie", "State integrated", "7", "45"], ["Twizel Area School", "113", "Coed", "Twizel", "State", "8", "192"]], "types": ["text", "text", "text", "text", "text", "real", "real"], "caption": "MacKenzie District"}
SELECT COUNT([Decile]) FROM data_table WHERE LOWER([Authority]) = LOWER('state') AND LOWER([Area]) = LOWER('fairlie') AND [Roll] < 206
wiki-sql
1
What is the total Decile that has a state authority, fairlie area and roll smarter than 206?
script
{"header": ["Driver", "Constructor", "Laps", "Time/Retired", "Grid"], "rows": [["Jackie Stewart", "Tyrrell - Ford", "95", "1:57:59.1", "2"], ["Denny Hulme", "McLaren - Ford", "95", "+ 25.96", "4"], ["Jacky Ickx", "Ferrari", "95", "+ 59.39", "8"], ["Clay Regazzoni", "Ferrari", "95", "+ 1:06.72", "6"], ["Tim Schenken", "Surtees - Ford", "95", "+ 1:09.11", "11"], ["Ronnie Peterson", "March - Ford", "94", "+ 1 lap", "10"], ["Carlos Reutemann", "Brabham - Ford", "93", "+ 2 laps", "1"], ["Henri Pescarolo", "March - Ford", "93", "+ 2 laps", "15"], ["Howden Ganley", "BRM", "93", "+ 2 laps", "13"], ["Helmut Marko", "BRM", "93", "+ 2 laps", "19"], ["Niki Lauda", "March - Ford", "93", "+ 2 laps", "22"], ["Emerson Fittipaldi", "Lotus - Ford", "61", "Suspension", "5"], ["Franois Cevert", "Tyrrell - Ford", "59", "Gearbox", "7"], ["Reine Wisell", "BRM", "59", "Water leak", "17"], ["Peter Revson", "McLaren - Ford", "49", "Engine", "3"], ["Mario Andretti", "Ferrari", "20", "Engine", "9"], ["Andrea de Adamich", "Surtees - Ford", "11", "Fuel system", "14"], ["Graham Hill", "Brabham - Ford", "11", "Fuel pump", "16"], ["Dave Walker", "Lotus - Ford", "8", "Received outside assistance", "20"], ["Peter Gethin", "BRM", "1", "Oil leak", "18"], ["Alex Soler-Roig", "BRM", "1", "Accident", "21"], ["Chris Amon", "Matra", "0", "Gearbox on warm-up lap", "12"]], "types": ["text", "text", "real", "text", "real"], "caption": "Classification"}
SELECT AVG([Grid]) FROM data_table WHERE [Laps] < 11 AND LOWER([Time/Retired]) = LOWER('accident')
wiki-sql
21.0
Which grid has less than 11 laps, and a Time/Retired of accident?
script
{"header": ["Round", "Date", "Grand Prix", "Circuit", "125cc winner", "250cc winner", "MotoGP winner", "Report"], "rows": [["1", "9 March", "Qatar Grand Prix ", "Losail", "Sergio Gadea", "Mattia Pasini", "Casey Stoner", "Report"], ["2", "30 March", "Spanish Grand Prix", "Jerez", "Simone Corsi", "Mika Kallio", "Dani Pedrosa", "Report"], ["3", "13 April", "Portuguese Grand Prix", "Estoril", "Simone Corsi", "lvaro Bautista", "Jorge Lorenzo", "Report"], ["4", "4 May", "Chinese Grand Prix", "Shanghai", "Andrea Iannone", "Mika Kallio", "Valentino Rossi", "Report"], ["5", "18 May", "French Grand Prix", "Le Mans", "Mike di Meglio", "Alex Debn", "Valentino Rossi", "Report"], ["6", "1 June", "Italian Grand Prix", "Mugello", "Simone Corsi", "Marco Simoncelli", "Valentino Rossi", "Report"], ["7", "8 June", "Catalan Grand Prix", "Catalunya", "Mike di Meglio", "Marco Simoncelli", "Dani Pedrosa", "Report"], ["8", "22 June", "British Grand Prix", "Donington", "Scott Redding", "Mika Kallio", "Casey Stoner", "Report"], ["9", "28 June", "Dutch TT", "Assen", "Gbor Talmcsi", "lvaro Bautista", "Casey Stoner", "Report"], ["10", "13 July", "German Grand Prix", "Sachsenring", "Mike di Meglio", "Marco Simoncelli", "Casey Stoner", "Report"], ["11", "20 July", "United States Grand Prix", "Laguna Seca", "No 125cc and 250cc race", "No 125cc and 250cc race", "Valentino Rossi", "Report"], ["12", "17 August", "Czech Republic Grand Prix", "Brno", "Stefan Bradl", "Alex Debn", "Valentino Rossi", "Report"], ["13", "31 August", "San Marino Grand Prix", "Misano", "Gbor Talmcsi", "lvaro Bautista", "Valentino Rossi", "Report"], ["14", "14 September", "Indianapolis Grand Prix", "Indianapolis", "Nicols Terol", "Race cancelled", "Valentino Rossi", "Report"], ["15", "28 September", "Japanese Grand Prix", "Motegi", "Stefan Bradl", "Marco Simoncelli", "Valentino Rossi", "Report"], ["16", "5 October", "Australian Grand Prix", "Phillip Island", "Mike di Meglio", "Marco Simoncelli", "Casey Stoner", "Report"], ["17", "19 October", "Malaysian Grand Prix", "Sepang", "Gbor Talmcsi", "lvaro Bautista", "Valentino Rossi", "Report"], ["18", "26 October", "Valencian Grand Prix", "Valencia", "Simone Corsi", "Marco Simoncelli", "Casey Stoner", "Report"]], "types": ["real", "text", "text", "text", "text", "text", "text", "text"], "caption": "Grands Prix"}
SELECT ([Report]) FROM data_table WHERE LOWER([125cc winner]) = LOWER('simone corsi') AND LOWER([Circuit]) = LOWER('valencia')
wiki-sql
Report
Name the report with 125cc winner of simone corsi and circuit of valencia
script
{"header": ["LE-5 Model", "LE-5", "LE-5A", "LE-5B", "LE-5B-2"], "rows": [["Operational Cycle", "Gas Generator", "Expander Bleed (Nozzle/Chamber)", "Expander Bleed (Chamber)", "Expander Bleed (Chamber)"], ["Rated Thrust", "102.9 (23,100)", "121.5 (27,300)", "137.2 (30,800)", "144.9 (32,500)"], ["Mixture Ratio", "5.5", "5", "5", "5"], ["Expansion Ratio", "140", "130", "110", "110"], ["Specific Impulse (Isp)", "450", "452", "447", "447"], ["Chamber Pressure", "3.65 (529)", "3.98 (577)", "3.58 (519)", "3.78 (548)"], ["LH2 Rotational Speed", "50,000", "51,000", "52,000", "53,504"], ["LOX Rotational Speed", "16,000", "17,000", "18,000", "18,560"], ["Length", "2.68 (8.84)", "2.69 (8.88)", "2.79 (9.21)", "2.79 (9.21)"], ["Weight", "255 (562)", "248 (547)", "285 (628)", "290 (639)"], ["Throttleable down to", "no", "no", "60%", "60%"]], "types": ["text", "text", "text", "text", "text"], "caption": "LE-5 Model Specifications"}
SELECT ([LE-5 Model]) FROM data_table WHERE LOWER([LE-5A]) = LOWER('130')
wiki-sql
Expansion Ratio
Which LE-5 Model has an LE-5A of 130?
script
{"header": ["Game", "Date", "Opponent", "Result", "Wildcats points", "Opponents", "Record"], "rows": [[1, "Sept. 25", "@ UCLA", "Win", 19, 0, "1-0"], [2, "Oct. 2", "Purdue", "Win", 21, 0, "2-0"], [3, "Oct. 9", "Minnesota", "Win", 19, 16, "3-0"], [4, "Oct. 16", "@ Michigan", "Loss", 0, 28, "3-1"], [5, "Oct. 23", "Syracuse", "Win", 48, 0, "4-1"], [6, "Oct. 30", "Ohio State", "Win", 21, 7, "5-1"], [7, "Nov. 6", "Wisconsin", "Win", 16, 7, "6-1"], [8, "Nov. 13", "@ Notre Dame", "Loss", 7, 12, "6-2"], [9, "Nov. 20", "Illinois", "Win", 20, 7, "7-2"]], "types": ["real", "text", "text", "text", "real", "real", "text"], "caption": "Schedule"}
SELECT COUNT([Result]) FROM data_table WHERE LOWER([Record]) = LOWER('3-0')
wiki-sql
1
How many wins or losses were there when the record was 3-0?
script
{"header": ["Tie no", "Home team", "Score", "Away team", "Date"], "rows": [["1", "Southampton", "31", "Bristol Rovers", "24 January 1981"], ["2", "Watford", "11", "Wolverhampton Wanderers", "24 January 1981"], ["Replay", "Wolverhampton Wanderers", "21", "Watford", "27 January 1981"], ["3", "Leicester City", "11", "Exeter City", "24 January 1981"], ["Replay", "Exeter City", "31", "Leicester City", "28 January 1981"], ["4", "Notts County", "01", "Peterborough United", "24 January 1981"], ["5", "Nottingham Forest", "10", "Manchester United", "24 January 1981"], ["6", "Middlesbrough", "10", "West Bromwich Albion", "24 January 1981"], ["7", "Everton", "21", "Liverpool", "24 January 1981"], ["8", "Shrewsbury Town", "00", "Ipswich Town", "24 January 1981"], ["Replay", "Ipswich Town", "30", "Shrewsbury Town", "27 January 1981"], ["9", "Wrexham", "21", "Wimbledon", "24 January 1981"], ["10", "Newcastle United", "21", "Luton Town", "24 January 1981"], ["11", "Tottenham Hotspur", "20", "Hull City", "24 January 1981"], ["12", "Manchester City", "60", "Norwich City", "24 January 1981"], ["13", "Fulham", "12", "Charlton Athletic", "24 January 1981"], ["14", "Barnsley", "11", "Enfield", "24 January 1981"], ["Replay", "Enfield", "03", "Barnsley", "28 January 1981"], ["15", "Coventry City", "32", "Birmingham City", "24 January 1981"], ["16", "Carlisle United", "11", "Bristol City", "24 January 1981"], ["Replay", "Bristol City", "50", "Carlisle United", "28 January 1981"]], "types": ["text", "text", "text", "text", "text"], "caption": "Fourth Round Proper"}
SELECT ([Score]) FROM data_table WHERE LOWER([Tie no]) = LOWER('8')
wiki-sql
00
What is the score when the tie is 8?
script
{"header": ["Tournament", "Player", "Nationality", "Team", "Games played", "Goals conceded", "Coefficient"], "rows": [["2008 Apertura", "Gastn Sessa (1)", "Argentine", "Gimnasia (La Plata) (1)", 17, 14, "0.82"], ["2009 Clausura", "Germn Montoya (1)", "Argentine", "Vlez Srsfield (1)", 19, 13, "0.68"], ["2009 Apertura", "Cristian Lucchetti (1)", "Argentine", "Banfield (1)", 17, 9, "0.53"], ["2010 Clausura", "Nelson Ibez (1)", "Argentine", "Godoy Cruz (1)", 19, 14, "0.74"], ["2010 Apertura", "Marcelo Barovero (1)", "Argentine", "Vlez Srsfield (2)", 16, 6, "0.38"], ["2011 Clausura", "Marcelo Barovero (2)", "Argentine", "Vlez Srsfield (3)", 19, 17, "0.89"], ["2011 Apertura", "Agustn Orin (1)", "Argentine", "Boca Juniors (1)", 19, 6, "0.31"], ["2012 Clausura", "Nicols Cambiasso (1)", "Argentine", "All Boys (1)", 18, 11, "0.61"], ["2012 Inicial", "Agustn Marchesn (1)", "Argentine", "Lans (1)", 19, 10, "0.49"]], "types": ["text", "text", "text", "text", "real", "real", "text"], "caption": "Winners"}
SELECT ([Team]) FROM data_table WHERE LOWER([Tournament]) = LOWER('2012 Clausura')
wiki-sql
All Boys (1)
Which team was in the 2012 clausura tournament?
script
{"header": ["Home team", "Home team score", "Away team", "Away team score", "Venue", "Crowd", "Date"], "rows": [["Footscray", "10.14 (74)", "Hawthorn", "11.18 (84)", "Western Oval", "13,789", "23 May 1981"], ["Fitzroy", "13.15 (93)", "Geelong", "16.18 (114)", "Junction Oval", "15,604", "23 May 1981"], ["Carlton", "25.22 (172)", "South Melbourne", "11.7 (73)", "Princes Park", "22,445", "23 May 1981"], ["Melbourne", "10.10 (70)", "Essendon", "14.20 (104)", "MCG", "31,769", "23 May 1981"], ["North Melbourne", "12.26 (98)", "Collingwood", "16.15 (111)", "Arden Street Oval", "24,625", "23 May 1981"], ["Richmond", "20.16 (136)", "St Kilda", "15.15 (105)", "VFL Park", "40,240", "23 May 1981"]], "types": ["text", "text", "text", "text", "text", "real", "text"], "caption": "Round 9"}
SELECT ([Away team]) FROM data_table WHERE LOWER([Venue]) = LOWER('western oval')
wiki-sql
Hawthorn
Who was the away team at Western Oval?
script
{"header": ["Round", "Pick", "Player", "Position", "School"], "rows": [["1", "9", "Rick Bryan", "Defensive End", "Oklahoma"], ["2", "32", "Scott Case", "Defensive Back", "Oklahoma"], ["2", "36", "Thomas Benson", "Linebacker", "Oklahoma"], ["3", "63", "Rod McSwain", "Defensive Back", "Clemson"], ["4", "94", "Rydell Malancon", "Linebacker", "Louisiana State"], ["5", "132", "Cliff Benson", "Tight End", "Purdue"], ["6", "148", "Ben Bennett", "Quarterback", "Duke"], ["6", "163", "Dan Ralph", "Defensive Tackle", "Oregon"], ["7", "175", "Kirk Dodge", "Linebacker", "University of Nevada-Las Vegas"], ["8", "206", "Jeff Jackson", "Linebacker", "Auburn"], ["9", "233", "Glen Howe", "Tackle", "Southern Mississippi"], ["10", "260", "Derrick Franklin", "Defensive Back", "Fresno State"], ["11", "287", "Tommy Norman", "Wide Receiver", "Jackson State"], ["12", "318", "Don Holmes", "Wide Receiver", "Mesa"]], "types": ["real", "real", "text", "text", "text"], "caption": "NFL Draft"}
SELECT MAX([Round]) FROM data_table WHERE LOWER([Player]) = LOWER('tommy norman')
wiki-sql
11.0
In what Round was Tommy Norman picked?
script
{"header": ["City", "Country", "IATA", "ICAO", "Airport"], "rows": [["Antalya", "Turkey", "AYT", "LTAI", "Antalya Airport"], ["Bacu", "Romania", "BCM", "LRBC", "Bacu International Airport [hub]"], ["Barcelona", "Spain", "BCN", "LEBL", "Barcelona Airport"], ["Bologna", "Italy", "BLQ", "LIPE", "Bologna Guglielmo Marconi Airport"], ["Brussels", "Belgium", "BRU", "EBBR", "Brussels Airport"], ["Bucharest", "Romania", "OTP", "LROP", "Henri Coand International Airport [hub]"], ["Catania", "Italy", "CTA", "LICC", "Catania-Vincenzo Bellini Airport"], ["Dublin", "Ireland", "DUB", "EIDW", "Dublin Airport"], ["Larnaca", "Cyprus", "LCA", "LCLK", "Larnaca International Airport"], ["London", "United Kingdom", "LTN", "EGGW", "London Luton Airport"], ["Madrid", "Spain", "MAD", "LEMD", "Madrid-Barajas Airport"], ["Mlaga", "Spain", "AGP", "LEMG", "Mlaga Airport"], ["Milan", "Italy", "BGY", "LIME", "Bergamo-Orio al Serio Airport"], ["Naples", "Italy", "NAP", "LIRN", "Naples Airport"], ["Nice", "France", "NCE", "LFMN", "Nice Cte d'Azur Airport"], ["Paris", "France", "BVA", "LFOB", "Beauvais-Till Airport"], ["Rome", "Italy", "FCO", "LIRF", "Leonardo da Vinci-Fiumicino Airport"], ["Sibiu", "Romania", "SBZ", "LRSB", "Sibiu International Airport [focus]"], ["Stuttgart", "Germany", "STR", "EDDS", "Stuttgart Airport"], ["Turin", "Italy", "CUF", "LIMZ", "Cuneo Levaldigi Airport"], ["Valencia", "Spain Spain", "VLC", "LEVC", "Valencia Airport"], ["Venice", "Italy", "VCE", "LIPZ", "Venice Marco Polo Airport"]], "types": ["text", "text", "text", "text", "text"], "caption": "Current destinations"}
SELECT ([IATA]) FROM data_table WHERE LOWER([Airport]) = LOWER('leonardo da vinci-fiumicino airport')
wiki-sql
FCO
What is the IATA of Leonardo da Vinci-Fiumicino Airport?
script
{"header": ["Place", "Player", "Country", "Score", "To par"], "rows": [["T1", "Arnold Palmer", "United States", "71-68=139", "3"], ["T1", "Bob Rosburg", "United States", "70-69=139", "3"], ["3", "Billy Maxwell", "United States", "71-70=141", "1"], ["T4", "Bobby Nichols", "United States", "70-72=142", "E"], ["T4", "Jack Nicklaus", "United States", "72-70=142", "E"], ["T4", "Gary Player", "South Africa", "71-71=142", "E"], ["T7", "Miller Barber", "United States", "73-70=143", "+1"], ["T7", "Gene Littler", "United States", "69-74=143", "+1"], ["T9", "Phil Rodgers", "United States", "74-70=144", "+2"], ["T9", "Don Whitt", "United States", "73-71=144", "+2"]], "types": ["text", "text", "text", "text", "text"], "caption": "Second round"}
SELECT ([Place]) FROM data_table WHERE LOWER([Player]) = LOWER('don whitt')
wiki-sql
T9
What place did Don Whitt finish?
script
{"header": ["Pick #", "CFL Team", "Player", "Position", "College"], "rows": [[33, "Hamilton Tiger-Cats", "Guillarme Allard-Cameus", "RB", "Laval"], [34, "Toronto Argonauts", "Gordon Sawler", "DL", "St. Francis Xavier"], [35, "Winnipeg Blue Bombers", "Peter Quinney", "FB", "Wilfrid Laurier"], [36, "Edmonton Eskimos", "Eric Lee", "RB", "Weber State"], [37, "BC Lions", "Jonathan Pierre-Etienne", "DE", "Montreal"], [38, "Hamilton Tiger-Cats (via Saskatchewan)", "Raymond Wladichuk", "DB", "Simon Fraser"], [39, "Montreal Alouettes", "Benot Boulanger", "RB", "Sherbrooke"]], "types": ["real", "text", "text", "text", "text"], "caption": "Round five"}
SELECT ([Position]) FROM data_table WHERE LOWER([CFL Team]) = LOWER('Montreal Alouettes')
wiki-sql
RB
What position(s) drafted by the montreal alouettes?
script
{"header": ["Name", "GP-GS", "Effic", "Att-Cmp-Int", "Avg/G"], "rows": [["Jameel Sewell", "1313", "114.94", "3642149", "167.4"], ["Peter Lalich", "80", "109.12", "61351", "40.1"], ["TEAM", "1313", "0.00", "220", "0.0"], ["Vic Hall", "1313", "394.00", "110", "2.7"], ["Total", "1313", "114.23", "42825010", "194.8"], ["Opponents", "1313", "120.95", "45226311", "225.5"]], "types": ["text", "text", "real", "text", "real"], "caption": ""}
SELECT COUNT([Avg/G]) FROM data_table WHERE LOWER([Att-Cmp-Int]) = LOWER('110') AND [Effic] > 394
wiki-sql
0
Avg/G that has a Att-Cmp-Int of 110, and an Effic larger than 394 is what total?
script
{"header": ["Date", "Venue", "Score", "Result", "Competition"], "rows": [["23 October 2008", "National Stadium, Bukit Jalil", "40", "40 (W)", "2008 Merdeka Tournament"], ["11 November 2008", "Thuwunna Stadium , Myanmar", "21", "41 (L)", "2008 Myanmar Grand Royal Challenge Cup"], ["29 November 2008", "MBPJ Stadium", "22", "22 (D)", "Friendly Match"], ["11 September 2009", "MBPJ Stadium", "40", "50 (W)", "Friendly Match"], ["7 December 2010", "Gelora Sriwijaya Stadium", "31", "51 (W)", "2010 AFF Suzuki Cup"], ["9 February 2011", "Shah Alam Stadium", "20", "20 (W)", "Friendly Match"], ["18 June 2011", "Sultan Mohammad IV Stadium", "10", "20 (W)", "Friendly Match"]], "types": ["text", "text", "text", "text", "text"], "caption": "Senior team"}
SELECT ([Venue]) FROM data_table WHERE LOWER([Result]) = LOWER('22 (d)')
wiki-sql
MBPJ Stadium
What is the Venue of the Competition with a Result of 22 (d)?
script
{"header": ["Game", "Date", "Opponent", "Score", "Location", "Attendance", "Record", "Points"], "rows": [[14, "November 1", "Columbus Blue Jackets", "4 - 5 OT", "Verizon Center", 18277, "8-2-4", 20], [15, "November 4", "New Jersey Devils", "2 - 3", "Prudential Center", 13498, "8-3-4", 20], [16, "November 6", "Florida Panthers", "4 - 1", "BankAtlantic Center", 15877, "9-3-4", 22], [17, "November 7", "Florida Panthers", "7 - 4", "Verizon Center", 18277, "10-3-4", 24], [18, "November 11", "New York Islanders", "5 - 4 SO", "Verizon Center", 18277, "11-3-4", 26], [19, "November 13", "Minnesota Wild", "3 - 1", "Verizon Center", 18277, "12-3-4", 28], [20, "November 14", "New Jersey Devils", "2 - 5", "Prudential Center", 16521, "12-4-4", 28], [21, "November 17", "New York Rangers", "4 - 2", "Madison Square Garden", 18200, "13-4-4", 30], [22, "November 20", "Montreal Canadiens", "2 - 3", "Verizon Center", 18277, "13-5-4", 30], [23, "November 21", "Toronto Maple Leafs", "1 - 2 SO", "Air Canada Centre", 19455, "13-5-5", 31], [24, "November 23", "Ottawa Senators", "3 - 4 OT", "Scotiabank Place", 16210, "13-5-6", 32], [25, "November 25", "Buffalo Sabres", "2 - 0", "Verizon Center", 18277, "14-5-6", 34], [26, "November 28", "Montreal Canadiens", "4 - 3 SO", "Bell Centre", 21273, "15-5-6", 36]], "types": ["real", "text", "text", "text", "text", "real", "text", "real"], "caption": "Game log"}
SELECT MIN([Points]) FROM data_table
wiki-sql
20
What's the minimal number of points scored in any game?
script
{"header": ["Tie no", "Home team", "Score", "Away team", "Date"], "rows": [["1", "Chesterfield", "34", "Bolton Wanderers", "11/12/1990"], ["2", "Bournemouth", "10", "Hayes", "08/12/1990"], ["3", "Barnet", "00", "Northampton Town", "08/12/1990"], ["Replay", "Northampton Town", "01", "Barnet", "12/12/1990"], ["4", "Burnley", "20", "Stoke City", "12/12/1990"], ["5", "Woking", "51", "Merthyr Tydfil", "08/12/1990"], ["6", "Crewe Alexandra", "10", "Atherstone United", "12/12/1990"], ["7", "Shrewsbury Town", "10", "Chorley", "11/12/1990"], ["8", "Wycombe Wanderers", "11", "Peterborough United", "12/12/1990"], ["Replay", "Peterborough United", "20", "Wycombe Wanderers", "17/12/1990"], ["9", "Fulham", "00", "Cambridge United", "07/12/1990"], ["Replay", "Cambridge United", "21", "Fulham", "11/12/1990"], ["10", "Whitley Bay", "01", "Barrow", "12/12/1990"], ["11", "Scunthorpe United", "32", "Tranmere Rovers", "08/12/1990"], ["12", "Huddersfield Town", "02", "Blackpool", "10/12/1990"], ["13", "Mansfield Town", "21", "York City", "17/12/1990"], ["14", "Rotherham United", "11", "Halifax Town", "11/12/1990"], ["Replay", "Halifax Town", "12", "Rotherham United", "17/12/1990"], ["15", "Aldershot", "21", "Maidstone United", "08/12/1990"], ["16", "Wigan Athletic", "20", "Hartlepool United", "08/12/1990"], ["17", "Colchester United", "00", "Leyton Orient", "12/12/1990"], ["Replay", "Leyton Orient", "41", "Colchester United", "17/12/1990"], ["18", "Birmingham City", "13", "Brentford", "12/12/1990"], ["19", "Leek Town", "11", "Chester City", "12/12/1990"], ["Replay", "Chester City", "40", "Leek Town", "17/12/1990"], ["20", "Swansea City", "21", "Walsall", "08/12/1990"]], "types": ["text", "text", "text", "text", "text"], "caption": "Second Round Proper"}
SELECT ([Score]) FROM data_table WHERE LOWER([Home team]) = LOWER('birmingham city')
wiki-sql
13
What was the score of the game that home team birmingham city played?
script
{"header": ["Game", "Date", "Team", "Score", "High points", "High rebounds", "High assists", "Location Attendance", "Series"], "rows": [["1", "April 20", "@ Detroit", "9086", "Miller (20)", "Evans (14)", "Iguodala (8)", "The Palace of Auburn Hills 22,076", "10"], ["2", "April 23", "@ Detroit", "88105", "Williams (17)", "Evans (11)", "Iguodala (4)", "The Palace of Auburn Hills 22,076", "11"], ["3", "April 25", "Detroit", "9575", "Dalembert (23)", "Dalembert (16)", "Green , Iguodala (6)", "Wachovia Center 18,805", "21"], ["4", "April 27", "Detroit", "8493", "Young (15)", "Dalembert (12)", "Iguodala (5)", "Wachovia Center 18,347", "22"], ["5", "April 29", "@ Detroit", "8198", "Iguodala (21)", "Evans (7)", "Iguodala (6)", "The Palace of Auburn Hills 22,076", "23"], ["6", "May 1", "Detroit", "77100", "Iguodala (16)", "Evans (7)", "Evans , Ollie (3)", "Wachovia Center 14,130", "24"]], "types": ["real", "text", "text", "text", "text", "text", "text", "text", "text"], "caption": "Playoffs"}
SELECT ([Date]) FROM data_table WHERE LOWER([High rebounds]) = LOWER('evans (14)')
wiki-sql
April 20
What date were the high rebounds Evans (14)?
script
{"header": ["Date", "Visiting team", "Final score", "Host team", "Stadium"], "rows": [["November 22", "Indianapolis Colts", "3113", "Atlanta Falcons", "Georgia Dome"], ["November 29", "Green Bay Packers", "2737", "Dallas Cowboys", "Texas Stadium"], ["December 6", "Chicago Bears", "1624", "Washington Redskins", "FedEx Field"], ["December 13", "Denver Broncos", "1331", "Houston Texans", "Reliant Stadium"], ["December 15", "Cincinnati Bengals", "1320", "San Francisco 49ers", "Monster Park"], ["December 20", "Pittsburgh Steelers", "4124", "St. Louis Rams", "Edward Jones Dome"], ["December 22", "Dallas Cowboys", "2013", "Carolina Panthers", "Bank of America Stadium"], ["December 29", "New England Patriots", "3835 ( details )", "New York Giants", "Giants Stadium"]], "types": ["text", "text", "text", "text", "text"], "caption": "2007 season"}
SELECT ([Visiting team]) FROM data_table WHERE LOWER([Date]) = LOWER('december 20')
wiki-sql
Pittsburgh Steelers
Who is the Visiting team on december 20?
script
{"header": ["R", "Player", "Position", "The Championship", "FA Cup", "League Cup", "Total"], "rows": [[1, "Becchio", "FW", 9, 0, 0, 9], [2, "Howson", "CM", 8, 0, 0, 8], [3, "Gradel", "LW", 6, 0, 1, 7], [4, "Snodgrass", "RW", 6, 0, 0, 6], [5, "Kilkenny", "CM", 5, 0, 0, 5], [6, "Johnson", "CM", 4, 0, 0, 4], [6, "Connolly", "RB", 3, 0, 1, 4], [6, "Watt", "LW", 3, 0, 1, 4], [9, "McCartney", "LB", 3, 0, 0, 3], [10, "Sam", "LW", 1, 0, 1, 2], [11, "Bannan", "CM", 1, 0, 0, 1], [11, "Bromby", "CB", 1, 0, 0, 1], [11, "Lichaj", "RB", 1, 0, 0, 1], [11, "McCormack", "FW", 1, 0, 0, 1]], "types": ["real", "text", "text", "real", "real", "real", "real"], "caption": "Assists"}
SELECT COUNT([League Cup]) FROM data_table WHERE [R] = 4
wiki-sql
1
How many times was the r 4?
script
{"header": ["Round", "Track", "Date", "Pole Position", "Fastest Race Lap", "Winner", "Team"], "rows": [["1", "Fuji", "1 April", "Benot Trluyer", "Benot Trluyer", "Benot Trluyer", "Team Impul"], ["2", "Suzuka", "15 April", "Tsugio Matsuda", "Hiroki Yoshimoto", "Satoshi Motoyama", "Team Impul"], ["3", "Motegi", "20 May", "Tsugio Matsuda", "Takashi Kogure", "Takashi Kogure", "Nakajima Racing"], ["4", "Okayama", "10 June", "Takashi Kogure", "Tsugio Matsuda", "Ronnie Quintarelli", "Team Boss Inging"], ["5", "Suzuka", "8 July", "Tsugio Matsuda", "Tsugio Matsuda", "Satoshi Motoyama", "Team Impul"], ["6", "Fuji", "26 August", "Satoshi Motoyama", "Loc Duval", "Andr Lotterer", "TOM'S Racing"], ["7", "SUGO", "16 September", "Takashi Kogure", "Naoki Yokomizo", "Takashi Kogure", "Nakajima Racing"], ["8", "Motegi", "21 October", "Takashi Kogure", "Takashi Kogure", "Takashi Kogure", "Nakajima Racing"], ["9", "Suzuka", "18 November", "Takashi Kogure", "Andr Lotterer", "Satoshi Motoyama", "Team Impul"]], "types": ["real", "text", "text", "text", "text", "text", "text"], "caption": "Race calendar and results"}
SELECT SUM([Round]) FROM data_table WHERE LOWER([Team]) = LOWER('team impul') AND LOWER([Date]) = LOWER('8 july')
wiki-sql
5.0
What is the sum of team impul with the date of 8 july
script
{"header": ["Channel", "Video", "Aspect", "PSIP Short Name", "Programming"], "rows": [["26.1", "1080i", "16:9", "MFOX", "MundoFox"], ["26.2", "480i", "4:3", "LWN", "Live Well Network"], ["26.4", "480i", "4:3", "JTV", "Jewelry TV"], ["26.5", "480i", "4:3", "F24news", "France 24 BLANK SCREEN"], ["26.8", "480i", "4:3", "TUFF TV", "Tuff TV"]], "types": ["real", "text", "text", "text", "text"], "caption": "Channel lineup"}
SELECT ([Programming]) FROM data_table WHERE [Channel] < 26.5 AND LOWER([Video]) = LOWER('480i') AND LOWER([PSIP Short Name]) = LOWER('jtv')
wiki-sql
Jewelry TV
Which Programming is on a channel less than 26.5, has a Video of 480i and a PSIP Short Name of jtv?
script
{"header": ["Rank", "Lane", "Name", "Nationality", "Time"], "rows": [["1", "4", "Mai Nakamura", "Japan", "1:01.07"], ["2", "6", "Noriko Inada", "Japan", "1:01.25"], ["3", "3", "Nina Zhivanevskaya", "Spain", "1:01.41"], ["4", "5", "Roxana Maracineanu", "France", "1:01.61"], ["5", "2", "Antje Buschschulte", "Germany", "1:01.91"], ["6", "7", "Katy Sexton", "Great Britain", "1:02.35"], ["7", "1", "Sandra Vlker", "Germany", "1:03.01"], ["8", "8", "Lu Donghua", "China", "1:03.31"]], "types": ["real", "real", "text", "text", "text"], "caption": "Semifinal 2"}
SELECT ([Name]) FROM data_table WHERE [Rank] > 2 AND LOWER([Nationality]) = LOWER('spain')
wiki-sql
Nina Zhivanevskaya
What's the name of spain rank greater than 2?
script
{"header": ["Tournament", "2009", "2010", "2011", "2012"], "rows": [["Grand Slam tournaments", "Grand Slam tournaments", "Grand Slam tournaments", "Grand Slam tournaments", "Grand Slam tournaments"], ["Australian Open", "A", "1R", "1R", "2R"], ["French Open", "QF", "QF", "2R", "A"], ["Wimbledon", "1R", "2R", "2R", "1R"], ["US Open", "A", "1R", "3R", "SF"], ["WinLoss", "32", "44", "43", "53"], ["ATP World Tour Finals", "ATP World Tour Finals", "ATP World Tour Finals", "ATP World Tour Finals", "ATP World Tour Finals"], ["ATP World Tour Finals", "Did Not Qualify", "Did Not Qualify", "Did Not Qualify", "W"], ["ATP World Tour Masters 1000", "ATP World Tour Masters 1000", "ATP World Tour Masters 1000", "ATP World Tour Masters 1000", "ATP World Tour Masters 1000"], ["Indian Wells", "2R", "W", "SF", "W"], ["Miami", "2R", "2R", "2R", "2R"], ["Monte Carlo", "A", "QF", "1R", "SF"], ["Madrid", "2R", "QF", "2R", "QF"], ["Rome", "A", "A", "1R", "W"], ["Canada", "A", "A", "1R", "F"], ["Cincinnati", "A", "A", "2R", "QF"], ["Shanghai", "A", "2R", "1R", "A"], ["Paris", "A", "A", "A", "A"], ["WinLoss", "33", "114", "68", "205"], ["Career Statistics", "Career Statistics", "Career Statistics", "Career Statistics", "Career Statistics"], ["TitlesFinals", "11", "34", "14", "48"], ["WinLoss", "1310", "3720", "3327", "4820"]], "types": ["text", "text", "text", "text", "text"], "caption": "Doubles Performance Timeline"}
SELECT ([Tournament]) FROM data_table WHERE LOWER([2012_]) = LOWER('a') AND LOWER([2010_]) = LOWER('a')
wiki-sql
Paris
Which tournament had a result in 2010 and 2012 of a?
script
{"header": ["Date", "Visitor", "Score", "Home", "Decision", "Attendance", "Record"], "rows": [["February 2", "Anaheim", "0 3", "Philadelphia", "Biron", "19,822", "29175"], ["February 5", "Philadelphia", "3 2", "Atlanta", "Niittymaki", "15,082", "30175"], ["February 6", "Washington", "4 3", "Philadelphia", "Biron", "19,778", "30185"], ["February 9", "NY Rangers", "2 0", "Philadelphia", "Biron", "19,862", "30195"], ["February 10", "Philadelphia", "3 4", "Pittsburgh", "Biron", "17,132", "30205"], ["February 12", "Philadelphia", "3 4", "NY Islanders", "Niittymaki", "11,193", "30215"], ["February 14", "Tampa Bay", "5 3", "Philadelphia", "Biron", "19,336", "30225"], ["February 16", "Philadelphia", "0 1", "Montreal", "Niittymaki", "21,273", "30235"], ["February 17", "Montreal", "5 3", "Philadelphia", "Niitymaki", "19,611", "30245"], ["February 19", "Philadelphia", "2 3", "Ottawa", "Biron", "19,729", "30246"], ["February 21", "San Jose", "3 1", "Philadelphia", "Biron", "19,487", "30256"], ["February 23", "Florida", "2 1", "Philadelphia", "Niitymaki", "19,629", "30257"], ["February 25", "Philadelphia", "4 3", "Buffalo", "Biron", "18,690", "31257"], ["February 28", "Ottawa", "1 3", "Philadelphia", "Biron", "19,567", "32257"]], "types": ["text", "text", "text", "text", "text", "real", "text"], "caption": "Regular season"}
SELECT ([Date]) FROM data_table WHERE LOWER([Decision]) = LOWER('niittymaki') AND LOWER([Record]) = LOWER('30215')
wiki-sql
February 12
What was the date of the game with a decision of Niittymaki and when the Flyers had a record of 30215?
script
{"header": ["Rd.", "Circuit", "City / State", "Date", "Championship", "Challenge", "Production"], "rows": [["Rd 1", "Adelaide Street Circuit", "Adelaide , South Australia", "1114 March", "David Wall", "Jordan Ormsby", "Mark O'Connor"], ["Rd 2", "Albert Park Grand Prix Circuit", "Melbourne , Victoria", "2528 March", "Max Twigg", "Damien Flack", "Mark O'Connor"], ["Rd 3", "Eastern Creek Raceway", "Sydney , New South Wales", "2030 May", "David Wall", "Damien Flack Adrian Flack", "Paul Freestone"], ["Rd 4", "Phillip Island Grand Prix Circuit", "Phillip Island , Victoria", "1011 July", "James Koundouris", "Shane Smollen", "Tony Alford"], ["Rd 5", "Mount Panorama Circuit", "Bathurst , New South Wales", "710 October", "Tony Quinn", "Shane Smollen", "Paul Freestone"]], "types": ["text", "text", "text", "text", "text", "text", "text"]}
SELECT ([City / State]) FROM data_table WHERE LOWER([Circuit]) = LOWER('Adelaide Street Circuit')
wiki-sql
Adelaide , South Australia
Which city and state hosted the adelaide street circuit?
script
{"header": ["Name", "Frequency", "Language", "City", "Website"], "rows": [["El Diario de Nuevo Laredo", "Daily", "Spanish", "Nuevo Laredo", "diario.net"], ["El Maana", "Daily", "Spanish", "Nuevo Laredo", "elmanana.com.mx"], ["LareDOS", "Monthly", "English", "Laredo", "laredosnews.com"], ["Laredo Morning Times", "Daily", "English", "Laredo", "lmtonline.com"], ["Laredo Sun", "Online Newspaper", "English", "Laredo", "laredosun.us"], ["Lider", "Daily", "Spanish", "Nuevo Laredo", "liderinformativo.com"], ["Primera Hora", "Daily", "Spanish", "Nuevo Laredo", "primerahora.com"], ["ltima Hora", "Daily", "Spanish", "Nuevo Laredo", "ultimahora.com"]], "types": ["text", "text", "text", "text", "text"], "caption": "Newspapers"}
SELECT ([Website]) FROM data_table WHERE LOWER([City]) = LOWER('laredo') AND LOWER([Name]) = LOWER('laredo sun')
wiki-sql
laredosun.us
What is the website of the Laredo Sun in the city of Laredo ?
script
{"header": ["Rider", "Manufacturer", "Laps", "Time/Retired", "Grid"], "rows": [["Valentino Rossi", "Yamaha", "21", "43:07.829", "1"], ["Sete Gibernau", "Ducati", "21", "+0.849", "3"], ["Dani Pedrosa", "Honda", "21", "+3.863", "19"], ["Nicky Hayden", "Honda", "21", "+5.780", "2"], ["Loris Capirossi", "Ducati", "21", "+9.301", "5"], ["John Hopkins", "Suzuki", "21", "+11.081", "7"], ["Kenny Roberts, Jr.", "KR211V", "21", "+11.838", "4"], ["Casey Stoner", "Honda", "21", "+12.267", "9"], ["Marco Melandri", "Honda", "21", "+15.019", "8"], ["Colin Edwards", "Yamaha", "21", "+19.909", "10"], ["Chris Vermeulen", "Suzuki", "21", "+24.371", "14"], ["Carlos Checa", "Yamaha", "21", "+30.884", "13"], ["Randy de Puniet", "Kawasaki", "21", "+36.335", "6"], ["Makoto Tamada", "Honda", "21", "+48.777", "15"], ["Alex Hofmann", "Ducati", "21", "+59.081", "16"], ["James Ellison", "Yamaha", "21", "+1:05.787", "17"], ["Jos Luis Cardoso", "Ducati", "21", "+1:37.862", "18"], ["Toni Elas", "Honda", "10", "Accident", "12"], ["Shinya Nakano", "Kawasaki", "0", "Accident", "11"], ["OFFICIAL MOTOGP REPORT", "OFFICIAL MOTOGP REPORT", "OFFICIAL MOTOGP REPORT", "OFFICIAL MOTOGP REPORT", "OFFICIAL MOTOGP REPORT"]], "types": ["text", "text", "text", "text", "text"], "caption": "MotoGP classification"}
SELECT ([Rider]) FROM data_table WHERE LOWER([Time/Retired]) = LOWER('+19.909')
wiki-sql
Colin Edwards
Which rider had a time/retired od +19.909?
script
{"header": ["No.", "Date", "Tournament", "Winning score", "To par", "Margin of victory", "Runner(s)-up"], "rows": [[1, "29 Oct 2000", "Italian Open", "66-67-65-69=267", "21", "1 stroke", "Gordon Brand, Jnr"], [2, "15 Apr 2001", "Moroccan Open", "71-67-69-70=277", "15", "2 strokes", "David Lynn"], [3, "3 Nov 2002", "Italian Open", "61-67-69=197", "19", "2 strokes", "Paul Lawrie"], [4, "1 Jun 2003", "Celtic Manor Resort Wales Open", "65-67-68-70=270", "18", "3 strokes", "Darren Fichardt , Jonathan Lomas , Jarrod Moseley"], [5, "10 Aug 2003", "Nordic Open", "68-67-65-66=266", "22", "1 stroke", "Colin Montgomerie"], [6, "31 Oct 2004", "Volvo Masters Andalucia", "71-67-69-70=277", "7", "Playoff", "Sergio Garca"], [8, "1 Nov 2009", "Barclays Singapore Open 1", "66-64-72-72=274", "10", "1 stroke", "Liang Wen-chong"], [9, "21 Feb 2010", "WGC-Accenture Match Play Championship", "4 and 2", "4 and 2", "4 and 2", "Paul Casey"], [10, "21 Nov 2010", "UBS Hong Kong Open 1", "67-60-64-67=258", "22", "1 stroke", "Simon Dyson , Matteo Manassero"]], "types": ["real", "text", "text", "text", "text", "text", "text"]}
SELECT ([Tournament]) FROM data_table WHERE LOWER([Winning score]) = LOWER('68-67-65-66=266')
wiki-sql
Nordic Open
In what tournament was the winning score 68-67-65-66=266?
script
{"header": ["County", "Exports (US$ mil)", "Percent of total exports", "Imports (US$ mil)", "Percent of total imports"], "rows": [["Bucharest-Ilfov", "$ 8,001.2", "19.2 %", "$ 26,557.8", "39.8 %"], ["Sud-Muntenia", "$ 6,300,7", "15.1 %", "$ 6,785.5", "10.2 %"], ["Vest", "$ 6,270.2", "15.0 %", "$ 6,597.6", "9.9 %"], ["Sud-Est", "$ 5,762", "13.8 %", "$ 7,501.9", "11.2 %"], ["Centru", "$ 5,338", "12.8 %", "$ 7.879.4", "11.8 %"], ["Nord-Vest", "$ 4,726.6", "11.3 %", "$ 6,999.1", "10.5 %"], ["Sud-Vest Oltenia", "$ 3,226.2", "7.7 %", "$ 2,007.8", "3.0 %"]], "types": ["text", "text", "text", "text", "text"], "caption": "Development regions"}
SELECT ([Exports (US$ mil)]) FROM data_table WHERE LOWER([County]) = LOWER('Vest')
wiki-sql
$ 6,270.2
When the country is vest, what were the exports?
script
{"header": ["Title", "Year", "ISBN", "Volume", "Strips", "Pages", "Colors"], "rows": [["Dungeon Crawlin' Fools", "2005", "978-0-9766580-0-3", "1", "1121", "120", "Full color"], ["On the Origin of PCs", "2005", "978-0-9766580-1-1", "0", "Print-exclusive prequel", "72", "Black-and-white"], ["No Cure for the Paladin Blues", "2006", "978-0-9766580-3-8", "2", "121a-301", "244", "Full color"], ["Start of Darkness", "2007", "978-0-9766580-4-7", "1", "Print-exclusive prequel", "96", "Black-and-white with color inserts"], ["War And XPs", "2008", "978-0-9766580-5-4", "3", "302484", "288", "Full color"], ["Don't Split the Party", "2009", "978-0-9766580-6-1", "4", "485672", "272", "Full color"], ["Snips, Snails, and Dragon Tales", "2011", "978-0-9766580-7-8", "D", "Dragon content, plus print-only content", "112", "Mixed color and black-and-white"]], "types": ["text", "real", "text", "text", "text", "real", "text"], "caption": "Publications"}
SELECT ([Title]) FROM data_table WHERE [Pages] = 96
wiki-sql
Start of Darkness
Tell me the title for pages of 96
script
{"header": ["Outcome", "Date", "Tournament", "Surface", "Partner", "Opponents", "Score"], "rows": [["Winner", "21 May 2007", "Vienna , Austria", "Clay", "Teliana Pereira", "Katarna Poljakov Zuzana Zlochov", "76 (71) , 63"], ["Winner", "24 March 2008", "Goudi , Greece", "Hard", "Vivienne Vierin", "Raffaella Bindi Biljana Pawlowa-Dimitrova", "57, 75, [107]"], ["Runner-up", "4 August 2008", "Vienna , Austria", "Clay", "Laura-Ioana Andrei", "udmila Cervanov Katarna Markov", "60, 36, [1113]"], ["Runner-up", "1 February 2010", "Belfort , France", "Carpet (i)", "Karina Pimkina", "Elena Bovina Irena Pavlovic", "26, 62, [610]"], ["Runner-up", "8 February 2010", "Stockholm , Sweden", "Hard (i)", "Yvonne Meusburger", "Ksenia Milevskaya Lesia Tsurenko", "46, 57"], ["Runner-up", "20 June 2011", "Lenzerheide , Switzerland", "Clay", "Romana Tabak", "Ani Mijaika Amra Sadikovi", "64, 26, [410]"]], "types": ["text", "text", "text", "text", "text", "text", "text"], "caption": "Doubles (24)"}
SELECT ([Opponents]) FROM data_table WHERE LOWER([Partner]) = LOWER('yvonne meusburger')
wiki-sql
Ksenia Milevskaya Lesia Tsurenko
Tell me the opponents for partner of yvonne meusburger
script
{"header": ["Statistic", "Name", "Total", "School", "Opponent", "Stage"], "rows": [["Most points", "Kevin Alas", "43", "Letran", "SSC-R", "2012 Semifinals"], ["Most rebounds", "Calvin Abueva Calvin Abueva", "23** 21", "SSC-R SSC-R", "SanBeda Letran", "2009 Finals 2012 Semifinals"], ["Most assists", "Michael Gonzales Jayson Castro", "10", "SSC-R PCU", "CSB UPHDS", "2002 Finals 2004 Finals"], ["Most steals", "RJ Jazul", "8", "Letran", "JRU", "2008 Semifinals"], ["Most blocks", "Mark Andaya Sam Ekwe", "7* 6", "Letran SanBeda", "PCU PCU", "2004 Semifinals 2006 Finals"]], "types": ["text", "text", "text", "text", "text", "text"], "caption": "Individual single-game records"}
SELECT ([Total]) FROM data_table WHERE LOWER([Opponent]) = LOWER('csb uphds')
wiki-sql
10
When the opposing team was CSB UPHDS what was the total?
script
{"header": ["Position", "Team", "Played", "Wins", "Draws", "Losses", "Scored", "Conceded", "Points"], "rows": [["1", "Cerro Porteo", "18", "12", "5", "1", "31", "13", "41"], ["2", "Libertad", "18", "11", "5", "2", "44", "13", "38"], ["3", "Tacuary", "18", "8", "4", "6", "25", "13", "28"], ["4", "Guaran", "18", "8", "4", "6", "20", "25", "28"], ["5", "Olimpia", "18", "6", "5", "7", "21", "28", "23"], ["6", "Nacional", "18", "5", "5", "8", "19", "24", "20"], ["7", "Sol de Amrica", "18", "5", "4", "9", "14", "24", "19"], ["8", "12 de Octubre", "18", "5", "3", "10", "18", "28", "18"], ["9", "Sportivo Luqueo", "18", "3", "8", "7", "19", "30", "17"], ["10", "Sport Colombia", "18", "4", "3", "11", "21", "34", "15"]], "types": ["real", "text", "real", "real", "real", "real", "real", "real", "real"], "caption": "Torneo Apertura"}
SELECT MIN([Conceded]) FROM data_table WHERE [Wins] < 8 AND [Scored] = 21 AND [Points] < 23
wiki-sql
34.0
What is the lowest number conceded for the team that had less than 8 wins, scored 21, and had less than 23 points?
script
{"header": ["Home team", "Home team score", "Away team", "Away team score", "Venue", "Crowd", "Date"], "rows": [["Richmond", "21.18 (144)", "South Melbourne", "9.13 (67)", "Punt Road Oval", "21,000", "10 July 1948"], ["Essendon", "13.13 (91)", "Melbourne", "9.11 (65)", "Windy Hill", "17,000", "10 July 1948"], ["Collingwood", "19.13 (127)", "North Melbourne", "10.11 (71)", "Victoria Park", "19,500", "10 July 1948"], ["Carlton", "17.10 (112)", "Hawthorn", "10.9 (69)", "Princes Park", "9,000", "10 July 1948"], ["St Kilda", "7.11 (53)", "Footscray", "13.13 (91)", "Junction Oval", "7,000", "10 July 1948"], ["Geelong", "13.9 (87)", "Fitzroy", "9.17 (71)", "Kardinia Park", "18,500", "10 July 1948"]], "types": ["text", "text", "text", "text", "text", "real", "text"], "caption": "Round 12"}
SELECT ([Away team]) FROM data_table WHERE [Crowd] > 17000 AND LOWER([Venue]) = LOWER('punt road oval')
wiki-sql
South Melbourne
Who is the away team that played at punt road oval where the crowd was larger than 17,000?
script
{"header": ["Week", "Date", "Opponent", "Location", "Time ( ET )", "Result", "Record"], "rows": [["1", "Sun. Sep. 1", "at Jacksonville Jaguars", "Alltel Stadium", "1:00pm", "L 249", "01"], ["2", "Sun. Sep. 8", "Baltimore Ravens", "Three Rivers Stadium", "1:00pm", "W 3117", "11"], ["3", "Mon. Sep. 16", "Buffalo Bills", "Three Rivers Stadium", "9:00pm", "W 246", "21"], ["4", "Sun. Sep. 22", "Bye", "Bye", "Bye", "Bye", "Bye"], ["5", "Sun. Sep. 29", "Houston Oilers", "Three Rivers Stadium", "1:00pm", "W 3016", "31"], ["6", "Mon. Oct. 7", "at Kansas City Chiefs", "Arrowhead Stadium", "9:00pm", "W 177", "41"], ["7", "Sun. Oct. 13", "Cincinnati Bengals", "Three Rivers Stadium", "1:00pm", "W 2010", "51"], ["8", "Sun. Oct. 20", "at Houston Oilers", "Astrodome", "4:00pm", "L 2313", "52"], ["9", "Sun. Oct. 27", "at Atlanta Falcons", "Georgia Dome", "1:00pm", "W 2017", "62"], ["10", "Sun. Nov. 3", "St. Louis Rams", "Three Rivers Stadium", "1:00pm", "W 426", "72"], ["11", "Sun. Nov. 10", "at Cincinnati Bengals", "Cinergy Field", "1:00pm", "L 3424", "73"], ["12", "Sun. Nov. 17", "Jacksonville Jaguars", "Three Rivers Stadium", "1:00pm", "W 283", "83"], ["13", "Mon. Nov. 25", "at Miami Dolphins", "Pro Player Stadium", "9:00pm", "W 2417", "93"], ["14", "Sun. Dec. 1", "at Baltimore Ravens", "Memorial Stadium", "1:00pm", "L 3117", "94"], ["15", "Sun. Dec. 8", "San Diego Chargers", "Three Rivers Stadium", "1:00pm", "W 163", "104"], ["16", "Sun. Dec. 15", "San Francisco 49ers", "Three Rivers Stadium", "1:00pm", "L 2515", "105"], ["17", "Sun. Dec. 22", "at Carolina Panthers", "Ericsson Stadium", "1:00pm", "L 1814", "106"]], "types": ["real", "text", "text", "text", "text", "text", "text"], "caption": "Schedule"}
SELECT ([Opponent]) FROM data_table WHERE [Week] > 4 AND LOWER([Date]) = LOWER('sun. nov. 17')
wiki-sql
Jacksonville Jaguars
Who is the opponent of the game after week 4 on Sun. Nov. 17?
script
{"header": ["Call sign", "Frequency MHz", "City of license", "ERP W", "Class", "FCC info"], "rows": [["K208CL", "89.5", "Tribune, Kansas", "250", "D", "FCC"], ["K217CS", "91.3", "Washburn, Texas", "170", "D", "FCC"], ["K222AK", "92.3", "Hugoton, Kansas", "170", "D", "FCC"], ["K222BJ", "92.3", "Ashland, Kansas", "250", "D", "FCC"], ["K235AL", "94.9", "Amarillo, Texas", "62", "D", "FCC"], ["K242AK", "96.3", "Liberal, Kansas", "250", "D", "FCC"]], "types": ["text", "real", "text", "real", "text", "text"], "caption": "Broadcast translators \n of KANZ"}
SELECT MIN([ERP W]) FROM data_table WHERE [Frequency MHz] = 94.9
wiki-sql
62.0
What is the smallest ERP W with a frequency MHz of 94.9?
script
{"header": ["Medal", "Name", "Games", "Sport", "Event"], "rows": [["Bronze", "Pedro Nolasco", "1984 Los Angeles", "Boxing", "Bantamweight"], ["Gold", "Flix Snchez", "2004 Athens", "Athletics", "Men's 400 metre hurdles"], ["Gold", "Manuel Felix Diaz", "2008 Beijing", "Boxing", "Light welterweight"], ["Silver", "Yulis Gabriel Mercedes", "2008 Beijing", "Taekwondo", "Men's 58 kg"], ["Gold", "Flix Snchez", "2012 London", "Athletics", "Men's 400 m hurdles"], ["Silver", "Lugueln Santos", "2012 London", "Athletics", "Men's 400 m"]], "types": ["text", "text", "text", "text", "text"], "caption": "List of medalists"}
SELECT ([Medal]) FROM data_table WHERE LOWER([Games]) = LOWER('2008 beijing') AND LOWER([Sport]) = LOWER('taekwondo')
wiki-sql
Silver
Which Medal had a Games of 2008 beijing, and a Sport of taekwondo?
script
{"header": ["SCHOOL", "LOCATION", "PUBS. 2010", "TOTALS 06-10", "RANK 06-10", "PUBS 2011", "TOTALS 07-11", "RANK 07-11", "WORLD RANKING"], "rows": [["ICT, Mumbai ( UDCT )", "Mumbai", "185", "960", "1", "198", "1025", "1", "4"], ["IIT Bombay", "Mumbai", "72", "368", "2", "75", "393", "2", "NA"], ["IIT Kanpur", "Kanpur", "72", "356", "3", "80", "378", "3", "NA"], ["IIT Kharagpur", "Kharagpur", "68", "301", "4", "59", "305", "4", "NA"], ["IIT Madras", "Chennai", "60", "263", "5", "55", "281", "5", "NA"], ["Anna University", "Chennai", "39", "257", "6", "56", "261", "6", "NA"]], "types": ["text", "text", "real", "real", "real", "real", "real", "real", "text"], "caption": "WORLD RANKING OF CHEMICAL ENGINEERING SCHOOLS (200711), (Prof. Jude Sommerfeld, USA, 22 Jan 2012)"}
SELECT AVG([PUBS 2011]) FROM data_table WHERE LOWER([LOCATION]) = LOWER('mumbai') AND [TOTALS 07-11] < 1025
wiki-sql
75.0
What is the average PUBS 11 value in Mumbai, which has a 07-11 totals less than 1025?
script
{"header": ["Child", "Date of birth", "Mother", "Father", "DNA testing status"], "rows": [["Oliver Buell", "1838 39", "Presendia Huntington Buell", "Norman Buell", "Complete (November 2007)"], ["John Reed Hancock", "April 19, 1841", "Clarissa Reed Hancock", "Levi Hancock", "Complete (July 2011)"], ["Mosiah Hancock", "April 9, 1834", "Clarissa Reed Hancock", "Levi Hancock", "Complete (November 2007)"], ["Frank Henry Hyde", "January 23, 1845, 1846?", "Marinda Johnson Hyde", "Orson Hyde", "Incomplete"], ["Orson Washington Hyde", "November 9, 1843", "Marinda Johnson Hyde", "Orson Hyde", "Not possible (died in infancy)"], ["Zebulon Jacobs", "January 2, 1842", "Zina Huntington Jacobs", "Henry Jacobs", "Complete (May 2005)"], ["Algernon Lightner", "March 22, 1842", "Mary Elizabeth Rollins Lightner", "Adam Lightner", "Not possible (died in infancy)"], ["Josephine Rosetta Lyon", "February 8, 1844", "Sylvia Porter Sessions Lyon", "Windsor Lyon", "Incomplete"], ["Moroni Pratt", "December 7, 1844", "Mary Ann Frost Pratt", "Parley P. Pratt", "Complete (May 2005)"]], "types": ["text", "text", "text", "text", "text"], "caption": "Allegations of children born to alleged polygamous wives"}
SELECT ([Father]) FROM data_table WHERE LOWER([Mother]) = LOWER('presendia huntington buell')
wiki-sql
Norman Buell
Who is the father of the child whose mother is Presendia Huntington Buell?
script
{"header": ["Name", "Team", "Qual 1", "Qual 2", "Best"], "rows": [["Paul Tracy", "Forsythe Racing", "58.361", "57.546", "57.546"], ["Justin Wilson", "Mi-Jack Conquest Racing", "58.842", "57.954", "57.954"], ["Sbastien Bourdais", "Newman/Haas Racing", "58.731", "58.034", "58.034"], ["A. J. Allmendinger", "RuSPORT", "58.745", "58.142", "58.142"], ["Alex Tagliani", "Rocketsports Racing", "58.948", "58.156", "58.156"], ["Bruno Junqueira", "Newman/Haas Racing", "58.500", "58.226", "58.226"], ["Patrick Carpentier", "Forsythe Racing", "58.991", "58.353", "58.353"], ["Michel Jourdain, Jr.", "RuSPORT", "59.448", "58.442", "58.442"], ["Ryan Hunter-Reay", "Herdez Competition", "58.529", "58.909", "58.529"], ["Jimmy Vasser", "PKV Racing", "58.782", "58.539", "58.539"], ["Mario Domnguez", "Herdez Competition", "59.258", "58.771", "58.771"], ["Mario Haberfeld", "Walker Racing", "59.348", "58.779", "58.779"], ["Oriol Servi", "Dale Coyne Racing", "1:00.081", "59.140", "59.140"], ["Roberto Gonzlez", "PKV Racing", "1:00.419", "59.263", "59.263"], ["Rodolfo Lavn", "Forsythe Racing", "59.384", "59.360", "59.360"], ["Nelson Philippe", "Rocketsports Racing", "1:00.282", "59.585", "59.585"], ["Alex Sperafico", "Mi-Jack Conquest Racing", "1:00.428", "1:00.186", "1:00.186"], ["Gastn Mazzacane", "Dale Coyne Racing", "1:00.465", "1:00.217", "1:00.217"]], "types": ["text", "text", "text", "text", "text"], "caption": "Qualifying results"}
SELECT ([Name]) FROM data_table WHERE LOWER([Best]) = LOWER('57.546')
wiki-sql
Paul Tracy
What is the name of the racer with a best time of 57.546?
script
{"header": ["Year", "Entrant", "Chassis", "Engine", "Points"], "rows": [["1950", "Murrell Belanger", "Stevens", "Offenhauser L4", "0"], ["1951", "oil Mobil / Rotary Engineering", "Deidt Tuffanelli Derrico", "Offenhauser L4", "0"], ["1952", "Belanger Motors", "Lesovsky", "Offenhauser L4", "3"], ["1953", "Bardahl / Ed Walsh", "Kurtis Kraft 4000", "Offenhauser L4", "2"], ["1954", "Automobile Shippers / Casaroll", "Kurtis Kraft 500A", "Offenhauser L4", "1.5"], ["1955", "J.C. Agajanian", "Kuzma Indy Roadster", "Offenhauser L4", "0"], ["1959", "Smokey Yunick", "Kurtis Kraft 500H", "Offenhauser L4", "0"], ["1960", "Thompson / Ensley & Murphy", "Kuzma Indy Roadster", "Offenhauser L4", "0"]], "types": ["real", "text", "text", "text", "real"], "caption": "Complete Formula One World Championship results"}
SELECT MIN([Points]) FROM data_table WHERE LOWER([Chassis]) = LOWER('kurtis kraft 500a')
wiki-sql
1.5
Name the least points for chassis of kurtis kraft 500a
script
{"header": ["Date", "Visitor", "Score", "Home", "Record"], "rows": [["March 1", "Chicago", "3 5", "Colorado", "361810"], ["March 3", "Toronto", "0 4", "Colorado", "371810"], ["March 5", "San Jose", "5 3", "Colorado", "371910"], ["March 8", "Detroit", "4 2", "Colorado", "372010"], ["March 9", "Colorado", "7 5", "Vancouver", "382010"], ["March 13", "Colorado", "0 4", "Anaheim", "382110"], ["March 17", "Edmonton", "1 8", "Colorado", "392110"], ["March 19", "Colorado", "4 3", "Vancouver", "402110"], ["March 20", "Colorado", "5 2", "Los Angeles", "412110"], ["March 22", "Colorado", "0 7", "Detroit", "412210"], ["March 24", "Colorado", "5 3", "Winnipeg", "422210"], ["March 27", "Winnipeg", "3 1", "Colorado", "422310"], ["March 28", "Colorado", "8 3", "San Jose", "432310"]], "types": ["text", "text", "text", "text", "text"], "caption": "Game log"}
SELECT ([Visitor]) FROM data_table WHERE LOWER([Date]) = LOWER('march 24')
wiki-sql
Colorado
Who is the visitor on March 24?
script
{"header": ["Date", "Tournament", "Location", "Opponent team", "Score"], "rows": [["23 July 2008", "Friendly", "Cremona, Italy", "Cremonese", "00"], ["29 July 2008", "2008 TIM Trophy", "Turin, Italy", "Juventus", "22(64 p )"], ["29 July 2008", "2008 TIM Trophy", "Turin, Italy", "Internazionale", "00(43 p )"], ["1 August 2008", "2008 Russian Railways Cup", "Moscow , Russia", "Sevilla", "01"], ["3 August 2008", "2008 Russian Railways Cup", "Moscow , Russia", "Chelsea", "05"], ["9 August 2008", "Friendly", "Manchester , England", "Manchester City", "01"], ["17 August 2008", "2008 Trofeo Luigi Berlusconi", "Milan , Italy", "Juventus", "41"], ["21 August 2008", "2008 Trofeo Birra Moretti", "Naples , Italy", "Napoli", "10"], ["21 August 2008", "2008 Trofeo Birra Moretti", "Naples , Italy", "Juventus", "00(45 p )"], ["24 August 2008", "2008 Trofeo Villa de Gijn", "Gijon , Spain", "Sporting de Gijn", "02"], ["10 September 2008", "Friendly", "Lugano , Switzerland", "Lugano", "02"], ["14 October 2008", "Friendly", "Tirana , Albania", "Tirana", "12"], ["7 January 2009", "Dubai Challenge Cup", "Dubai , United Arab Emirates", "Hamburger", "11(43 p )"], ["21 January 2009", "Friendly", "Hannover , Germany", "Hannover", "32"], ["4 February 2009", "Friendly", "Glasgow , Scotland", "Rangers", "22"], ["22 April 2009", "Friendly", "Budapest , Hungary", "Hungary's league selection", "52"]], "types": ["text", "text", "text", "text", "text"], "caption": "Pre-season tournaments and friendlies"}
SELECT ([Location]) FROM data_table WHERE LOWER([Opponent team]) = LOWER('napoli')
wiki-sql
Naples , Italy
Where did Milan play against Napoli?
script
{"header": ["Home team", "Home team score", "Away team", "Away team score", "Venue", "Crowd", "Date"], "rows": [["Geelong", "10.12 (72)", "South Melbourne", "9.12 (66)", "Corio Oval", "13,500", "9 July 1927"], ["Fitzroy", "8.7 (55)", "Richmond", "17.9 (111)", "Brunswick Street Oval", "18,000", "9 July 1927"], ["North Melbourne", "9.18 (72)", "Footscray", "15.10 (100)", "Arden Street Oval", "12,000", "9 July 1927"], ["Hawthorn", "9.17 (71)", "Essendon", "11.12 (78)", "Glenferrie Oval", "6,000", "9 July 1927"], ["Melbourne", "10.12 (72)", "Collingwood", "11.13 (79)", "MCG", "27,092", "9 July 1927"], ["St Kilda", "6.8 (44)", "Carlton", "21.9 (135)", "Junction Oval", "19,000", "9 July 1927"]], "types": ["text", "text", "text", "text", "text", "real", "text"], "caption": "Round 11"}
SELECT ([Crowd]) FROM data_table WHERE LOWER([Away team]) = LOWER('richmond')
wiki-sql
18000.0
How big was the crowd when the away team was Richmond?
script
{"header": ["Home team", "Home team score", "Away team", "Away team score", "Venue", "Crowd", "Date"], "rows": [["North Melbourne", "11.8 (74)", "South Melbourne", "15.19 (109)", "Arden Street Oval", "7,000", "24 August 1946"], ["Footscray", "23.27 (165)", "Hawthorn", "8.5 (53)", "Western Oval", "12,000", "24 August 1946"], ["Fitzroy", "9.11 (65)", "Melbourne", "10.9 (69)", "Brunswick Street Oval", "19,000", "24 August 1946"], ["Collingwood", "17.26 (128)", "Geelong", "7.11 (53)", "Victoria Park", "11,000", "24 August 1946"], ["St Kilda", "11.9 (75)", "Essendon", "16.20 (116)", "Junction Oval", "9,000", "24 August 1946"], ["Richmond", "16.29 (125)", "Carlton", "13.15 (93)", "Punt Road Oval", "38,000", "24 August 1946"]], "types": ["text", "text", "text", "text", "text", "real", "text"], "caption": "Round 18"}
SELECT ([Home team score]) FROM data_table WHERE [Crowd] > 12000 AND LOWER([Venue]) = LOWER('brunswick street oval')
wiki-sql
9.11 (65)
What is the score of the home team that played at brunswick street oval with a crowd larger than 12,000?
script
{"header": ["Election", "First member", "First party", "Second member", "Second party"], "rows": [["1832", "Hon. George Venables-Vernon", "Whig", "The Lord Waterpark", "Whig"], ["1835", "Sir George Harpur Crewe, Bt", "Tory", "Sir Roger Gresley, Bt", "Tory"], ["1837", "Sir George Harpur Crewe, Bt", "Tory", "Francis Hurt", "Tory"], ["1841", "Edward Miller Mundy", "Conservative", "Charles Robert Colvile", "Peelite"], ["1849 by-election", "William Mundy", "Conservative", "Charles Robert Colvile", "Peelite"], ["1857", "William Evans", "Liberal", "Charles Robert Colvile", "Peelite"], ["1859", "William Evans", "Liberal", "William Mundy", "Conservative"], ["1865", "William Evans", "Liberal", "Charles Robert Colvile", "Liberal"], ["1868", "Rowland Smith", "Conservative", "Sir Thomas Gresley, Bt", "Conservative"], ["1869 by-election", "Rowland Smith", "Conservative", "Sir Henry Wilmot, Bt", "Conservative"], ["1874", "William Evans", "Liberal", "Sir Henry Wilmot, Bt", "Conservative"], ["1885", "radical boundary changes, reduced to one member", "radical boundary changes, reduced to one member", "radical boundary changes, reduced to one member", "radical boundary changes, reduced to one member"]], "types": ["text", "text", "text", "text", "text"], "caption": "MPs 18321885"}
SELECT ([First member]) FROM data_table WHERE LOWER([Election]) = LOWER('1868')
wiki-sql
Rowland Smith
Who is the first member in the 1868 election?
script
{"header": ["No.", "Player", "Hometown", "Class", "Position", "Height", "Weight"], "rows": [[10, "Larry Bauer", "Springfield, Illinois", "So.", "Forward", "6-7", 207], [11, "Bob Meadows", "Collinsville, Illinois", "So.", "Guard", "5-7", 157], [12, "Tal Brody", "Trenton, New Jersey / Central High School", "So.", "Guard", "6-2", 165], [14, "John Love", "Ottawa, Illinois", "Jr.", "Forward", "6-3", 199], [22, "Jay Lovelace", "Carbondale, Illinois", "Sr.", "Guard", "6-0", 164], [25, "Bill Burwell", "Brooklyn, New York / Boys High School", "Sr.", "Center", "6-8", 227], [30, "Jeff Ferguson", "Benton, Illinois", "Sr.", "Forward", "6-3", 195], [31, "Tony Latham", "Waukegan, Illinois", "So.", "Guard", "6-10", 163], [32, "Bill Edwards", "Windsor, Illinois", "Jr.", "Guard", "6-2", 208], [33, "Bogie Redmon", "Collinsville, Illinois", "So.", "Forward", "6-5", 218], [34, "Bill McKeown", "Clinton, Illinois", "So.", "Guard", "6-2", 185], [35, "Skip Thoren", "Rockford, Illinois / Rockford East High School", "So.", "Center", "6-8", 201], [40, "Dave Downey", "Canton, Illinois", "Sr.", "Forward", "6-4", 204]], "types": ["real", "text", "text", "text", "text", "text", "real"], "caption": "Roster"}
SELECT ([Player]) FROM data_table WHERE LOWER([Height]) = LOWER('6-5')
wiki-sql
Bogie Redmon
Who is every player with a height of 6-5?
script
{"header": ["Date", "Visitor", "Score", "Home", "Record"], "rows": [["December 2, 1976", "San Antonio Spurs", "116-124", "Golden State Warriors", "11-10"], ["December 3, 1976", "San Antonio Spurs", "105114", "Los Angeles Lakers", "11-11"], ["December 5, 1976", "San Antonio Spurs", "98103", "Phoenix Suns", "11-12"], ["December 8, 1976", "Atlanta Hawks", "117106", "San Antonio Spurs", "11-13"], ["December 10, 1976", "San Antonio Spurs", "136120", "Milwaukee Bucks", "1213"], ["December 11, 1976", "New Orleans Jazz", "106121", "San Antonio Spurs", "13-13"], ["December 14, 1976", "New York Knicks", "98111", "San Antonio Spurs", "1413"], ["December 15, 1976", "San Antonio Spurs", "102116", "Indiana Pacers", "1414"], ["December 17, 1976", "San Antonio Spurs", "101103", "Chicago Bulls", "14-15"], ["December 19, 1976", "San Antonio Spurs", "105106", "Cleveland Cavaliers", "14-16"], ["December 21, 1976", "Golden State Warriors", "123120", "San Antonio Spurs", "15-16"], ["December 23, 1976", "Washington Bullets", "116118", "San Antonio Spurs", "1616"], ["December 26, 1976", "San Antonio Spurs", "110105", "Kansas City Kings", "17-16"], ["December 28, 1976", "Philadelphia 76ers", "116127", "San Antonio Spurs", "18-16"]], "types": ["text", "text", "text", "text", "text"], "caption": "December"}
SELECT ([Home]) FROM data_table WHERE LOWER([Visitor]) = LOWER('new york knicks')
wiki-sql
San Antonio Spurs
Who was the home when the visitor was New York Knicks?
script
{"header": ["Week", "Date", "Opponent", "Result", "Attendance"], "rows": [["1", "September 23, 1960", "St. Louis Cardinals", "L 43-21", "47,448"], ["2", "October 2, 1960", "at San Francisco 49ers", "L 13-9", "53,633"], ["3", "October 9, 1960", "at Chicago Bears", "L 34-27", "47,776"], ["4", "October 16, 1960", "at Baltimore Colts", "L 31-17", "57,808"], ["5", "October 23, 1960", "Chicago Bears", "T 24-24", "63,438"], ["6", "October 30, 1960", "Detroit Lions", "W 48-35", "53,295"], ["7", "November 6, 1960", "at Dallas Cowboys", "W 38-13", "16,000"], ["8", "November 13, 1960", "at Detroit Lions", "L 12-10", "54,019"], ["9", "November 20, 1960", "at Green Bay Packers", "W 33-31", "35,763"], ["10", "Bye", "Bye", "Bye", "Bye"], ["11", "December 4, 1960", "San Francisco 49ers", "L 23-7", "77,254"], ["12", "December 11, 1960", "Baltimore Colts", "W 10-3", "75,461"], ["13", "December 17, 1960", "Green Bay Packers", "L 35-21", "53,445"]], "types": ["real", "text", "text", "text", "text"], "caption": "Schedule"}
SELECT ([Date]) FROM data_table WHERE LOWER([Attendance]) = LOWER('35,763')
wiki-sql
November 20, 1960
I want to know the date with attendance of 35,763
script
{"header": ["Place", "Player", "Country", "Score", "To par"], "rows": [["1", "Tiger Woods", "United States", "66-67-70=203", "13"], ["T2", "Scott Dunlap", "United States", "66-68-70=204", "12"], ["T2", "Bob May", "United States", "72-66-66=204", "12"], ["4", "J. P. Hayes", "United States", "69-68-68=205", "11"], ["5", "Greg Chalmers", "Australia", "71-69-66=206", "10"], ["T6", "Stuart Appleby", "Australia", "70-69-68=207", "9"], ["T6", "Thomas Bjrn", "Denmark", "72-68-67=207", "9"], ["T6", "Jos Mara Olazbal", "Spain", "76-68-63=207", "9"], ["T9", "Notah Begay III", "United States", "72-66-70=208", "8"], ["T9", "Franklin Langham", "United States", "72-71-65=208", "8"]], "types": ["text", "text", "text", "text", "text"], "caption": "Third round"}
SELECT ([Country]) FROM data_table WHERE LOWER([Place]) = LOWER('t6')
wiki-sql
Australia
What is the country of the player with a t6 place?
script
{"header": ["Week", "Date", "Opponent", "Location", "Final Score", "Attendance", "Record"], "rows": [[1, "August 16", "@ Rough Riders", "Landsdowne Park", "W 217", 20321, "100"], [1, "August 19", "Alouettes", "Exhibition Stadium", "W 3614", 26524, "200"], [2, "August 26", "@ Alouettes", "Molson Stadium", "W 2928", 24533, "300"], [3, "September 5", "@ Tiger-Cats", "Civic Stadium", "W 3221", 26253, "400"], [4, "September 11", "Tiger-Cats", "Exhibition Stadium", "W 1612", 30863, "500"], [5, "September 14", "@ Rough Riders", "Landsdowne Park", "L 2112", 20477, "510"], [5, "September 18", "Rough Riders", "Exhibition Stadium", "L 2612", 30949, "520"], [6, "September 24", "@ Alouettes", "Molson Stadium", "W 219", 23452, "620"], [7, "October 1", "Alouettes", "Exhibition Stadium", "W 5015", 24145, "720"], [8, "October 7", "Tiger-Cats", "Exhibition Stadium", "W 2414", 27494, "820"], [9, "October 10", "@ Tiger-Cats", "Civic Stadium", "L 2016", 25873, "830"], [10, "October 16", "Rough Riders", "Exhibition Stadium", "W 3713", 32896, "930"], [11, "October 22", "@ Rough Riders", "Landsdowne Park", "L 381", 19119, "940"]], "types": ["real", "text", "text", "text", "text", "real", "text"], "caption": "Schedule"}
SELECT MIN([Week]) FROM data_table
wiki-sql
1
What is the least value for week?
script
{"header": ["District", "Incumbent", "Party", "First elected", "Result", "Candidates"], "rows": [["Georgia 1", "Ronald \"Bo\" Ginn", "Democratic", 1972, "Re-elected", "Ronald \"Bo\" Ginn (D) Unopposed"], ["Georgia 2", "Dawson Mathis", "Democratic", 1970, "Re-elected", "Dawson Mathis (D) Unopposed"], ["Georgia 3", "Jack Thomas Brinkley", "Democratic", 1966, "Re-elected", "Jack Thomas Brinkley (D) Unopposed"], ["Georgia 6", "John James Flynt, Jr.", "Democratic", 1954, "Retired Republican gain", "Newt Gingrich (R) 54.4% Virginia Shapard (D) 45.6%"], ["Georgia 8", "Billy Lee Evans", "Democratic", 1976, "Re-elected", "Billy Lee Evans (D) Unopposed"], ["Georgia 9", "Ed Jenkins", "Democratic", 1976, "Re-elected", "Ed Jenkins (D) 76.9% David G. Ashworth (R) 23.1%"]], "types": ["text", "text", "text", "real", "text", "text"], "caption": ""}
SELECT COUNT([Party]) FROM data_table WHERE LOWER([Incumbent]) = LOWER('Dawson Mathis')
wiki-sql
1
How many parties are there in races involving Dawson Mathis?
script
{"header": ["Place", "Player", "Country", "Score", "To par"], "rows": [["1", "Henry Picard", "United States", "67", "5"], ["T2", "Gene Sarazen", "United States", "68", "4"], ["T2", "Ray Mangrum", "United States", "68", "4"], ["T2", "Willie Goggin", "United States", "68", "4"], ["5", "Craig Wood", "United States", "69", "3"], ["T6", "Olin Dutra", "United States", "70", "2"], ["T6", "Jimmy Hines", "United States", "70", "2"], ["T6", "Johnny Revolta", "United States", "70", "2"], ["T6", "Paul Runyan", "United States", "70", "2"], ["T10", "Tony Manero", "United States", "71", "1"], ["T10", "Leo Diegel", "United States", "71", "1"], ["T10", "Willie Klein", "United States", "71", "1"], ["T10", "Mike Turnesa", "United States", "71", "1"]], "types": ["text", "text", "text", "real", "text"], "caption": "First round"}
SELECT ([Player]) FROM data_table WHERE LOWER([To par]) = LOWER('4')
wiki-sql
Gene Sarazen
What is the name of the player with a To par of 4?
script
{"header": ["Rank", "Nation", "Gold", "Silver", "Bronze", "Total"], "rows": [["1", "Austria", "0", "0", "3", "3"], ["2", "Italy", "1", "1", "0", "2"], ["3", "West Germany", "0", "2", "0", "2"], ["4", "Poland", "1", "0", "0", "1"], ["5", "Switzerland", "1", "0", "0", "1"]], "types": ["real", "text", "real", "real", "real", "real"], "caption": "Medal table"}
SELECT COUNT([Bronze]) FROM data_table WHERE [Total] < 3 AND LOWER([Nation]) = LOWER('poland') AND [Rank] > 4
wiki-sql
0
What is the total of Bronze with a total smaller than 3, and a nation of Poland, and a rank larger than 4?
script
{"header": ["Series Ep.", "Episode", "Segment A", "Segment B", "Segment C", "Segment D"], "rows": [["13-01", 157, "Hammers", "Swiss Cheese", "Roller Skates", "Coloured Pencils"], ["13-02", 158, "Carbon Fiber Bicycles", "Blood Products", "Forged Chandeliers", "Ballpoint Pens"], ["13-03", 159, "Swiss Army Knives", "Player Piano Rolls", "Oil Tankers", "Racing Wheels"], ["13-04", 160, "Bowling Balls", "Barber Poles", "Felt", "Radar Guns"], ["13-05", 161, "Copper Pipe Fittings", "Cylinder Music Boxes", "Pepper Mills", "Hot Rod Steering Columns"], ["13-06", 162, "Gears", "Leather Watchbands", "Vitrelle Dishes", "Kitchen Shears"], ["13-07", 163, "Pressure Cookers", "Mechanical Singing Birds", "Oceanographic Buoys", "Stainless-Steel Tank Trailers"], ["13-08", 164, "Aluminium Boats", "Alpine Horns", "es Luxury Watch (Part 1)", "es Luxury Watch (Part 2)"], ["13-09", 165, "All-Terrain Vehicles", "Alpine Skis", "Laser Cutters", "Marble Sculptures"], ["13-10", 166, "Socket Sets", "Leather Shoes", "Aluminium Water Bottles", "Bike Chains"], ["13-11", 167, "Carved Wood Sculptures", "Flatware", "Cow Bells", "Fountain Pens"], ["13-12", 168, "Olive Oil", "Lift s Truck", "Seamless Rolled Rings", "Ski Boots"]], "types": ["text", "real", "text", "text", "text", "text"], "caption": "Season 13: 2009"}
SELECT ([Segment A]) FROM data_table WHERE [Episode] = 162
wiki-sql
Gears
Name the segment a for 162
script
{"header": ["Date", "Episode", "Performer 1", "Performer 2", "Performer 3", "Performer 4"], "rows": [["10 November 1989", "1", "Greg Proops", "Josie Lawrence", "Tony Slattery", "Mike McShane"], ["17 November 1989", "2", "Archie Hahn", "Josie Lawrence", "Tony Slattery", "John Sessions"], ["24 November 1989", "3", "Ron West", "Griff Rhys-Jones", "Paul Merton", "John Sessions"], ["8 December 1989", "4", "Greg Proops", "Josie Lawrence", "Paul Rider", "Mike McShane"], ["15 December 1989", "5", "Ryan Stiles", "Sandi Toksvig", "Tony Slattery", "John Sessions"], ["22 December 1989", "6", "Ron West", "Jimmy Mulville", "Paul Merton", "John Sessions"], ["29 December 1989 (Christmas Edition)", "7", "Greg Proops", "Josie Lawrence", "Paul Merton", "Sandi Toksvig"], ["5 January 1990", "8", "Ryan Stiles", "Josie Lawrence", "Neil Mullarkey", "Mike McShane"], ["12 January 1990", "9", "Archie Hahn", "Jonathan Pryce", "Paul Merton", "John Sessions"], ["19 January 1990", "10", "Lee Simpson", "Jan Ravens", "Tony Slattery", "Mike McShane"], ["26 January 1990", "11", "Josie Lawrence", "Arthur Smith", "Sandi Toksvig", "Mike McShane"], ["9 February 1990", "12", "Mike McShane", "Chris Langham", "Sandi Toksvig", "John Sessions"], ["16 February 1990", "13", "Greg Proops", "Josie Lawrence", "Tony Slattery", "John Sessions"], ["23 February 1990", "14", "Ron West", "Sandi Toksvig", "Tony Slattery", "Rory McGrath"], ["2 March 1990", "15", "Josie Lawrence", "Paul Merton", "Tony Slattery", "Mike McShane"], ["9 March 1990", "16", "Compilation 1", "Compilation 1", "Compilation 1", "Compilation 1"], ["16 March 1990", "17", "Compilation 2", "Compilation 2", "Compilation 2", "Compilation 2"]], "types": ["text", "real", "text", "text", "text", "text"], "caption": "Series 2"}
SELECT ([Performer 1]) FROM data_table WHERE LOWER([Performer 3]) = LOWER('paul merton') AND LOWER([Performer 4]) = LOWER('sandi toksvig')
wiki-sql
Greg Proops
Performer 3 of paul merton, and a Performer 4 of sandi toksvig is which performer 1?
script
{"header": ["Race", "Length", "Class", "Circuit", "Date"], "rows": [["Rolex 24 at Daytona", "24 Hours", "All", "Daytona International Speedway", "February 3 February 4"], ["Exxon Superflo 12 Hours of Sebring", "12 Hours", "All", "Sebring International Raceway", "March 17"], ["Advance Auto Parts Grand Prix of Atlanta", "40 Minutes", "GTS-2", "Road Atlanta", "April 21"], ["Advance Auto Parts Grand Prix of Atlanta", "3 Hours", "WSC/GTS-1", "Road Atlanta", "April 21"], ["Exxon Superflo 500 at Texas", "500 Miles", "All", "Texas World Speedway", "May 5"], ["The Dodge Dealers Grand Prix", "1 Hour", "GTS-2", "Lime Rock Park", "May 27"], ["The Dodge Dealers Grand Prix", "1 Hour 45 Minutes", "WSC/GTS-1", "Lime Rock Park", "May 27"], ["First Union Six Hours at the Glen", "Six Hours", "All", "Watkins Glen International", "June 9"], ["Toshiba California Grand Prix", "45 Minutes", "GTS-2", "Sears Point Raceway", "July 14"], ["Toshiba California Grand Prix", "3 Hours", "WSC/GTS-1", "Sears Point Raceway", "July 14"], ["Chrysler Mosport 500", "3 Hours", "All", "Mosport International Raceway", "August 25"], ["Sprint Grand Prix of Dallas", "45 Minutes", "GTS-2", "Dallas street circuit", "September 1"], ["Sprint Grand Prix of Dallas", "2 Hours", "WSC/GTS-1", "Dallas street circuit", "September 1"], ["Daytona IMSA Finale", "3 Hours", "All", "Daytona International Speedway", "October 6"]], "types": ["text", "text", "text", "text", "text"], "caption": "Schedule"}
SELECT ([Length]) FROM data_table WHERE LOWER([Race]) = LOWER('first union six hours at the glen')
wiki-sql
Six Hours
What is the length of the First Union six hours at the Glen?
script
{"header": ["District", "Incumbent", "Party", "First elected", "Result", "Candidates"], "rows": [["California 1", "Clarence F. Lea", "Democratic", 1916, "Re-elected", "Clarence F. Lea (D) Unopposed"], ["California 2", "Harry Lane Englebright", "Republican", 1926, "Re-elected", "Harry Lane Englebright (R) Unopposed"], ["California 4", "Florence Prag Kahn", "Republican", 1925, "Re-elected", "Florence Prag Kahn (R) Unopposed"], ["California 5", "Richard J. Welch", "Republican", 1926, "Re-elected", "Richard J. Welch (R) Unopposed"], ["California 6", "Albert E. Carter", "Republican", 1924, "Re-elected", "Albert E. Carter (R) Unopposed"], ["California 7", "Henry E. Barbour", "Republican", 1918, "Re-elected", "Henry E. Barbour (R) Unopposed"], ["California 8", "Arthur M. Free", "Republican", 1920, "Re-elected", "Arthur M. Free (R) Unopposed"], ["California 9", "William E. Evans", "Republican", 1926, "Re-elected", "William E. Evans (R) Unopposed"], ["California 10", "Joe Crail", "Republican", 1926, "Re-elected", "Joe Crail (R) 75.0% John F. Dockweiler (D) 25.0%"]], "types": ["text", "text", "text", "real", "text", "text"], "caption": ""}
SELECT ([District]) FROM data_table WHERE LOWER([Incumbent]) = LOWER('Richard J. Welch')
wiki-sql
California 5
what's thedistrict withincumbentbeing richard j. welch
script
{"header": ["Year", "Division", "League", "Reg. Season", "Playoffs", "National Open"], "rows": [[2008, 2, "WPSL", "5th, Big Sky - North", "Did not qualify", "Did not enter"], [2009, 2, "WPSL", "2nd, Big Sky - North", "Did not qualify", "Did not enter"], [2010, 2, "WPSL", "4th, Big Sky - North", "Did not qualify", "Did not enter"], [2011, 2, "WPSL", "3rd, Big Sky - North", "Did not qualify", "Runners-up"], [2012, 2, "WPSL", "1st, Big Sky - North", "National Semifinalists", "Semifinalists"]], "types": ["real", "real", "text", "text", "text", "text"], "caption": "Year-by-year"}
SELECT MAX([Division]) FROM data_table
wiki-sql
2
What is the highest number of divisions mentioned?
script
{"header": ["Race", "Length", "Class", "Circuit", "Date"], "rows": [["24 Hour Pepsi Challenge", "24 Hours", "All", "Daytona International Speedway", "February 5 February 6"], ["Budweiser Grand Prix of Miami", "100km", "GTU", "Streets of Miami", "February 27"], ["Budweiser Grand Prix of Miami", "3 Hours", "GTP", "Streets of Miami", "February 27"], ["Budweiser Grand Prix of Miami", "100km", "GTO", "Streets of Miami", "February 27"], ["Coca-Cola Classic 12 Hours of Sebring", "12 Hours", "All", "Sebring International Raceway", "March 19"], ["Road Atlanta Nissan / Datsun 500", "500km", "All", "Road Atlanta", "April 10"], ["Los Angeles Times / Datsun Grand Prix", "6 Hours", "All", "Riverside International Raceway", "April 24"], ["Monterey Triple Crown", "45 Minutes", "GTU", "Laguna Seca Raceway", "May 1"], ["Monterey Triple Crown", "100 Miles", "GTP/GTO", "Laguna Seca Raceway", "May 1"], ["Charlotte Camel GT 500", "500km", "All", "Charlotte Motor Speedway", "May 15"], ["Coca-Cola 500", "3 Hours", "All", "Lime Rock Park", "May 30"], ["Lumbermen's 6 Hours", "6 Hours", "All", "Mid-Ohio Sports Car Course", "June 19"], ["Paul Revere 250", "250 Miles", "All", "Daytona International Speedway", "July 4"], ["Pepsi Grand Prix", "500km", "All", "Brainerd International Raceway", "July 10"], ["Ford California Grand Prix", "3 Hours", "All", "Sears Point Raceway", "July 24"], ["G.I. Joe's Grand Prix", "3 Hours", "All", "Portland International Raceway", "July 31"], ["Labatt's GT", "6 Hours", "All", "Mosport Park", "August 14"], ["Road America Pabst [ disambiguation needed ] 500", "500 Miles", "All", "Road America", "August 21"], ["Grand Prix of Pocono", "500 Miles", "All", "Pocono Raceway", "September 11"], ["Eastern Airlines 3 Hours of Daytona", "3 Hours", "All", "Daytona International Speedway", "November 27"]], "types": ["text", "text", "text", "text", "text"], "caption": "Schedule"}
SELECT ([Class]) FROM data_table WHERE LOWER([Race]) = LOWER('coca-cola classic 12 hours of sebring')
wiki-sql
All
What is the class of the Coca-cola classic 12 hours of sebring race?
script
{"header": ["D 48 +", "D 47 +", "D 46 +", "D 45 O", "D 44 O", "D 43 ", "D 42 ", "D 41 "], "rows": [["D 9", "D 10", "D 11", "D 12", "D 13", "D 14", "D 15", "D 16"], ["D 28", "D 27", "D 26", "D 25", "D 24", "D 23", "D 22", "D 21"], ["D 29", "D 30", "D 31", "D 32 ", "D 33 ", "D 34 ", "D 35 ", "D 36 "], ["D 48 +", "D 47 +", "D 46 +", "D 45 O", "D 44 O", "D 43 ", "D 42 ", "D 41 "], ["D 49 +", " Majority", " Majority", " Majority", " Majority", " Majority", " Majority", " Majority"], ["D 49 +", "R 47 +", "R 46 +", "R 45 +", "R 44 +", "R 43 ", "R 42 ", "R 41 "], ["R 29", "R 30", "R 31 ", "R 32 ", "R 33 ", "R 34 ", "R 35 ", "R 36 "], ["R 28", "R 27", "R 26", "R 25", "R 24", "R 23", "R 22", "R 21"], ["R 9", "R 10", "R 11", "R 12", "R 13", "R 14", "R 15", "R 16"], ["R 8", "R 7", "R 6", "R 5", "R 4", "R 3", "R 2", "R 1"]], "types": ["text", "text", "text", "text", "text", "text", "text", "text"], "caption": "Senate composition as a result of the elections"}
SELECT ([D 45 O]) FROM data_table WHERE LOWER([D 41 ]) = LOWER('r 41 ')
wiki-sql
R 45 +
What is the value of D 45 O, when the value of D 41 is r 41 ?
script
{"header": ["Team", "Outgoing head coach", "Manner of departure", "Date of vacancy", "Position in table", "Incoming head coach", "Date of appointment"], "rows": [["Rah Ahan", "Rasoul Korbekandi", "Sacked", "7 Sep 2010", 18, "Mehdi Tartar", "8 Sep 2010"], ["Paykan", "Mohammad Ahmadzadeh", "Resigned", "10 Oct 2010", 18, "Hamid Alidousti", "15 Oct 2010"], ["Steel Azin", "Ljubia Tumbakovi", "Sacked", "13 Oct 2010", 13, "Afshin Peyrovani", "14 Oct 2010"], ["Shahrdari Tabriz", "Akbar Misaghian", "Resigned", "22 Oct 2010", 17, "Hamid Derakhshan", "26 Oct 2010"], ["Saba Qom", "Mahmoud Yavari", "Sacked", "25 Oct 2010", 8, "Abdollah Veysi", "2 Nov 2010"], ["Steel Azin", "Afshin Peyrovani", "Resigned", "23 Nov 2010", 18, "Mohammad Khakpour", "6 Dec 2010"], ["PAS Hamedan", "Ali Asghar Modir Roosta", "Resigned", "8 Dec 2010", 13, "Mahmoud Yavari", "12 Dec 2010"], ["Sanat Naft", "Accio Casimiro", "Sacked", "24 Feb 2011", 9, "Gholam Hossein Peyrovani", "7 Mar 2011"], ["Steel Azin", "Mohammad Khakpour", "Resigned", "3 Mar 2011", 18, "Mahmoud Yavari", "14 Mar 2011"], ["PAS Hamedan", "Mahmoud Yavari", "Resigned", "8 Mar 2011", 18, "Ali Asghar Modir Roosta", "10 Mar 2011"], ["Shahin Bushehr", "Hamid Estili", "Sacked", "2 Apr 2011", 16, "Akbar Misaghian", "4 Apr 2011"]], "types": ["text", "text", "text", "text", "real", "text", "text"], "caption": "In season"}
SELECT ([Manner of departure]) FROM data_table WHERE LOWER([Incoming head coach]) = LOWER('Mohammad Khakpour')
wiki-sql
Resigned
What is the manner of departure when the incoming head coach is mohammad khakpour?
script
{"header": ["Club", "Played", "Drawn", "Lost", "Points for", "Points against", "Tries for", "Tries against", "Try bonus", "Losing bonus", "Points"], "rows": [["Club", "Played", "Drawn", "Lost", "Points for", "Points against", "Tries for", "Tries against", "Try bonus", "Losing bonus", "Points"], ["Gwernyfed RFC", "20", "0", "2", "536", "183", "73", "22", "11", "1", "84"], ["Abertillery/Blaenau Gwent RFC", "20", "1", "4", "423", "208", "55", "24", "5", "3", "70"], ["Nantyglo RFC", "20", "1", "5", "370", "213", "51", "27", "6", "3", "67"], ["Llandaff RFC", "20", "0", "8", "382", "288", "54", "41", "6", "3", "57"], ["Rhiwbina RFC", "20", "0", "9", "372", "317", "51", "41", "6", "6", "56"], ["Risca RFC", "20", "0", "10", "386", "271", "53", "37", "6", "8", "54"], ["Tredegar Ironsides RFC", "20", "1", "11", "278", "314", "32", "37", "2", "7", "43"], ["Brynithel RFC", "20", "1", "12", "206", "454", "22", "65", "0", "2", "32"], ["Monmouth RFC", "20", "0", "14", "220", "402", "27", "55", "2", "3", "29"], ["Machen RFC", "20", "1", "16", "259", "552", "38", "76", "4", "5", "23"], ["Abercarn RFC", "20", "1", "16", "177", "407", "23", "54", "1", "4", "19"], ["Talywain RFC *", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"], ["Correct as of 2008-06-01", "Correct as of 2008-06-01", "Correct as of 2008-06-01", "Correct as of 2008-06-01", "Correct as of 2008-06-01", "Correct as of 2008-06-01", "Correct as of 2008-06-01", "Correct as of 2008-06-01", "Correct as of 2008-06-01", "Correct as of 2008-06-01", "Correct as of 2008-06-01"]], "types": ["text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "text"], "caption": "2007/2008 table"}
SELECT ([Tries against]) FROM data_table WHERE LOWER([Tries for]) = LOWER('32')
wiki-sql
37
What was the tries against when they had 32 tries for?
script
{"header": ["Province, Community", "Contestant", "Age", "Height", "Hometown", "Geographical Regions"], "rows": [["Azua", "Julissa Alcantara de Fiallo", 22, "m (ft 9in)", "Santo Domingo", "Sur Occidente"], ["Barahona", "Desire lvarez Lama", 19, "m (ft 9 34 in)", "Santa Cruz de Barahona", "Sur Occidente"], ["Com. Dom. En California", "Mnica Angulo Pucheaux", 18, "m (ft 9 14 in)", "Los Angeles", "Exterior"], ["Com. Dom. En Miami", "Onidys Reynosa Espinal", 21, "m (ft 8in)", "Miami", "Exterior"], ["Com. Dom. En Nueva York", "Joslyn Cabrera Ruiz", 18, "m (ft 11 14 in)", "New York", "Exterior"], ["Distrito Nacional", "Katherine Germania Almos Rey", 24, "m (ft 10 12 in)", "Villa Juana", "Sur Oriente"], ["Duarte", "Lissette Abreu Ynoa", 22, "m (ft 7 14 in)", "Constanza", "Cibao Oriental"], ["Independencia", "Nathalie Venecia Gutirrez Arias", 20, "m (ft 11 34 in)", "Santo Domingo", "Sur Occidente"], ["La Altagracia", "Patrizia Karina Gagg Jimnez", 20, "m (ft 11 14 in)", "Villa Hermosa", "Sur Oriente"], ["La Romana", "Anna Karina Toledo Espinoza", 22, "m (ft 6 14 in)", "La Romana", "Sur Oriente"], ["La Vega", "Cindy Magdalena Torrealba Cruz", 17, "m (ft 10 12 in)", "Jarabacoa", "Cibao Central"], ["Mara Trinidad Snchez", "Massiel Javier Caizarez", 19, "m (ft 10 34 in)", "Cabrera", "Cibao Oriental"], ["Monseor Nouel", "Claudia Julissa Cruz Rodrguez", 18, "m (ft 9in)", "Bonao", "Cibao Central"], ["Monte Cristi", "Hareld Ellien Mossle Casado", 17, "m (ft 7in)", "Santiago de los Caballeros", "Cibao Occidental"], ["Puerto Plata", "Wilma Joana Abreu Nazario", 20, "m (ft 6 12 in)", "Santiago de los Caballeros", "Cibao Occidental"], ["Salcedo", "Josefina de Arias Camacho", 24, "m (ft 5 14 in)", "Santo Domingo", "Cibao Central"], ["Saman", "Genevet Nicol Gutirrez Kourie", 18, "m (ft 7 34 in)", "Santa Brbara de Saman", "Cibao Oriental"], ["San Pedro de Macors", "Natascha Forestieri de los Santos", 23, "m (ft 0in)", "San Pedro de Macors", "Sur Oriente"], ["Santiago", "Cindy Guerrero Reynoso", 26, "m (ft 10in)", "Santiago de los Caballeros", "Cibao Occidental"]], "types": ["text", "text", "real", "text", "text", "text"], "caption": "Delegates"}
SELECT MIN([Age]) FROM data_table WHERE LOWER([Geographical Regions]) = LOWER('Cibao Central') AND LOWER([Hometown]) = LOWER('Santo Domingo')
wiki-sql
24
Name the least age for cibao central and santo domingo
script
{"header": ["Date", "Score", "Set 1", "Set 2", "Set 3", "Total"], "rows": [["13 Oct", "30", "152", "153", "157", "4512"], ["13 Oct", "31", "1513", "1315", "1513", "5843"], ["14 Oct", "30", "1512", "153", "1510", "4525"], ["14 Oct", "30", "1510", "155", "1512", "4527"], ["15 Oct", "31", "1513", "1512", "515", "5049"], ["15 Oct", "30", "158", "158", "156", "4522"]], "types": ["text", "text", "text", "text", "text", "text"], "caption": "Pool A"}
SELECT ([Set 1]) FROM data_table WHERE LOWER([Score]) = LOWER('30') AND LOWER([Set 3]) = LOWER('1512')
wiki-sql
1510
What is the Set 1 with a Score of 30, and has a Set 3 of 1512?
script
{"header": ["Year", "Place", "Gold", "Silver", "Bronze"], "rows": [["1982", "Caracas", "Victor Daniltchenko ( URS )", "Malcolm Cooper ( GBR )", "Ernest van de Zande ( USA )"], ["1986", "Skoevde", "Malcolm Cooper ( GBR )", "Pekka Roeppaenen ( FIN )", "Glenn Dubis ( USA )"], ["1990", "Moscow", "Harald Stenvaag ( NOR )", "Norbert Sturny ( SUI )", "Thomas Tamas ( USA )"], ["1994", "Tolmezzo", "Bernd Ruecker ( GER )", "Petr Kurka ( CZE )", "Roger Chassat ( FRA )"], ["1998", "Zaragoza", "Bengt Andersson ( SWE )", "Tapio Saynevirta ( FIN )", "Glenn Dubis ( USA )"], ["2002", "Lahti", "Norbert Sturny ( SUI )", "Thomas Jerabek ( CZE )", "Michael Larsson ( SWE )"], ["2006", "Zagreb", "Lubos Opelka ( CZE )", "Peter Sidi ( HUN )", "Rajmond Debevec ( SLO )"]], "types": ["real", "text", "text", "text", "text"], "caption": "World Championships, Men"}
SELECT ([Gold]) FROM data_table WHERE [Year] > 1982 AND LOWER([Place]) = LOWER('moscow')
wiki-sql
Harald Stenvaag ( NOR )
Who won the Gold Medal in Moscow after the year 1982?
script
{"header": ["Place", "Player", "Country", "Score", "To Par", "Money ( $ )"], "rows": [["1", "Tony Manero", "United States", "73-69-73-67=282", "6", "1,000"], ["2", "Harry Cooper", "England United States", "71-70-70-73=284", "4", "750"], ["3", "Clarence Clark", "United States", "69-75-71-72=287", "1", "650"], ["4", "Macdonald Smith", "Scotland United States", "73-73-72-70=288", "E", "550"], ["T5", "Wiffy Cox", "United States", "74-74-69-72=289", "+1", "350"], ["T5", "Ky Laffoon", "United States", "71-74-70-74=289", "+1", "350"], ["T5", "Henry Picard", "United States", "70-71-74-74=289", "+1", "350"], ["T8", "Ralph Guldahl", "United States", "73-70-73-74=290", "+2", "137"], ["T8", "Paul Runyan", "United States", "69-75-73-73=290", "+2", "137"], ["10", "Denny Shute", "United States", "72-69-73-77=291", "+3", "100"]], "types": ["text", "text", "text", "text", "text", "real"], "caption": "Final leaderboard"}
SELECT ([To Par]) FROM data_table WHERE [Money ( $ )] = 350 AND LOWER([Player]) = LOWER('henry picard')
wiki-sql
+1
Which To Par has a Money ($) of 350, and a Player of henry picard?
script
{"header": ["Season", "Competition", "Round", "Opponent", "Series"], "rows": [["200203", "UEFA Cup", "R1", "Zenit St. Petersburg", "43"], ["200203", "UEFA Cup", "R2", "PAOK", "23"], ["200304", "UEFA Champions League", "Q3", "AEK Athens", "23"], ["200304", "UEFA Cup", "R1", "Hajduk Split", "11 ( a )"], ["200506", "UEFA Cup", "Q2", "Wisa Pock", "33 ( a )"], ["200506", "UEFA Cup", "R1", "MyPa", "41"], ["200506", "UEFA Cup", "Group", "Middlesbrough", "5th place"], ["200506", "UEFA Cup", "Group", "Litex Lovech", "5th place"], ["200506", "UEFA Cup", "Group", "Dnipro Dnipropetrovsk", "5th place"], ["200506", "UEFA Cup", "Group", "AZ", "5th place"], ["200607", "UEFA Cup", "Q2", "Videoton", "31"], ["200607", "UEFA Cup", "R1", "tvidabergs", "80"], ["200607", "UEFA Cup", "Group", "AZ", "5th place"], ["200607", "UEFA Cup", "Group", "Slovan Liberec", "5th place"], ["200607", "UEFA Cup", "Group", "Sevilla", "5th place"], ["200607", "UEFA Cup", "Group", "Braga", "5th place"], ["200809", "UEFA Cup", "Q2", "Lech Pozna", "06"], ["201011", "UEFA Europa League", "Play-off", "FC Steaua Bucureti", "11 ( p )"], ["201314", "UEFA Champions League", "Q3", "Lyon", "02"], ["201314", "UEFA Europa League", "Play-off", "Fiorentina", "22 ( a )"]], "types": ["text", "text", "text", "text", "text"], "caption": "2000s: Incorporation"}
SELECT ([Competition]) FROM data_table WHERE LOWER([Season]) = LOWER('200203') AND LOWER([Opponent]) = LOWER('zenit st. petersburg')
wiki-sql
UEFA Cup
What is the Competition for Season 200203, and the Opponent was zenit st. petersburg?
script
{"header": ["Year", "Division", "League", "Regular Season", "Playoffs", "Open Cup"], "rows": [[1997, 3, "USISL D-3 Pro League", "6th, Mid Atlantic", "Did not qualify", "Did not qualify"], [1998, 3, "USISL D-3 Pro League", "1st, Mid Atlantic", "Division Semifinals", "Did not qualify"], [1999, 3, "USL D-3 Pro League", "2nd, Northern", "Final", "Did not qualify"], [2000, 3, "USL D-3 Pro League", "2nd, Northern", "Conference Quarterfinals", "Did not qualify"], [2001, 3, "USL D-3 Pro League", "6th, Northern", "Did not qualify", "Did not qualify"], [2002, 3, "USL D-3 Pro League", "4th, Atlantic", "Did not qualify", "2nd Round"], [2003, 4, "USL PDL", "4th, Northeast", "Did not qualify", "Did not qualify"], [2004, 4, "USL PDL", "1st, Northeast", "Conference Finals", "2nd Round"], [2005, 4, "USL PDL", "2nd, Northeast", "Conference Semi-Finals", "3rd Round"], [2006, 4, "USL PDL", "2nd, Northeast", "Did not qualify", "Did not qualify"], [2007, 4, "USL PDL", "2nd, Mid Atlantic", "Conference Semi-Finals", "2nd Round"], [2008, 4, "USL PDL", "5th, Northeast", "Did not qualify", "Did not qualify"], [2009, 4, "USL PDL", "3rd, Northeast", "PDL Quarter-Finals", "3rd Round"], [2010, 4, "USL PDL", "6th, Mid Atlantic", "Did not qualify", "Did not qualify"], [2011, 4, "USL PDL", "7th, Mid Atlantic", "Did not qualify", "Did not qualify"], [2012, 4, "USL PDL", "1st, Mid Atlantic", "Conference Semi-Finals", "Did not qualify"]], "types": ["real", "real", "text", "text", "text", "text"], "caption": "Year-by-year"}
SELECT ([Regular Season]) FROM data_table WHERE LOWER([Playoffs]) = LOWER('Final')
wiki-sql
2nd, Northern
Name the regular season for final playoffs
script
{"header": ["Rank", "Rider", "Team", "Speed", "Time"], "rows": [["1", "Cameron Donald", "Suzuki GSXR 1000cc", "125.776mph", "1:11.59.68"], ["2", "John McGuinness", "Honda 1000cc", "125.338mph", "1:12.14.76"], ["3", "Guy Martin", "Honda 1000cc", "125.253mph", "1:12.17.71"], ["4", "Ryan Farquhar", "Kawasaki ZX10 1000cc", "124.776mph", "1:13.34.98"], ["5", "Conor Cummins", "Yamaha R1 1000cc", "124.605mph", "1:12.40.28"], ["6", "Adrian Archibald", "Suzuki GSXR 1000cc", "123.596mph", "1:13.15.87"], ["7", "Ian Lougher", "Yamaha R1 1000cc", "123.103mph", "1:13.33.48"], ["8", "Steve Plater", "Yamaha R1 1000cc", "122.897mph", "1:13.40.87"], ["9", "Carl Rennie", "Suzuki GSXR 1000cc", "122.732mph", "1:13.46.81"], ["10", "Daniel Stewart", "Yamaha R1", "120.001mph", "1:14.13.33"]], "types": ["real", "text", "text", "text", "text"], "caption": "2008 Superstock TT final standings."}
SELECT ([Time]) FROM data_table WHERE LOWER([Team]) = LOWER('kawasaki zx10 1000cc')
wiki-sql
1:13.34.98
What time did team kawasaki zx10 1000cc have?
script
{"header": ["Episode Number", "Episode", "Rating", "Share", "Rating/Share (18-49)", "Viewers (millions)", "Rank (Timeslot)", "Rank (Night)"], "rows": [[1, "\"And Jill Came Tumbling After\"", "3.5", 6, "1.3/4", "5.17", 2, 3], [2, "\"Mary Mary Quite Contrary\"", "3.3", 4, "1.1/3", "3.63", 4, 7], [3, "\"Liar, Liar, Pants on Fire\"", "2.0", 3, "0.8/2", "3.00", 4, 15], [4, "\"Where Have You Been, Charming Billy?\"", "2.1", 4, "0.7/2", "3.16", 4, 14], [5, "\"Yes, Sir, Yes, Sir, Three Bags Full\"", "2.1", 3, "0.6/2", "3.10", 4, 14], [6, "\"Birds of a Feather Flock Together\"", "2.0", 3, "0.7/2", "3.22", 4, 13], [7, "\"That's the Way the Money Goes\"", "2.1", 3, "0.8/2", "3.33", 4, 14]], "types": ["real", "text", "text", "real", "text", "text", "real", "real"], "caption": "Weekly ratings"}
SELECT MIN([Rank (Night)]) FROM data_table WHERE LOWER([Rating/Share (18-49)]) = LOWER('1.3/4')
wiki-sql
3
What is the lowest rank of an episode with a rating/share (18-49) of 1.3/4?
script
{"header": ["Game", "Date", "Opponent", "Score", "Location/Attendance", "Series"], "rows": [["1", "March 27", "San Diego", "107-98", "Alexander Memorial Coliseum", "1-0"], ["2", "March 29", "San Diego", "116-114", "Alexander Memorial Coliseum", "2-0"], ["3", "April 1", "San Diego", "97-104", "San Diego Sports Arena", "2-1"], ["4", "April 4", "San Diego", "112-114", "San Diego Sports Arena", "2-2"], ["5", "April 6", "San Diego", "112-101", "Alexander Memorial Coliseum", "3-2"], ["6", "April 7", "San Diego", "108-106", "San Diego Sports Arena", "4-2"]], "types": ["real", "text", "text", "text", "text", "text"], "caption": "Playoffs"}
SELECT COUNT([Game]) FROM data_table WHERE LOWER([Date]) = LOWER('april 7')
wiki-sql
1
What is the game number on April 7?
script
{"header": ["Nat.", "Name", "Since", "Goals", "Transfer fee"], "rows": [["FRA", "Larrieu", "2000", "0", "Free"], ["ENG", "McCormick", "1999", "0", "Youth system"], ["FRA", "Doumbe", "2004", "3", "Free"], ["NED", "Seip", "2006", "3", "Free"], ["HUN", "Timr", "2007 (Winter)", "4", " 75k"], ["ENG", "Sawyer", "2004", "0", "Youth system"], ["FRA", "Abdou", "2007", "1", "Free"], ["ENG", "Summerfield", "2004", "2", "Youth system"], ["HUN", "Halmosi", "2007 (Winter)", "7", "400k"], ["NZL", "Fallon", "2007 (Winter)", "3", "300k"], ["WAL", "Easter", "2008 (Winter)", "2", "210k"], ["ENG", "Mackie", "2008 (Winter)", "2", "145k"]], "types": ["text", "text", "text", "real", "text"], "caption": "Squad information"}
SELECT AVG([Goals]) FROM data_table WHERE LOWER([Name]) = LOWER('sawyer')
wiki-sql
0.0
What is the average goals Sawyer has?
script
{"header": ["Date", "Venue", "Score", "Result", "Competition"], "rows": [["8 October 2007", "Bangkok , Thailand", "61", "Won", "2010 FIFA World Cup Qualification"], ["15 October 2007", "Macau", "71", "Won", "2010 FIFA World Cup Qualification"], ["20 May 2008", "Bangkok , Thailand", "70", "Won", "Friendly"], ["25 May 2008", "Bangkok , Thailand", "21", "Won", "Friendly"], ["16 November 2008", "Hanoi , Vietnam", "22", "Draw", "T&T Cup"], ["10 December 2008", "Phuket , Thailand", "30", "Won", "2008 AFF Suzuki Cup"], ["16 December 2008", "Jakarta , Indonesia", "10", "Won", "2008 AFF Suzuki Cup ( Semi final )"], ["28 December 2008", "Hanoi , Vietnam", "11", "Draw", "2008 AFF Suzuki Cup ( Final )"], ["21 January 2009", "Phuket , Thailand", "21", "Won", "2009 King's Cup"], ["5 February 2009", "Sendai , Japan", "21", "Lost", "Friendly"], ["28 March 2009", "Bangkok , Thailand", "31", "Won", "Friendly - Testimonial match ( Tawan Sripan )"], ["18 July 2009", "Nonthaburi , Thailand", "40", "Won", "Friendly"], ["14 July 2011", "Buriram , Thailand", "10", "Won", "Friendly"], ["2 September 2011", "Brisbane , Australia", "21", "Lost", "2014 FIFA World Cup qualification (AFC)"], ["6 September 2011", "Bangkok , Thailand", "30", "Won", "2014 FIFA World Cup qualification (AFC)"], ["24 February 2012", "Chiang Mai , Thailand", "30", "Won", "Friendly"], ["17 November 2012", "Bangkok , Thailand", "50", "Won", "Friendly"], ["27 November 2012", "Bangkok , Thailand", "40", "Won", "2012 AFF Suzuki Cup"], ["9 December 2012", "Bangkok , Thailand", "11", "Draw", "2012 AFF Suzuki Cup ( Semi final )"], ["13 December 2012", "Bangkok , Thailand", "20", "Won", "2012 AFF Suzuki Cup ( Semi final )"], ["15 October 2013", "Tehran , Iran", "12", "Lose", "2015 AFC Asian Cup qualification"]], "types": ["text", "text", "text", "text", "text"], "caption": "International goals"}
SELECT ([Competition]) FROM data_table WHERE LOWER([Date]) = LOWER('13 december 2012')
wiki-sql
2012 AFF Suzuki Cup ( Semi final )
Name the competition for 13 december 2012
script
{"header": ["Year", "Location", "Gold", "Silver", "Bronze"], "rows": [["1990", "Beijing", "Wang Ping", "Peng Ying", "Ng Siu Ching"], ["1994", "Hiroshima", "Zhuang Hui", "Momi Matsumura", "Chiew Hui Yan"], ["1998", "Bangkok", "Liu Qinghua", "Nguyen Thi Thuy Hien", "Yuri Kaminiwa"], ["2002", "Busan", "Li Ao", "Han Jing", "Nguyen My Duc"], ["2006", "Doha", "Ma Lingjuan", "Susyana Tjhan", "Han Jing"], ["2010", "Guangzhou", "Geng Xiao Ling", "Sandi Oo", "Susyana Tjhan Yuki Hiraoka"]], "types": ["real", "text", "text", "text", "text"], "caption": "Changquan"}
SELECT ([Gold]) FROM data_table WHERE [Year] = 1994
wiki-sql
Zhuang Hui
What Gold has the Year of 1994?
script
{"header": ["Event", "Class", "Gold", "Silver", "Bronze"], "rows": [["Time trial details", "Time trial B&VI 13", "Spain (ESP) Christian Venge David Llaurado", "Netherlands (NED) Alfred Stelleman Jaco Tettelaar", "Poland (POL) Krzysztof Kosikowski Artur Korc"], ["Time trial details", "Time trial CP 3", "Javier Otxoa Spain (ESP)", "Darren Kenny Great Britain (GBR)", "Yong-Sik Jin South Korea (KOR)"], ["Time trial details", "Time trial CP 4", "Cesar Neira Spain (ESP)", "Christopher Scott Australia (AUS)", "Masashi Ishii Japan (JPN)"], ["Time trial details", "Time trial HC A", "Wolfgang Schattauer Austria (AUT)", "Rastislav Turecek Slovakia (SVK)", "Alain Quittet France (FRA)"], ["Time trial details", "Time trial HC B", "Heinz Frei Switzerland (SUI)", "Vittorio Podest Italy (ITA)", "Edward Maalouf Lebanon (LIB)"], ["Time trial details", "Time trial HC C", "Oz Sanchez United States (USA)", "Jos Vicente Arzo Spain (ESP)", "Alejandro Albor United States (USA)"], ["Time trial details", "Time trial LC1", "Wolfgang Sacher Germany (GER)", "Wolfgang Eibeck Austria (AUT)", "Fabio Triboli Italy (ITA)"], ["Time trial details", "Time trial LC2", "Jiri Jezek Czech Republic (CZE)", "Carol Eduard Novak Romania (ROU)", "Roberto Alcaide Spain (ESP)"], ["Time trial details", "Time trial LC3", "Laurent Thirionet France (FRA)", "Simon Richardson Great Britain (GBR)", "Masaki Fujita Japan (JPN)"], ["Time trial details", "Time trial LC4", "Michael Teuber Germany (GER)", "Juan Jos Mndez Spain (ESP)", "Anthony Zahn United States (USA)"], ["Road race details", "Road race B&VI 13", "Poland (POL) Andrzej Zajac Dariusz Flak", "Finland (FIN) Jarmo Ollanketo Marko Tormanen", "France (FRA) Olivier Donval John Saccomandi"], ["Road race details", "Road race HC B", "Heinz Frei Switzerland (SUI)", "Max Weber Germany (GER)", "Edward Maalouf Lebanon (LIB)"], ["Road race details", "Road race HC C", "Ernst van Dyk South Africa (RSA)", "Alejandro Albor United States (USA)", "Oz Sanchez United States (USA)"], ["Road race details", "Road race LC 12/CP 4", "Fabio Triboli Italy (ITA)", "David Mercier France (FRA)", "Michael Gallagher Australia (AUS)"], ["Road race details", "Road race LC 34/CP 3", "Darren Kenny Great Britain (GBR)", "Javier Otxoa Spain (ESP)", "Tomas Kvasnicka Czech Republic (CZE)"]], "types": ["text", "text", "text", "text", "text"], "caption": "Men's events"}
SELECT ([Event]) FROM data_table WHERE LOWER([Class]) = LOWER('time trial hc a')
wiki-sql
Time trial details
What is the event when the class is time trial hc a?
script
{"header": ["Team", "Outgoing manager", "Manner of departure", "Date of vacancy", "Replaced by", "Date of appointment", "Position in table"], "rows": [["AaB", "Erik Hamrn", "End of contract", "30 June 2008", "Bruce Rioch", "1 July 2008", "Pre-season"], ["FC Midtjylland", "Erik Rasmussen", "Resigned", "30 June 2008", "Thomas Thomasberg", "1 July 2008", "Pre-season"], ["AaB", "Bruce Rioch", "Sacked", "23 October 2008", "Magnus Pehrsson", "1 January 2009", "11th"], ["Esbjerg fB", "Troels Bech", "Sacked", "16 November 2008", "Ove Pedersen", "1 January 2009", "12th"], ["Brndby IF", "Tom Khlert", "Mutual consent", "31 December 2008", "Kent Nielsen", "1 January 2009", "1st"], ["AC Horsens", "Kent Nielsen", "Resigned", "31 December 2008", "Henrik Jensen", "1 January 2009", "12th"], ["AGF", "Ove Pedersen", "Sacked", "31 December 2008", "Erik Rasmussen", "1 January 2009", "5th"], ["Randers FC", "Colin Todd", "Mutual consent", "5 January 2009", "John Jensen", "5 January 2009", "7th"], ["Vejle BK", "Ove Christensen", "Sacked", "17 March 2009", "Mats Gren", "1 July 2009", "12th"]], "types": ["text", "text", "text", "text", "text", "text", "text"], "caption": "Managerial changes"}
SELECT ([Date of appointment]) FROM data_table WHERE LOWER([Team]) = LOWER('ac horsens')
wiki-sql
1 January 2009
WHAT IS THE APPOINTMENT DATE FOR AC HORSENS?
script
{"header": ["Date", "Visiting Team", "Final Score", "Host Team", "Stadium"], "rows": [["September 7", "Miami Dolphins", "1728", "Pittsburgh Steelers", "Heinz Field"], ["September 10", "Indianapolis Colts", "2621", "New York Giants", "Giants Stadium"], ["September 17", "Washington Redskins", "1027", "Dallas Cowboys", "Texas Stadium"], ["September 24", "Denver Broncos", "177", "New England Patriots", "Gillette Stadium"], ["October 1", "Seattle Seahawks", "637", "Chicago Bears", "Soldier Field"], ["October 8", "Pittsburgh Steelers", "1323", "San Diego Chargers", "Qualcomm Stadium"], ["October 15", "Oakland Raiders", "313", "Denver Broncos", "INVESCO Field at Mile High"], ["October 29", "Dallas Cowboys", "3514", "Carolina Panthers", "Bank of America Stadium"], ["November 5", "Indianapolis Colts", "2720", "New England Patriots", "Gillette Stadium"], ["November 12", "Chicago Bears", "3820", "New York Giants", "Giants Stadium"], ["November 19", "San Diego Chargers", "3527", "Denver Broncos", "INVESCO Field at Mile High"], ["November 26", "Philadelphia Eagles", "2145", "Indianapolis Colts", "RCA Dome"], ["December 3", "Seattle Seahawks", "2320", "Denver Broncos", "INVESCO Field at Mile High"], ["December 10", "New Orleans Saints", "4217", "Dallas Cowboys", "Texas Stadium"], ["December 17", "Kansas City Chiefs", "920", "San Diego Chargers", "Qualcomm Stadium"], ["December 25", "Philadelphia Eagles", "237", "Dallas Cowboys", "Texas Stadium"], ["December 31", "Green Bay Packers", "267", "Chicago Bears", "Soldier Field"], ["January 6", "Kansas City Chiefs", "823", "Indianapolis Colts", "RCA Dome"], ["January 6", "Dallas Cowboys", "2021", "Seattle Seahawks", "Qwest Field"]], "types": ["text", "text", "text", "text", "text"], "caption": "2006"}
SELECT ([Final Score]) FROM data_table WHERE LOWER([Stadium]) = LOWER('texas stadium') AND LOWER([Visiting Team]) = LOWER('new orleans saints')
wiki-sql
4217
When the new orleans saints were visiting texas stadium, what was the final score?
script
{"header": ["Countries and Territories", "Conditions of access", "Length of stay permitted", "Fee (if applicable)", "Access using a Croatian identity card"], "rows": [["European Union", "visa-free", "Freedom of movement", "n/a", "Yes"], ["Albania", "visa-free", "90 days", "n/a", "Yes"], ["Andorra", "visa-free", "90 days", "n/a", "Yes"], ["Bosnia and Herzegovina", "visa-free", "90 days", "n/a", "Yes"], ["Faroe Islands", "visa-free", "90 days", "n/a", "Yes"], ["Guernsey", "visa-free", "unlimited access", "n/a", "Yes"], ["Iceland", "visa-free", "Freedom of movement", "n/a", "passport required"], ["Isle of Man", "visa-free", "unlimited access", "n/a", "Yes"], ["Jersey", "visa-free", "unlimited access", "n/a", "Yes"], ["Kosovo", "visa-free", "90 days", "n/a", "Yes"], ["Liechtenstein", "visa-free", "Freedom of movement", "n/a", "Yes"], ["Monaco", "visa-free", "90 days", "n/a", "Yes"], ["Macedonia", "visa-free", "90 days", "n/a", "Yes"], ["Moldova", "visa-free", "90 days", "n/a", "passport required"], ["Montenegro", "visa-free", "90 days", "n/a", "Yes"], ["Norway", "visa-free", "Freedom of movement", "n/a", "passport required"], ["San Marino", "visa-free", "90 days", "n/a", "Yes"], ["Serbia", "visa-free", "90 days", "n/a", "Yes"], ["Switzerland", "visa-free", "Freedom of movement", "n/a", "passport required"], ["Ukraine", "visa-free", "90 days", "n/a", "passport required"]], "types": ["text", "text", "text", "text", "text"], "caption": "Europe"}
SELECT ([Fee (if applicable)]) FROM data_table WHERE LOWER([Countries and Territories]) = LOWER('Norway')
wiki-sql
n/a
What is the fee (if applicable) for Norway?
script
{"header": ["Round", "Team #1", "Agg.", "Team #2", "1st leg", "2nd leg"], "rows": [["2006 UEFA Intertoto Cup", "2006 UEFA Intertoto Cup", "2006 UEFA Intertoto Cup", "2006 UEFA Intertoto Cup", "2006 UEFA Intertoto Cup", "2006 UEFA Intertoto Cup"], ["First round", "Shakhter Karagandy", "46", "MTZ-RIPO Minsk", "15", "31"], ["Second round", "Moscow", "30", "MTZ-RIPO Minsk", "20", "10"], ["200607 UEFA Cup", "200607 UEFA Cup", "200607 UEFA Cup", "200607 UEFA Cup", "200607 UEFA Cup", "200607 UEFA Cup"], ["First qualifying round", "Zagbie Lubin", "11 ( a )", "Dinamo Minsk", "11", "00"], ["First qualifying round", "BATE Borisov", "30", "Nistru Otaci", "20", "10"], ["Second qualifying round", "Artmedia Bratislava", "53", "Dinamo Minsk", "21", "32"], ["Second qualifying round", "Rubin Kazan", "50", "BATE Borisov", "30", "20"], ["200607 UEFA Champions League", "200607 UEFA Champions League", "200607 UEFA Champions League", "200607 UEFA Champions League", "200607 UEFA Champions League", "200607 UEFA Champions League"], ["First qualifying round", "Shakhtyor Soligorsk", "02", "iroki Brijeg", "01", "01"]], "types": ["text", "text", "text", "text", "text", "text"], "caption": "Belarusian clubs in Euporean Cups"}
SELECT ([Agg.]) FROM data_table WHERE LOWER([Team #2]) = LOWER('2006 uefa intertoto cup')
wiki-sql
2006 UEFA Intertoto Cup
What is the agg when team #2 is 2006 UEFA Intertoto Cup?
script
{"header": ["Name", "Tenure", "Ties", "Lost", "Win %"], "rows": [["Sabrina Gole Category:Articles with hCards", "19921993", "12", "2", "83.3"], ["Branimir Horvat Category:Articles with hCards", "1994", "1", "1", "0"], ["Vjeran Frii Category:Articles with hCards", "19951999", "14", "5", "64.3"], ["Saa Hirzon Category:Articles with hCards", "2000", "3", "3", "0"], ["Goran Prpi Category:Articles with hCards", "2001-2011", "27", "16", "40.7"], ["Iva Majoli Category:Articles with hCards", "2012-present", "8", "3", "62.5"], ["Totals", "Totals", "65", "30", "53.8"]], "types": ["text", "text", "real", "real", "real"], "caption": "Managers"}
SELECT COUNT([Ties]) FROM data_table WHERE LOWER([Name]) = LOWER('totals') AND [Lost] > 30
wiki-sql
0
Tell me the total number of ties for name of totals and lost more than 30
script
{"header": ["Week #", "Theme", "Song Choice", "Original Artist", "Order #", "Result"], "rows": [["Audition", "Auditioner's Choice", "\"Bem Que Se Quis\"", "Marisa Monte", "N/A", "Advanced"], ["Theater", "First Solo", "N/A", "N/A", "N/A", "Advanced"], ["Top 24", "Top 12 Men", "\"Como Vai Voc\"", "Roberto Carlos", "7", "Advanced"], ["Top 12", "Sing Your Idol", "\"Beija Eu\"", "Marisa Monte", "4", "Safe"], ["Top 11", "70s Night", "\"Mania de Voc\"", "Rita Lee", "10", "Safe"], ["Top 10", "The Roguish", "\"J Tive Mulheres\"", "Martinho da Vila", "6", "Safe"], ["Top 9", "Broken Heart Songs", "\"Tem Que Ser Voc\"", "Victor & Lo", "4", "Bottom 3"], ["Top 7", "80s Night", "\"Voc Linda\"", "Caetano Veloso", "2", "Safe"], ["Top 6", "Cult Trash", "\"Aguenta Corao\"", "Jos Augusto", "1", "Safe"], ["Top 5", "Kings of the Pop", "\"Amor I Love You\"", "Marisa Monte", "4", "Safe"], ["Top 5", "Kings of the Pop", "\" Your Song \"", "Elton John", "9", "Safe"], ["Top 4", "Dedicate A Song", "\"Monalisa\"", "Jorge Vercilo", "1", "Safe"], ["Top 4", "My Soundtrack", "\" Eu Sei Que Vou Te Amar \"", "Tom Jobim", "5", "Safe"], ["Top 3", "Judge's Choice", "\"Pro Dia Nascer Feliz\"", "Cazuza", "1", "Safe"], ["Top 3", "Judge's Choice", "\"Fcil\"", "Jota Quest", "4", "Safe"], ["Top 3", "Judge's Choice", "\"O Porto\"", "Roberto Carlos", "7", "Safe"], ["Top 2", "Winner's Single #1", "\"Nova Paixo\"", "Saulo Roston", "1", "Winner"], ["Top 2", "Best of the Season", "\" Your Song \"", "Elton John", "3", "Winner"]], "types": ["text", "text", "text", "text", "text", "text"], "caption": "Performances"}
SELECT ([Result]) FROM data_table WHERE LOWER([Theme]) = LOWER('Top 12 Men')
wiki-sql
Advanced
What was the result of the Top 12 Men theme?
script
{"header": ["Class", "Part 1", "Part 2", "Part 3", "Part 4", "Verb meaning"], "rows": [["1", "rtan", "reit", "ritun", "giritan", "to ride"], ["2a", "friosan", "frs", "frurun", "gifroran", "to freeze"], ["2b", "sfan", "souf", "sufun", "gisoffan", "to close"], ["3a", "bintan", "bant", "buntun", "buntan", "to bind"], ["3b", "werdan", "ward", "wurtun", "giwortan", "to become"], ["4", "beran", "bar", "brun", "giboran", "to bear"], ["5", "lesan", "las", "lrun", "gileran", "to gather, to read"], ["6", "tragan", "truog", "truogun", "gitragan", "to carry"], ["7a", "heizan", "hiaz", "hiazun", "giheizan", "to call, to be called"], ["7b", "(h)loufan", "(h)liof", "(h)liofun", "gi(h)loufan", "to run"], ["7c", "haltan", "hialt", "hialtun", "gihaltan", "to hold"], ["7d", "rtan", "riat", "riatun", "girtan", "to advise"], ["7e", "wuofan", "wiof", "wiofun", "giwuofan", "to weep"]], "types": ["text", "text", "text", "text", "text", "text"], "caption": "German"}
SELECT ([Part 3]) FROM data_table WHERE LOWER([Part 4]) = LOWER('giboran')
wiki-sql
brun
What is the part 3 entry that has a part 4 entry of giboran?
script
{"header": ["Home team", "Home team score", "Away team", "Away team score", "Ground", "Crowd", "Date"], "rows": [["Adelaide", "17.5 (107)", "Melbourne", "19.11 (125)", "Football Park", "12,239", "Sunday, 30 January"], ["Geelong", "10.14 (74)", "St Kilda", "11.12 (78)", "Waverley Park", "7,394", "Sunday, 30 January"], ["St Kilda", "9.12 (66)", "Melbourne", "13.14 (92)", "Waverley Park", "10,533", "Saturday, 5 February"], ["Adelaide", "19.10 (124)", "Geelong", "15.12 (102)", "Football Park", "11,326", "Sunday, 6 February"], ["Adelaide", "14.11 (95)", "St Kilda", "15.12 (102)", "Football Park", "13,086", "Sunday, 13 February"], ["Geelong", "17.12 (114)", "Melbourne", "11.16 (82)", "Waverley Park", "4,952", "Monday, 14 February"]], "types": ["text", "text", "text", "text", "text", "real", "text"], "caption": "Group C"}
SELECT ([Date]) FROM data_table WHERE LOWER([Home team score]) = LOWER('17.5 (107)')
wiki-sql
Sunday, 30 January
When was the home team score 17.5 (107)?
script
{"header": ["Institution", "Location (Population)", "Founded", "Type", "Enrollment", "Nickname (Colors)", "Football?"], "rows": [["Bluefield College", "Bluefield, Virginia (5,444)", 1922, "Private / Baptist General Association of Virginia", 793, "Rams (Blue & Red)", "Yes"], ["Campbellsville University", "Campbellsville, Kentucky (9,108)", 1906, "Private / SBC", 3318, "Tigers (Maroon)", "Yes"], ["Cumberland University", "Lebanon, Tennessee (20,235)", 1842, "Private / No Affiliation", 1345, "Bulldogs (Maroon & White)", "Yes"], ["University of the Cumberlands", "Williamsburg, Kentucky (5,245)", 1887, "Private / SBC", 1743, "Patriots (Red, Navy, Light Gray)", "Yes"], ["Georgetown College", "Georgetown, Kentucky (29,098)", 1829, "Private / SBC", 1400, "Tigers (Orange & Black)", "Yes"], ["Lindsey Wilson College", "Columbia, Kentucky (4,452)", 1903, "Private / Methodist", 2677, "Blue Raiders (Blue & White)", "Yes"], ["University of Pikeville", "Pikeville, Kentucky (6,903)", 1889, "Private / Presbyterian", 1156, "Bears (Orange)", "Yes"], ["University of Rio Grande", "Rio Grande, Ohio (915)", 1876, "Private / No affiliation", 1893, "RedStorm (Red & Black)", "No"], ["Shawnee State University", "Portsmouth, Ohio (20,909)", 1986, "Public", 4300, "Bears (Royal Blue & Gray)", "No"], ["St. Catharine College", "St. Catharine, Kentucky (1,000)", 1873, "Private / Catholic", 700, "Patriots (Purple & Gold)", "No"]], "types": ["text", "text", "real", "text", "real", "text", "text"], "caption": "Full members"}
SELECT MIN([Founded]) FROM data_table WHERE LOWER([Institution]) = LOWER('St. Catharine College')
wiki-sql
1873
What year was the institution of St. Catharine College founded?
script
{"header": ["School", "Location", "Mascot", "Enrollment 08-09", "IHSAA Class", "IHSAA Class Football", "County", "Year Joined"], "rows": [["Bedford N. Lawrence", "Bedford", "Stars", "1,620", "AAAA", "AAAAA", "47 Lawrence", "1974"], ["Columbus East", "Columbus", "Olympians", "1,582", "AAAA", "AAAAA", "03 Bartholomew", "1973"], ["Floyd Central", "Floyds Knobs", "Highlanders", "1,681", "AAAA", "AAAAA", "22 Floyd", "1976"], ["Jeffersonville", "Jeffersonville", "Red Devils", "2,099", "AAAA", "AAAAAA", "10 Clark", "1979"], ["Jennings County", "North Vernon", "Panthers", "1,614", "AAAA", "AAAAA", "40 Jennings", "1973"], ["Madison Consolidated", "Madison", "Cubs", "1,047", "AAA", "AAAA", "39 Jefferson", "1973"], ["New Albany", "New Albany", "Bulldogs", "2,124", "AAAA", "AAAAA", "22 Floyd", "1979"], ["Seymour", "Seymour", "Owls", "1,244", "AAAA", "AAAA", "36 Jackson", "1997"]], "types": ["text", "text", "text", "real", "text", "text", "text", "real"], "caption": "Membership"}
SELECT ([IHSAA Class Football]) FROM data_table WHERE LOWER([Mascot]) = LOWER('panthers')
wiki-sql
AAAAA
What's the IHSAA Class Football if the panthers are the mascot?
script
{"header": ["Episode title", "Subject", "Music by", "Lyrics by", "Performed by", "First aired"], "rows": [["Conjunction Junction", "conjunction", "Bob Dorough", "Jack Sheldon and Terri Morel", "Jack Sheldon", "1973"], ["Unpack Your Adjectives", "adjective", "George R. Newall", "George R. Newall", "Blossom Dearie", "1975"], ["Lolly, Lolly, Lolly, Get Your Adverbs Here", "adverb", "Bob Dorough", "Bob Dorough", "Bob Dorough", "1974"], ["Interjections!", "interjection", "Lynn Ahrens", "Lynn Ahrens", "Essra Mohawk", "1974"], ["Rufus Xavier Sarsaparilla", "pronoun", "Bob Dorough", "Kathy Mandary", "Jack Sheldon", "1977"], ["Verb: That's What's Happenin'", "verb", "Bob Dorough", "Bob Dorough", "Zachary Sanders", "1974"], ["A Noun Is A Person, Place Or Thing", "noun", "Lynn Ahrens", "Lynn Ahrens", "Lynn Ahrens", "1973"], ["Busy Prepositions", "preposition", "Bob Dorough", "Bob Dorough", "Jack Sheldon and Bob Dorough", "October 1993"]], "types": ["text", "text", "text", "text", "text", "text"], "caption": "Grammar Rock"}
SELECT COUNT([Music by]) FROM data_table WHERE LOWER([Performed by]) = LOWER('Zachary Sanders')
wiki-sql
1
When zachary sanders is the performer how many people is the music by?
script
{"header": ["Date", "Tournament", "Surface", "Opponent in the final", "Score"], "rows": [["15 August 2004", "Islamabad", "Clay", "Toshiaki Sakai", "76(3) 76(5)"], ["22 August 2004", "Lahore", "Grass", "Toshiaki Sakai", "16 64 63"], ["5 September 2004", "Karachi", "Hard", "Tommaso Sanna", "63 64"], ["12 September 2004", "Hyderabad", "Hard", "Tai-Wei Liu", "67(5) 61 61"], ["20 August 2006", "Delhi", "Hard", "Ravishankar Pathanjali", "76(7) 64"], ["12 August 2007", "Ludhiana", "Hard", "Aditya Madkekar", "63 76(5)"], ["29 October 2007", "Lahore", "Grass", "Divij Sharan", "46 63 64"]], "types": ["text", "text", "text", "text", "text"], "caption": "Singles titles"}
SELECT ([Tournament]) FROM data_table WHERE LOWER([Opponent in the final]) = LOWER('toshiaki sakai') AND LOWER([Surface]) = LOWER('grass')
wiki-sql
Lahore
Which tournament had Toshiaki Sakai as an opponent in the final on a grass surface?
script
{"header": ["Year", "Class", "Team", "Points", "Wins"], "rows": [["1986", "250cc", "Honda", "0", "0"], ["1987", "250cc", "Honda", "0", "0"], ["1988", "250cc", "Honda", "27", "0"], ["1989", "250cc", "HB - Honda", "88", "0"], ["1990", "250cc", "HB - Honda", "150", "0"], ["1991", "250cc", "HB - Honda", "220", "5"], ["1992", "250cc", "HB - Honda", "89", "0"], ["1993", "250cc", "HB - Honda", "126", "0"]], "types": ["real", "text", "text", "real", "real"], "caption": "Motorcycle Grand Prix Results"}
SELECT COUNT([Points]) FROM data_table WHERE [Year] > 1992
wiki-sql
1
How many points are there later than 1992?
script
{"header": ["Date", "Tournament", "Surface", "Partnering", "Opponent in the final", "Score"], "rows": [["August 16, 2004", "Washington, D.C. , United States", "Hard", "Dmitry Tursunov", "Chris Haggard Robbie Koenig", "76 3 , 61"], ["July 4, 2005", "Newport , U.S.", "Grass", "Graydon Oliver", "Jordan Kerr Jim Thomas", "76 5 , 76 5"], ["April 14, 2008", "Valencia , Spain", "Clay", "Filip Polek", "Mximo Gonzlez Juan Mnaco", "75, 75"], ["August 4, 2008", "Los Angeles , U.S.", "Hard", "Duan Vemi", "Rohan Bopanna Eric Butorac", "76 5 , 76 5"], ["February 22, 2009", "Memphis, Tennessee , U.S.", "Hard", "Filip Polek", "Mardy Fish Mark Knowles", "76 7 , 61"], ["June 19, 2009", "Eastbourne , United Kingdom", "Grass", "Filip Polek", "Mariusz Fyrstenberg Marcin Matkowski", "64, 64"]], "types": ["text", "text", "text", "text", "text", "text"], "caption": "Runners-up (6)"}
SELECT ([Opponent in the final]) FROM data_table WHERE LOWER([Date]) = LOWER('july 4, 2005')
wiki-sql
Jordan Kerr Jim Thomas
Name the Opponent in the final on july 4, 2005?
script
{"header": ["Home team", "Home team score", "Away team", "Away team score", "Venue", "Crowd", "Date"], "rows": [["Hawthorn", "9.13 (67)", "Melbourne", "19.11 (125)", "Glenferrie Oval", "14,900", "3 July 1965"], ["Footscray", "7.10 (52)", "North Melbourne", "5.10 (40)", "Western Oval", "14,150", "3 July 1965"], ["St Kilda", "12.8 (80)", "Carlton", "10.14 (74)", "Moorabbin Oval", "35,794", "3 July 1965"], ["Richmond", "23.20 (158)", "South Melbourne", "12.10 (82)", "MCG", "35,200", "10 July 1965"], ["Essendon", "12.16 (88)", "Geelong", "6.9 (45)", "Windy Hill", "27,000", "10 July 1965"], ["Collingwood", "10.14 (74)", "Fitzroy", "4.6 (30)", "Victoria Park", "20,657", "10 July 1965"]], "types": ["text", "text", "text", "text", "text", "real", "text"], "caption": "Round 11"}
SELECT COUNT([Crowd]) FROM data_table WHERE LOWER([Home team score]) = LOWER('9.13 (67)')
wiki-sql
1
How many crowds had a home team score of 9.13 (67)?
script
{"header": ["Place", "Player", "Country", "Score", "To par"], "rows": [["1", "Tom Lehman", "United States", "71-72-65=208", "2"], ["2", "Steve Jones", "United States", "74-66-69=209", "1"], ["T3", "Davis Love III", "United States", "71-69-70=210", "E"], ["T3", "John Morse", "United States", "68-74-68=210", "E"], ["T3", "Frank Nobilo", "New Zealand", "69-71-70=210", "E"], ["T6", "Woody Austin", "United States", "67-72-72=211", "+1"], ["T6", "Ernie Els", "South Africa", "72-67-72=211", "+1"], ["T6", "Jim Furyk", "United States", "72-69-70=211", "+1"], ["T6", "Colin Montgomerie", "Scotland", "70-72-69=211", "+1"], ["T6", "Sam Torrance", "Scotland", "71-69-71=211", "+1"]], "types": ["text", "text", "text", "text", "text"], "caption": "Third round"}
SELECT ([Player]) FROM data_table WHERE LOWER([To par]) = LOWER('+1') AND LOWER([Country]) = LOWER('scotland')
wiki-sql
Colin Montgomerie
WHAT IS TEH PLAYER WITH A TO PAR OF +1 FOR SCOTLAND?
script
{"header": ["Year", "Horsepower", "Torque", "Fuel System", "Compression Ratio", "RPO", "Applications"], "rows": [["1996", "hp (kW) at 4,400rpm", "lbft (Nm) at 2,800rpm", "SCPI", "9.2:1", "LF6", 5], ["19972002", "hp (kW) at 4,400rpm", "lbft (Nm) at 2,800rpm", "SCPI", "9.2:1", "LF6", 5], ["19962002", "hp (kW) at 4,400rpm", "lbft (Nm) at 2,800rpm", "SCPI", "9.2:1", "LF6", 6], ["19962002", "hp (kW) at 4,400rpm", "lbft (Nm) at 2,800rpm", "SCPI", "9.2:1", "L35", 5], ["19962002", "hp (kW) at 4,400rpm", "lbft (Nm) at 2,800rpm", "SCPI", "9.2:1", "L35", 346], ["19962002", "hp (kW) at 4,400rpm", "lbft (Nm) at 2,800rpm", "SCPI", "9.2:1", "L35", 2], ["19961998", "hp (kW) at 4,400rpm", "lbft (Nm) at 2,800rpm", "SCPI", "9.2:1", "L35", 1]], "types": ["text", "text", "text", "text", "text", "text", "real"], "caption": "L35 and LF6 SCPI"}
SELECT ([Torque]) FROM data_table WHERE LOWER([Year]) = LOWER('1996')
wiki-sql
lbft (Nm) at 2,800rpm
What are the torque characteristics of the model made in 1996?
script
{"header": ["Pennant number", "Ship", "Builder", "Laid down", "Launched", "Commissioned"], "rows": [["D03", "Icarus ", "John Brown & Company , Clydebank", "9 March 1936", "26 November 1936", "3 May 1937"], ["D61", "Ilex", "John Brown & Company , Clydebank", "9 March 1936", "28 January 1937", "7 July 1937"], ["D44", "Imogen", "Hawthorn Leslie & Company , Hebburn", "18 January 1936", "30 October 1936", "2 June 1937"], ["D09", "Imperial", "Hawthorn Leslie & Company , Hebburn", "29 January 1936", "11 December 1936", "30 June 1937"], ["D11", "Impulsive ", "J. Samuel White , Cowes", "9 March 1936", "1 March 1936", "29 January 1938"], ["D02", "Inglefield", "Cammell Laird & Company , Birkenhead", "29 April 1936", "15 October 1936", "25 June 1937"], ["D10", "Intrepid ", "John I. Thornycroft & Company , Woolston", "6 January 1936", "17 December 1936", "29 July 1937"], ["D87", "Isis", "Yarrow & Company , Scotstoun", "5 February 1936", "12 December 1936", "2 June 1937"], ["D16", "Ivanhoe ", "Yarrow & Company , Scotstoun", "12 February 1936", "11 February 1937", "24 August 1937"]], "types": ["text", "text", "text", "text", "text", "text"], "caption": "Ships"}
SELECT ([Builder]) FROM data_table WHERE LOWER([Pennant number]) = LOWER('d03')
wiki-sql
John Brown & Company , Clydebank
Who is the builder of Pennant d03?
script
{"header": ["Name", "Current version", "System", "Platform", "License"], "rows": [["Atari800", "3.0.0", "Atari 5200 , various Atari 8-bit computers", "Cross-platform", "GPL"], ["Altirra", "2.30", "Atari 5200 , various Atari 8-bit computers", "Windows", "GPL"], ["Atari++", "1.72", "Atari 5200 , various Atari 8-bit computers", "Cross-platform", "GPL"], ["Rainbow", "2.2", "Atari 5200 , various Atari 8-bit computers", "Windows, Mac OS, OS X", "Freeware"], ["kat5200", "0.6.2", "Atari 5200 , various Atari 8-bit computers", "Windows", "GPL"]], "types": ["text", "text", "text", "text", "text"], "caption": "Atari 5200"}
SELECT ([System]) FROM data_table WHERE LOWER([Current version]) = LOWER('3.0.0')
wiki-sql
Atari 5200 , various Atari 8-bit computers
What is the System with the Current version 3.0.0?
script
{"header": ["Lines", "Opening", "Traction", "Length", "Stations", "Route", "Stops", "Travel time"], "rows": [["Naples Baiano", 1885, "Electric", "38 km", 28, "Porta Nolana - Nola - Baiano", 28, "59 minutes"], ["Naples Sarno", 1891, "Electric", "38 km", 28, "Porta Nolana - Ottaviano- Sarno", 28, "65 minutes"], ["Naples Poggiomarino", 1904, "Electric", "35 km", 25, "Porta Nolana -Scafati - Poggiomarino", 25, "57 minutes"], ["Naples Sorrento", 1932, "Electric", "47 km", 36, "Porta Nolana - Torre Annunziata - Sorrento", 36, "68 minutes"], ["Branch Botteghelle San Giorgio", 2001, "Electric", "8 km", 7, "Porta Nolana - Centro Direzionale - San Giorgio", 11, "15 minutes"]], "types": ["text", "real", "text", "text", "real", "text", "real", "text"], "caption": "Circumvesuviana"}
SELECT COUNT([Stations]) FROM data_table WHERE LOWER([Travel time]) = LOWER('15 minutes')
wiki-sql
1
Name the number of stations for 15 minutes travel time
script
{"header": ["7:00", "7:30", "8:00", "8:30", "9:00", "10:00"], "rows": [["Hockey Night in Canada", "Hockey Night in Canada", "Hockey Night in Canada", "Hockey Night in Canada", "Hockey Night in Canada", "Hockey Night in Canada"], ["W-FIVE", "W-FIVE", "Crimetime Saturday", "Crimetime Saturday", "Whistler", "Dramatic Series Encores"], ["Andromeda", "Andromeda", "Risk Takers", "Risk Takers", "Painkiller Jane", "Global Currents"], ["Wheel of Fortune", "Good to Go", "Missing", "Missing", "The Big Picture", "The Big Picture"], ["Stargate Atlantis", "Stargate Atlantis", "Battlestar Galactica", "Battlestar Galactica", "Great Movies", "Great Movies"], ["E! Live", "E! Live", "On E!", "On E!", "Final 24", "E! True Hollywood Story"], ["La Fureur", "Paquet voleur", "Paquet voleur", "Les Pieds dans la marge", "Dre. Grey, leons d'anatomie", "Le Tljournal"], ["Movies", "Movies", "Movies", "Movies", "Movies", "Movies"], ["Loft Story", "Movies", "Movies", "Movies", "Movies", "Movies"]], "types": ["text", "text", "text", "text", "text", "text"], "caption": "Saturday"}
SELECT ([2023-10-04 07:00:00]) FROM data_table WHERE LOWER([2023-10-04 07:30:00]) = LOWER('movies')
wiki-sql
Movies
What 7:00 has 7:30 movies?