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": ["Year", "Start", "Qual", "Rank", "Finish", "Laps"], "rows": [["1966", "24", "159.794", "15", "28", "0"], ["1967", "20", "162.830", "30", "17", "176"], ["1971", "14", "170.770", "19", "16", "140"], ["1972", "32", "178.864", "33", "10", "193"], ["Totals", "Totals", "Totals", "Totals", "Totals", "509"]], "types": ["text", "text", "text", "text", "text", "real"], "caption": "Indy 500 career"}
SELECT ([Finish]) FROM data_table WHERE LOWER([Start]) = LOWER('32')
wiki-sql
10
What finish time started at 32?
script
{"header": ["Release date", "Release title", "Country", "Publisher", "Format", "Language", "Subtitles", "Notes"], "rows": [["1 January 2000", "Martial Law: Shanghai Express", "Hong Kong", "Deltamac (HK)", "NTSC", "English", "Traditional Chinese", "1 VCD"], ["15 April 2005", "Martial Law: Diamond Fever", "Hong Kong", "Deltamac (HK)", "NTSC", "English", "Traditional Chinese", "1 VCD"], ["15 April 2005", "Martial Law: Dead Ringers", "Hong Kong", "Deltamac (HK)", "NTSC", "English", "Traditional Chinese", "1 VCD"], ["15 April 2005", "Martial Law: Funny Money", "Hong Kong", "Deltamac (HK)", "NTSC", "English", "Traditional Chinese", "1 VCD"], ["15 April 2005", "Martial Law: Extreme Mesures", "Hong Kong", "Deltamac (HK)", "NTSC", "English", "Traditional Chinese", "1 VCD"], ["15 April 2005", "Martial Law: Trackdown", "Hong Kong", "Deltamac (HK)", "NTSC", "English", "Traditional Chinese", "1 VCD"], ["15 April 2005", "Martial Law: Take Out", "Hong Kong", "Deltamac (HK)", "NTSC", "English", "Traditional Chinese", "1 VCD"], ["15 April 2005", "Martial Law: Lock-Up", "Hong Kong", "Deltamac (HK)", "NTSC", "English", "Traditional Chinese", "1 VCD"], ["15 April 2005", "Martial Law: Substitutes", "Hong Kong", "Deltamac (HK)", "NTSC", "English", "Traditional Chinese", "1 VCD"], ["15 April 2005", "Martial Law: Trifecta", "Hong Kong", "Deltamac (HK)", "NTSC", "English", "Traditional Chinese", "1 VCD"], ["15 April 2005", "Martial Law Collection", "Hong Kong", "Deltamac (HK)", "NTSC", "English", "Traditional Chinese", "10 VCD's"]], "types": ["text", "text", "text", "text", "text", "text", "text", "text"], "caption": "VCD"}
SELECT ([Publisher]) FROM data_table WHERE LOWER([Release title]) = LOWER('martial law: substitutes')
wiki-sql
Deltamac (HK)
Which publisher released Martial Law: Substitutes?
script
{"header": ["Team", "Manager", "Home city", "Stadium", "Capacity"], "rows": [["Cibalia", "Mile Petkovi", "Vinkovci", "Stadion HNK Cibalia", "9,920"], ["Dinamo Zagreb", "Miroslav Blaevi", "Zagreb", "Stadion Maksimir", "37,168"], ["Hajduk Split", "Zoran Vuli", "Split", "Stadion Poljud", "35,000"], ["Kamen Ingrad", "Vjeran Simuni", "Velika", "Stadion Kamen Ingrada", "8,000"], ["Osijek", "Milan urii", "Osijek", "Stadion Gradski vrt", "19,500"], ["Pomorac Kostrena", "Predrag Stilinovi", "Kostrena", "Stadion uknica", "3,000"], ["Rijeka", "Zlatko Kranjar", "Rijeka", "Stadion na Kantridi", "10,275"], ["Slaven Belupo", "Rajko Magi", "Koprivnica", "Gradski stadion u Koprivnici", "4,000"], ["ibenik", "Franko Bogdan", "ibenik", "Stadion ubievac", "8,000"], ["Varteks", "Draen Besek", "Varadin", "Stadion NK Varteks", "10,800"], ["Zadar", "Stanko Mri", "Zadar", "Stadion Stanovi", "5,860"], ["NK Zagreb", "Ivan Katalini", "Zagreb", "Stadion u Kranjevievoj ulici", "8,850"]], "types": ["text", "text", "text", "text", "real"], "caption": "Summaries"}
SELECT ([Team]) FROM data_table WHERE LOWER([Home city]) = LOWER('velika')
wiki-sql
Kamen Ingrad
What team has a home city of Velika?
script
{"header": ["Year", "Chassis", "Engine", "Start", "Finish", "Team"], "rows": [["2005", "Panoz", "Honda", "4", "4", "Rahal Letterman"], ["2006", "Panoz", "Honda", "10", "8", "Rahal Letterman"], ["2007", "Dallara", "Honda", "8", "8", "Andretti Green Racing"], ["2008", "Dallara", "Honda", "5", "22", "Andretti Green Racing"], ["2009", "Dallara", "Honda", "10", "3", "Andretti Green Racing"], ["2010", "Dallara", "Honda", "23", "6", "Andretti Autosport"], ["2011", "Dallara", "Honda", "25", "10", "Andretti Autosport"]], "types": ["real", "text", "text", "real", "real", "text"], "caption": "Indianapolis 500"}
SELECT MIN([Start]) FROM data_table WHERE [Year] > 2008
wiki-sql
10.0
What is the lowest start in a year after 2008?
script
{"header": ["Event", "Winner", "Second", "Third", "Fourth"], "rows": [["2008 Telstra Men's Pro", "Josh Constable", "Seb Wilson", "Grant Thomas", "Jackson Close"], ["2008 Banana Boat Women's Pro", "Jennifer Smith", "Janna Irons", "Justin Dupont", "Selby Riddle"], ["2007 Odyssey 20/20 Men's Pro", "Josh Constable", "Harrison Roach", "Jackson Close", "Harley Ingleby"], ["2007 Banana Boat Women's Pro", "Chelsea Wlliams", "Lisa Nicholson", "Isabelle Braley", "Crystal Dzigas"], ["2009 Golden Breed Mens Pro LQS", "Taylor Jensen", "Josh Constable", "Christian Wach", "Harrison Roach"], ["2009 Banana Boat Women's Pro", "Chelsea Wlliams", "Melissa Combo", "IsaSelby Riddle", "Isabelle Brayley"], ["2010 Golden Breed Mens Pro LQS", "Taylor Jensen", "Josh Constable", "Christian Wach", "Jackson Close"], ["2010 The Back Beach Womens 1 Star Pro", "Crystal Dzigas", "Isabele Braly", "Leah Dawson", "Rosie Locke"]], "types": ["text", "text", "text", "text", "text"], "caption": "Pro Final results"}
SELECT ([Winner]) FROM data_table WHERE LOWER([Fourth]) = LOWER('selby riddle')
wiki-sql
Jennifer Smith
Who was the Winner when Selby Riddle came in Fourth?
script
{"header": ["Season", "Series", "Team", "Races", "Wins", "Poles", "F/Laps", "Podiums", "Points", "Position"], "rows": [[2005, "British Formula Ford Championship", "Team JLR", 20, 0, 0, 0, 0, "321", "6th"], [2005, "Formula Ford Festival", "Team JLR", 1, 0, 0, 0, 0, "N/A", "NC"], [2006, "British Formula Ford Championship", "Team JLR", 20, 1, 0, 2, 4, "357", "4th"], [2006, "Formula Ford Festival Duratec Class", "Team JLR", 1, 0, 0, 0, 0, "N/A", "NC"], [2007, "Spanish Formula Three Championship", "Team WestTec", 14, 0, 0, 0, 0, "7", "16th"], [2008, "Spanish Formula Three Championship", "Team WestTec", 17, 2, 1, 0, 2, "49", "10th"], [2009, "European F3 Open Championship", "Team WestTec", 16, 1, 1, 1, 3, "64", "5th"], [2009, "Formula Le Mans Cup", "Hope Polevision Racing", 2, 0, 0, 0, 0, "16", "20th"], [2010, "Le Mans Series LMP2", "Team Bruichladdich", 5, 0, 0, 0, 1, "46", "5th"]], "types": ["real", "text", "text", "real", "real", "real", "real", "real", "text", "text"], "caption": "Career summary"}
SELECT COUNT([Season]) FROM data_table WHERE LOWER([Team]) = LOWER('Team Bruichladdich')
wiki-sql
1
Name the number of season for team bruichladdich
script
{"header": ["Team 1", "Agg.", "Team 2", "1st leg", "2nd leg"], "rows": [["Comunicaciones", "2 - 5", "L.D. Alajuelense", "2 - 1", "0 - 4"], ["Juventus", "1 - 8", "C.D. Motagua", "1 - 3", "0 - 5"], ["Alianza F.C.", "1 - 5", "CSD Municipal", "0 - 2", "1 - 3"], ["C.D. Plaza Amador", "2 - 8", "C.D. Luis ngel Firpo", "2 - 2", "0 - 6"], ["Real C.D. Espaa", "0 - 4", "Club Len", "0 - 0", "0 - 4"], ["Deportivo Saprissa", "1 - 1 6-5 (Pen.)", "Puebla F.C.", "1 - 1", "0 - 0"]], "types": ["text", "text", "text", "text", "text"], "caption": "First Round"}
SELECT ([2nd leg]) FROM data_table WHERE LOWER([Team 1]) = LOWER('comunicaciones')
wiki-sql
0 - 4
What is the 2nd leg of the Comunicaciones team?
script
{"header": ["Fin. Pos", "Car No.", "Driver", "Team", "Laps", "Time/Retired", "Grid", "Laps Led", "Points"], "rows": [[1, 11, "Tony Kanaan", "Andretti Green", 225, "1:47:42.4393", 3, 25, "50"], [2, 27, "Dario Franchitti", "Andretti Green", 225, "+2.5707", 10, 0, "40"], [3, 10, "Dan Wheldon", "Target Chip Ganassi", 225, "+3.1149", 4, 37, "35"], [4, 9, "Scott Dixon", "Target Chip Ganassi", 225, "+3.4026", 2, 0, "32"], [5, 4, "Vitor Meira", "Panther Racing", 225, "+5.2684", 9, 0, "30"], [6, 8, "Scott Sharp", "Rahal Letterman", 225, "+6.8359", 11, 0, "28"], [7, 20, "Ed Carpenter", "Vision Racing", 225, "+7.0360", 8, 0, "26"], [8, 7, "Danica Patrick", "Andretti Green", 225, "+8.0205", 17, 0, "24"], [9, 6, "Sam Hornish, Jr.", "Team Penske", 224, "+1 Lap", 5, 0, "22"], [10, 17, "Jeff Simmons", "Rahal Letterman", 224, "+1 Lap", 18, 0, "20"], [11, 14, "Darren Manning", "A.J. Foyt Racing", 224, "+1 Lap", 15, 0, "19"], [12, 55, "Kosuke Matsuura", "Panther Racing", 223, "+2 Laps", 6, 0, "18"], [13, 22, "A. J. Foyt IV", "Vision Racing", 222, "+3 Laps", 12, 0, "17"], [14, 5, "Sarah Fisher", "Dreyer & Reinbold Racing", 221, "+4 Laps", 16, 0, "16"], [15, 26, "Marco Andretti", "Andretti Green", 209, "Accident", 19, 0, "15"], [16, 3, "Hlio Castroneves", "Team Penske", 201, "Rear Wing", 1, 126, "14+3"], [17, 2, "Tomas Scheckter", "Vision Racing", 159, "Mechanical", 13, 0, "13"], [18, 15, "Buddy Rice", "Dreyer & Reinbold Racing", 156, "Accident", 7, 37, "12"]], "types": ["real", "real", "text", "text", "real", "text", "real", "real", "text"], "caption": "Classification"}
SELECT COUNT([Fin. Pos]) FROM data_table WHERE LOWER([Points]) = LOWER('15')
wiki-sql
1
If the points is 15, what is the fin. pos?
script
{"header": ["Date", "Time", "Opponent", "Site", "City"], "rows": [["02/24/08", "2:00pm", "UMBC", "UMBC field", "Catonsville, MD"], ["03/01/08", "3:00pm", "Maryland", "Recreration Field 1", "College Park"], ["03/18/08", "6:00pm", "Navy", "Rip Miller Field", "Annapolis"], ["03/29/08", "1:00pm", "Towson", "Burdick Field", "Towson"], ["03/30/08", "2:30pm", "Loyola", "Herring Run Park", "Baltimore"], ["4/05/08", "2:00pm", "NYU", "UMBC Turf", "Baltimore"], ["4/06/08", "2:00pm", "UMBC", "UMBC Turf", "Baltimore"], ["4/10/08", "4:00pm", "Delaware", "Rollo Stadium", "Delaware"], ["4/26/08", "3:00pm", "George Washington", "GW-Mount Vernon Athletic Complex", "Washington, DC"]], "types": ["text", "text", "text", "text", "text"], "caption": "21st-century comeback"}
SELECT ([Date]) FROM data_table WHERE LOWER([Site]) = LOWER('umbc field')
wiki-sql
02/24/08
What date was the game held at UMBC Field?
script
{"header": ["Year", "Category", "Character", "For The Show", "Result"], "rows": [["2003", "Best Actor in a Lead Role Female (Jury)", "Prerna Basu", "Kasautii Zindagii Kay", "Won"], ["2004", "Best Actor in a Lead Role Female (Popular)", "Prerna Basu", "Kasautii Zindagii Kay", "Nominated"], ["2005", "Best Actor in a Lead Role Female (Popular)", "Prerna Basu", "Kasautii Zindagii Kay", "Nominated"], ["2006", "Best Actor in a Lead Role Female (Popular)", "Prerna Basu", "Kasautii Zindagii Kay", "Nominated"], ["2007", "Best Actor in a Lead Role Female (Popular)", "Prerna Basu", "Kasautii Zindagii Kay", "Nominated"], ["2012", "Best Actor in a Lead Role Female (Popular)", "Sweety Ahluwalia", "Parvarrish Kuchh Khattee Kuchh Meethi", "Nominated"]], "types": ["real", "text", "text", "text", "text"], "caption": "Indian Telly Awards"}
SELECT ([For The Show]) FROM data_table WHERE LOWER([Category]) = LOWER('best actor in a lead role female (popular)') AND [Year] = 2006
wiki-sql
Kasautii Zindagii Kay
What show had a nomination for best actor in a lead role female (popular) in 2006?
script
{"header": ["Goal", "Date", "Score", "Result", "Competition"], "rows": [["1", "10 February 2002", "11", "12", "Friendly"], ["2", "7 June 2003", "11", "12", "2004 Euro qualifying"], ["3", "20 August 2003", "11", "12", "2004 Euro qualifying"], ["4", "18 August 2004", "20", "32", "Friendly"], ["5", "9 October 2004", "21", "22", "2006 WC Qualifying"], ["6", "5 June 2005", "11", "13", "2006 WC Qualifying"], ["7", "28 March 2007", "12", "13", "2008 Euro qualifying"], ["8", "2 June 2007", "12", "12", "2008 Euro qualifying"], ["9", "12 September 2007", "12", "12", "2008 Euro qualifying"], ["10", "21 November 2007", "13", "13", "2008 Euro qualifying"]], "types": ["real", "text", "text", "text", "text"], "caption": "International goals"}
SELECT ([Result]) FROM data_table WHERE [Goal] = 3
wiki-sql
12
Tell me the result for 3 goals
script
{"header": ["Home team", "Home team score", "Away team", "Away team score", "Venue", "Crowd", "Date"], "rows": [["Geelong", "9.10 (64)", "South Melbourne", "6.8 (44)", "Kardinia Park", "17,873", "9 June 1962"], ["Fitzroy", "12.4 (76)", "Melbourne", "9.20 (74)", "Brunswick Street Oval", "15,499", "9 June 1962"], ["Richmond", "9.10 (64)", "Footscray", "11.11 (77)", "Punt Road Oval", "26,656", "9 June 1962"], ["Hawthorn", "9.15 (69)", "Essendon", "7.10 (52)", "Glenferrie Oval", "21,000", "9 June 1962"], ["North Melbourne", "7.10 (52)", "Collingwood", "15.19 (109)", "Arden Street Oval", "18,503", "9 June 1962"], ["St Kilda", "5.13 (43)", "Carlton", "6.10 (46)", "Junction Oval", "38,300", "9 June 1962"]], "types": ["text", "text", "text", "text", "text", "real", "text"], "caption": "Round 8"}
SELECT ([Home team]) FROM data_table WHERE LOWER([Away team]) = LOWER('carlton')
wiki-sql
St Kilda
Who played against Carlton as the home team?
script
{"header": ["Club", "Played", "Drawn", "Lost", "Points for", "Points against", "Tries for", "Tries against", "Try bonus", "Losing bonus"], "rows": [["Club", "Played", "Drawn", "Lost", "Points for", "Points against", "Tries for", "Tries against", "Try bonus", "Losing bonus"], ["Caernarfon RFC", "18", "0", "3", "524", "249", "72", "32", "8", "1"], ["Nant Conwy RFC", "18", "0", "4", "427", "177", "62", "19", "6", "2"], ["Bro Ffestiniog RFC", "18", "0", "5", "437", "246", "62", "30", "6", "5"], ["Bethesda RFC", "18", "0", "6", "365", "208", "47", "21", "5", "5"], ["Pwllheli RFC", "18", "0", "9", "344", "251", "50", "30", "3", "6"], ["Bala RFC", "18", "0", "11", "242", "318", "30", "40", "2", "3"], ["Llangefni RFC", "18", "0", "10", "271", "450", "28", "63", "0", "0"], ["Ruthin RFC", "18", "0", "12", "311", "346", "39", "50", "2", "5"], ["Mold RFC", "18", "0", "14", "247", "416", "31", "55", "2", "4"], ["Llandudno RFC", "18", "0", "16", "204", "711", "25", "106", "0", "1"], ["Correct as of 26 May 2012", "Correct as of 26 May 2012", "Correct as of 26 May 2012", "Correct as of 26 May 2012", "Correct as of 26 May 2012", "Correct as of 26 May 2012", "Correct as of 26 May 2012", "Correct as of 26 May 2012", "Correct as of 26 May 2012", "Correct as of 26 May 2012"]], "types": ["text", "text", "text", "text", "text", "text", "text", "text", "text", "text"], "caption": "2011/2012 Table"}
SELECT ([Points for]) FROM data_table WHERE LOWER([Played]) = LOWER('18') AND LOWER([Club]) = LOWER('bala rfc')
wiki-sql
242
What points has 18 for the played and bala rfc as the club?
script
{"header": ["Game", "Date", "Team", "Score", "High points", "High rebounds", "High assists", "Location Attendance", "Record"], "rows": [["1", "November 3", "Houston Rockets", "W 118-106", "X. McDaniel (24)", "S. Kemp (10)", "X. McDaniel , S. Threatt (7)", "Seattle Center Coliseum 13,922", "10"], ["2", "November 6", "Detroit Pistons", "W 100-92", "X. McDaniel (24)", "S. Kemp (13)", "G. Payton (6)", "Seattle Center Coliseum 13,078", "20"], ["3", "November 9", "@ Denver Nuggets", "W 135-129", "X. McDaniel (27)", "D. McKey (14)", "G. Payton (10)", "McNichols Sports Arena 10,571", "30"], ["4", "November 10", "Golden State Warriors", "L 100-117", "X. McDaniel (26)", "X. McDaniel , D. McKey (9)", "G. Payton (9)", "Tacoma Dome 13,130", "31"], ["5", "November 13", "New York Knicks", "L 100-116 (OT)", "S. Threatt (24)", "X. McDaniel (10)", "G. Payton (7)", "Seattle Center Coliseum 12,352", "32"], ["6", "November 17", "Chicago Bulls", "L 95-116", "X. McDaniel (17)", "M. Cage (7)", "G. Payton (5)", "Seattle Center Coliseum 14,692", "33"], ["7", "November 18", "@ Los Angeles Clippers", "L 65-78", "S. Kemp (11)", "M. Cage (10)", "G. Payton (5)", "Los Angeles Memorial Sports Arena 10,980", "34"], ["8", "November 20", "New Jersey Nets", "W 105-88", "X. McDaniel (35)", "S. Kemp (8)", "G. Payton (9)", "Seattle Center Coliseum 10,466", "44"], ["9", "November 23", "@ Utah Jazz", "L 96-97", "X. McDaniel (33)", "D. McKey (11)", "S. Threatt (12)", "Salt Palace 12,616", "45"], ["10", "November 27", "San Antonio Spurs", "L 111-124", "Q. Dailey (29)", "M. Cage (8)", "G. Payton (8)", "Seattle Center Coliseum 13,293", "46"], ["11", "November 29", "@ Phoenix", "L 110-128", "D. McKey (26)", "S. Kemp (11)", "G. Payton (6)", "Arizona Veterans Memorial Coliseum 14,487", "47"]], "types": ["real", "text", "text", "text", "text", "text", "text", "text", "text"], "caption": "Game log"}
SELECT ([Game]) FROM data_table WHERE LOWER([Team]) = LOWER('golden state warriors')
wiki-sql
4.0
What is the game with the golden state warriors?
script
{"header": ["Rank", "Name", "Nationality", "1st (m)", "2nd (m)", "Points", "Overall NT points", "Overall WC points (Rank)"], "rows": [[1, "Janne Ahonen", "FIN", "122.5", "126.0", "248.3", "378.7 (2)", "1098 (3)"], [2, "Anders Bardal", "NOR", "117.5", "128.0", "240.4", "373.0 (5)", "788 (5)"], [3, "Tom Hilde", "NOR", "121.5", "122.5", "237.2", "373.2 (4)", "1027 (4)"], [4, "Gregor Schlierenzauer", "AUT", "114.5", "129.0", "236.8", "374.4 (3)", "1161 (2)"], [5, "Janne Happonen", "FIN", "118.0", "125.5", "236.3", "378.9 (1)", "554 (11)"]], "types": ["real", "text", "text", "text", "text", "text", "text", "text"], "caption": "Kuopio"}
SELECT ([Overall WC points (Rank)]) FROM data_table WHERE LOWER([2nd (m)]) = LOWER('122.5')
wiki-sql
1027 (4)
Name the overall wc points rank for 2nd m for 122.5
script
{"header": ["Home team", "Home team score", "Away team", "Away team score", "Venue", "Crowd", "Date"], "rows": [["Richmond", "15.17 (107)", "St Kilda", "17.4 (106)", "Punt Road Oval", "27,000", "2 May 1936"], ["Essendon", "17.15 (117)", "North Melbourne", "11.4 (70)", "Windy Hill", "15,000", "2 May 1936"], ["South Melbourne", "14.24 (108)", "Melbourne", "13.9 (87)", "Lake Oval", "22,000", "2 May 1936"], ["Geelong", "20.24 (144)", "Footscray", "10.9 (69)", "Corio Oval", "12,000", "2 May 1936"], ["Hawthorn", "12.11 (83)", "Collingwood", "15.14 (104)", "Glenferrie Oval", "14,000", "2 May 1936"], ["Fitzroy", "13.9 (87)", "Carlton", "24.19 (163)", "Brunswick Street Oval", "32,000", "2 May 1936"]], "types": ["text", "text", "text", "text", "text", "real", "text"], "caption": "Round 1"}
SELECT AVG([Crowd]) FROM data_table WHERE LOWER([Venue]) = LOWER('brunswick street oval')
wiki-sql
32000.0
What is the average crowd size for Brunswick street oval?
script
{"header": ["Year", "Division", "League", "Reg. Season", "Playoffs"], "rows": [["2008", "1", "USL W-League", "1st, Western", "Champions"], ["2009", "2", "USL W-League", "1st, Western", "Champions"], ["2010", "2", "USL W-League", "2nd, Western", "Western Finals"], ["2011", "2", "USL W-League", "3rd, Western", "Did Not Qualify"], ["2012", "2", "USL W-League", "1st, Western", "Finals"], ["2013", "2", "USL W-League", "1st, Western", "Champions"]], "types": ["real", "real", "text", "text", "text"], "caption": "Year-by-year"}
SELECT AVG([Division]) FROM data_table WHERE LOWER([Reg. Season]) = LOWER('1st, western') AND LOWER([Playoffs]) = LOWER('champions') AND [Year] < 2013
wiki-sql
1.5
Which Division that has a Reg Season of 1st, western, and Playoffs of champions, and a Year smaller than 2013?
script
{"header": ["Class", "Part 1", "Part 2", "Part 3", "Part 4"], "rows": [["7a", "*haitan", "*ht", "*htun", "*haitanaz"], ["7b", "*hlaupan", "*hleup", "*hleupun", "*hlaupanaz"], ["7c", "*haldan", "*held", "*heldun", "*haldanaz"], ["7d", "*rdan", "*rd", "*rdun", "*rdanaz"], ["7e", "*bltan", "*bleut (West), *blt (North)", "*bleutun (West), *bltun (North)", "*bltanaz"]], "types": ["text", "text", "text", "text", "text"], "caption": "Northwest Germanic"}
SELECT ([Class]) FROM data_table WHERE LOWER([Part 2]) = LOWER('*ht')
wiki-sql
7a
What was the class when part 2 was *ht?
script
{"header": ["Episode", "Broadcast Date", "BBC One Presenter(s)", "Starring", "Radio 1 Presenter", "Viewers (millions)"], "rows": [[1, 2005, "Clare Balding", "Doug Segal", "N/A", "6.43"], [2, 2006, "Myleene Klass", "Gethin Jones , Natasha Kaplinsky & Alesha Dixon", "N/A", "6.06"], [3, 2007, "Myleene Klass", "Gethin Jones , Natasha Kaplinsky & Nick Knowles", "N/A", "5.35"], [5, 2009, "Myleene Klass", "N/A", "Nihal", "7.65"], [6, 2010, "Jake Humphrey", "N/A", "Nihal", "9.37"], [7, 2011, "Jake Humphrey", "N/A", "Nihal", "10.67"], [8, 2012, "Gabby Logan", "N/A", "Nihal", "9.73"]], "types": ["real", "real", "text", "text", "text", "text"], "caption": "Episodes"}
SELECT ([Radio 1 Presenter]) FROM data_table WHERE LOWER([Viewers (millions)]) = LOWER('9.73')
wiki-sql
Nihal
Who was the radio 1 presenter for the broadcast that had 9.73 million viewers?
script
{"header": ["#", "Name", "Position", "Height", "Weight", "Year", "Home Town", "Last School"], "rows": [[1, "Anthony Brock", "Guard", "59", 165, "Senior", "Little Rock, Ark.", "Itawamba CC"], [2, "Mikhail Torrance", "Guard", "65", 210, "Senior", "Eight Mile, Ala.", "Mary Montgomery HS"], [5, "Tony Mitchell", "Forward", "66", 185, "Freshman", "Swainsboro, Ga.", "Central Park Christian HS"], [10, "Ben Eblen", "Guard", "61", 180, "Freshman", "Isle of Palms, S.C.", "Florida Air Academy"], [20, "Greg Cage", "Guard", "64", 212, "Senior", "Indianapolis, Ind.", "Bishop Chatard HS"], [21, "Senario Hillman", "Guard", "61", 192, "Junior", "Irwinton, Ga.", "Wilkinson County HS"], [23, "Demetrius Jemison", "Forward", "68", 240, "Senior", "Birmingham, Ala.", "Huffman HS"], [24, "Charvez Davis", "Guard", "63", 190, "Junior", "Montgomery, Ala.", "Northwest Florida State College"], [25, "Andrew Steele", "Guard", "63", 215, "Sophomore", "Birmingham, Ala.", "John Carroll HS"], [32, "JaMychal Green", "Forward", "69", 220, "Sophomore", "Montgomery, Ala.", "St. Jude HS"], [40, "Justin Knox", "Forward", "69", 240, "Junior", "Tuscaloosa, Ala.", "Central HS"]], "types": ["real", "text", "text", "text", "real", "text", "text", "text"], "caption": "Roster"}
SELECT MAX([Weight]) FROM data_table
wiki-sql
240
Name the most height
script
{"header": ["World record", "Snatch", "Sergey Filimonov ( KAZ )", "173kg", "Almaty , Kazakhstan"], "rows": [["Clean & Jerk", "Oleg Perepetchenov ( RUS )", "210kg", "Trenn , Slovakia", "27 April 2001"], ["Total", "Plamen Zhelyazkov ( BUL )", "377kg", "Doha , Qatar", "27 March 2002"], ["Olympic record", "Snatch", "Taner Sagir ( TUR )", "172kg", "Athens , Greece"], ["Olympic record", "Clean & Jerk", "Zhan Xugang ( CHN )", "207kg", "Sydney , Australia"], ["Olympic record", "Total", "Taner Sagir ( TUR )", "375kg", "Athens , Greece"]], "types": ["text", "text", "text", "text", "text"], "caption": "Records"}
SELECT ([Almaty , Kazakhstan]) FROM data_table WHERE LOWER([Sergey Filimonov ( KAZ )]) = LOWER('210kg')
wiki-sql
27 April 2001
What is the Almaty, Kazakhstan when Sergey Filimonov ( KAZ ) is 210kg?
script
{"header": ["Week", "Date", "Opponent", "Result", "Game site", "Attendance"], "rows": [["1", "1983-09-04", "at San Diego Chargers", "W 4129", "Jack Murphy Stadium", "51,004"], ["2", "1983-09-11", "Seattle Seahawks", "L 1710", "Shea Stadium", "50,066"], ["3", "1983-09-18", "at New England Patriots", "L 2313", "Sullivan Stadium", "43,182"], ["4", "1983-09-25", "Los Angeles Rams", "W 2724", "Shea Stadium", "52,070"], ["5", "1983-10-03", "at Buffalo Bills", "W 3410", "Rich Stadium", "79,933"], ["6", "1983-10-09", "at Cleveland Browns", "L 107", "Cleveland Municipal Stadium", "78,235"], ["7", "1983-10-16", "Miami Dolphins", "L 3214", "Shea Stadium", "58,615"], ["8", "1983-10-23", "Atlanta Falcons", "L 2721", "Shea Stadium", "46,878"], ["9", "1983-10-30", "at San Francisco 49ers", "W 2713", "Candlestick Park", "54,796"], ["10", "1983-11-06", "Baltimore Colts", "L 1714", "Shea Stadium", "53,323"], ["11", "1983-11-13", "Buffalo Bills", "L 2417", "Shea Stadium", "48,513"], ["12", "1983-11-21", "at New Orleans Saints", "W 3128", "Louisiana Superdome", "68,606"], ["13", "1983-11-27", "New England Patriots", "W 263", "Shea Stadium", "48,620"], ["14", "1983-12-04", "at Baltimore Colts", "W 106", "Memorial Stadium", "35,462"], ["15", "1983-12-10", "Pittsburgh Steelers", "L 347", "Shea Stadium", "53,996"], ["16", "1983-12-16", "at Miami Dolphins", "L 3414", "Miami Orange Bowl", "59,975"]], "types": ["real", "text", "text", "text", "text", "real"], "caption": "Schedule"}
SELECT MIN([Attendance]) FROM data_table WHERE [Week] = 16
wiki-sql
59975.0
on week 16, what was the lowest attendance?
script
{"header": ["Stage", "Winner", "General classification", "Mountains classification", "Points classification", "Youth classification", "Team Classification"], "rows": [[1, "Tom Zirbel", "Tom Zirbel", "Tom Zirbel", "Tom Zirbel", "Nick Frey", "Bissell"], [2, "Lucas Sebastian Haedo", "Tom Zirbel", "Tom Zirbel", "Thomas Soladay", "Nick Frey", "Bissell"], [3, "Alejandro Borrajo", "Tom Zirbel", "Kenneth Hanson", "Thomas Soladay", "Nick Frey", "Bissell"], [4, "Lucas Sebastian Haedo", "Tom Zirbel", "Kenneth Hanson", "Thomas Soladay", "Nick Frey", "Bissell"], [5, "Andrew Crater", "Tom Zirbel", "Chad Gerlach", "Thomas Soladay", "Mike Northey", "Bissell"], [6, "Phillip Mamos", "Rory Sutherland", "Chad Gerlach", "Thomas Soladay", "Bobby Sweeting", "Bissell"]], "types": ["real", "text", "text", "text", "text", "text", "text"], "caption": "Classification leadership progress table"}
SELECT ([Youth classification]) FROM data_table WHERE LOWER([Mountains classification]) = LOWER('Kenneth Hanson') AND LOWER([Winner]) = LOWER('Lucas Sebastian Haedo')
wiki-sql
Nick Frey
Who was the Youth Classification in the race with Kenneth Hanson as Mountains Classification and Lucas Sebastian Haedo as winner?
script
{"header": ["D 50 O", "D 49 ", "D 48 ", "D 47 ", "D 46 ", "D 45 ", "D 44 ", "D 43 ", "D 42 ", "D 41 "], "rows": [["D 11", "D 12", "D 13", "D 14", "D 15", "D 16", "D 17", "D 18", "D 19", "D 20"], ["D 30", "D 29", "D 28", "D 27", "D 26", "D 25", "D 24", "D 23", "D 22", "D 21"], ["D 31", "D 32", "D 33 ", "D 34 ", "D 35 ", "D 36 ", "D 37 ", "D 38 ", "D 39 ", "D 40 "], ["D 50 O", "D 49 ", "D 48 ", "D 47 ", "D 46 ", "D 45 ", "D 44 ", "D 43 ", "D 42 ", "D 41 "], ["D 51 O", " Majority", " Majority", " Majority", " Majority", " Majority", " Majority", " Majority", " Majority", " Majority"], ["D 51 O", "D 52 O", "D 53 +", "D 54 +", "I 1 @", "C 1 +", "R 44 +", "R 43 +", "R 42 +", "R 41 +"], ["R 31", "R 32", "R 33", "R 34 ", "R 35 ", "R 36 ", "R 37 ", "R 38 ", "R 39 ", "R 40 O"], ["R 30", "R 29", "R 28", "R 27", "R 26", "R 25", "R 24", "R 23", "R 22", "R 21"], ["R 11", "R 12", "R 13", "R 14", "R 15", "R 16", "R 17", "R 18", "R 19", "R 20"], ["R 10", "R 9", "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", "text", "text"], "caption": "Senate composition as a result of the elections"}
SELECT ([D 43 ]) FROM data_table WHERE LOWER([D 46 ]) = LOWER('d 26')
wiki-sql
D 23
Name the D 43 when it has D 46 of d 26
script
{"header": ["Year", "Award Ceremony", "Category", "Nominee", "Result"], "rows": [["1994", "Laurence Olivier Award", "Best Musical Revival", "Best Musical Revival", "Won"], ["1994", "Laurence Olivier Award", "Best Actor in a Musical", "Alun Armstrong", "Won"], ["1994", "Laurence Olivier Award", "Best Actress in a Musical", "Julia McKenzie", "Won"], ["1994", "Laurence Olivier Award", "Best Performance in a Supporting Role in a Musical", "Adrian Lester", "Nominated"], ["1994", "Laurence Olivier Award", "Best Performance in a Supporting Role in a Musical", "Barry James", "Nominated"], ["1994", "Laurence Olivier Award", "Best Director of a Musical", "Declan Donnellan", "Won"]], "types": ["real", "text", "text", "text", "text"], "caption": "1993 London revival"}
SELECT ([Result]) FROM data_table WHERE LOWER([Nominee]) = LOWER('declan donnellan')
wiki-sql
Won
What was the result of Declan Donnellan's nomination?
script
{"header": ["Channel", "Video", "Aspect", "PSIP Short Name", "Programming"], "rows": [["51.1", "480i", "4:3", "KYAZ-1", "Azteca Amrica"], ["51.2", "480i", "4:3", "KYAZ-2", "VietFace TV"], ["51.3", "480i", "4:3", "KYAZ-3", "Saigon Network Television"], ["51.4", "480i", "4:3", "KYAZ-4", "New Tang Dynasty Television"], ["51.5", "480i", "4:3", "KYAZ-5", "Global TV"], ["51.6", "480i", "4:3", "KYAZ-6", "LATV"], ["51.7", "480i", "4:3", "KYAZ-7", "Vietmax"]], "types": ["real", "text", "text", "text", "text"], "caption": "Digital channels"}
SELECT ([Aspect]) FROM data_table WHERE LOWER([Programming]) = LOWER('saigon network television')
wiki-sql
4:3
What Aspect has a Programming of Saigon Network Television?
script
{"header": ["Date", "Time", "Home", "Away", "Score", "Ground"], "rows": [["2008-07-26", "10:00", "Toronto Downtown Dingos", "Central Blues", "52-54", "Humber College North"], ["2008-07-26", "11:00", "Hamilton Wildcats", "Ottawa Swans", "108-4", "Mohawk Sports Park"], ["2008-07-26", "12:00", "Toronto Eagles", "Toronto Rebels", "61-29", "Humber College North"], ["2008-07-26", "14:00", "Broadview Hawks", "High Park Demons", "130-44", "University of Toronto Scarborough"], ["2008-07-26", "14:00", "Guelph Gargoyles", "Etobicoke Kangaroos", "47-109", "Magaret Green Park"]], "types": ["text", "text", "text", "text", "text", "text"], "caption": "Round Ten"}
SELECT ([Date]) FROM data_table WHERE LOWER([Away]) = LOWER('high park demons')
wiki-sql
2008-07-26
When did the High Park Demons play Away?
script
{"header": ["Name", "Entered office", "Left office", "Party", "First Minister"], "rows": [["Name", "Entered office", "Left office", "Party", "First Minister"], ["Angus MacKay", "19 May 1999", "2 November 2000", "Labour", "Donald Dewar"], ["Iain Gray", "2 November 2000", "28 November 2001", "Labour", "Henry McLeish"], ["Richard Simpson", "28 November 2001", "26 November 2002", "Labour", "Jack McConnell"], ["Hugh Henry", "28 November 2002", "14 November 2006", "Labour", "Jack McConnell"], ["Johann Lamont", "16 November 2006", "17 May 2007", "Labour", "Jack McConnell"], ["Minister for Community Safety", "Minister for Community Safety", "Minister for Community Safety", "Minister for Community Safety", "Minister for Community Safety"], ["Fergus Ewing", "17 May 2007", "20 May 2011", "Scottish National Party", "Alex Salmond"], ["Minister for Community Safety and Legal Affairs", "Minister for Community Safety and Legal Affairs", "Minister for Community Safety and Legal Affairs", "Minister for Community Safety and Legal Affairs", "Minister for Community Safety and Legal Affairs"], ["Roseanna Cunningham", "20 May 2011", "Incumbent", "Scottish National Party", "Alex Salmond"]], "types": ["text", "text", "text", "text", "text"], "caption": "Minister for Community Safety and Legal Affairs"}
SELECT ([Party]) FROM data_table WHERE LOWER([Left office]) = LOWER('26 november 2002')
wiki-sql
Labour
What is the party of the minister who left office on 26 November 2002?
script
{"header": ["Match No.", "Home Team", "Score", "Away Team", "Attendance"], "rows": [["1", "Norbritz Hokkaido", "1-2", "Nippon Steel Oita F.C.", "641"], ["2", "Matsumoto Yamaga F.C.", "2-2 ( a.e.t. )", "Doshisha University", "1,662"], ["Matsumoto Yamaga F.C. won 4-3 on penalties.", "Matsumoto Yamaga F.C. won 4-3 on penalties.", "Matsumoto Yamaga F.C. won 4-3 on penalties.", "Matsumoto Yamaga F.C. won 4-3 on penalties.", "Matsumoto Yamaga F.C. won 4-3 on penalties."], ["3", "Iwate University", "0-3", "Kochi University", "310"], ["4", "S.C. Tottori", "2-1", "Sony Sendai F.C.", "511"], ["5", "Teihens F.C.", "0-5", "National Institute of Fitness and Sports in Kanoya", "471"], ["6", "Biwako Seikei Sport College", "4-1", "Fukui University of Technology", "478"], ["7", "Nirasaki Astros F.C.", "3-2", "Yamagata University", "236"], ["8", "Tokuyama University", "1-4", "Ritsumeikan University", "168"], ["9", "F.C. Premeiro", "0-1", "Mitsubishi Motors Mizushima F.C.", "657"], ["10", "F.C. Central Chugoku", "3-0", "Ehime F.C. Youth", "553"], ["11", "Mie Chukyo University", "2-3", "Kansai University", "753"], ["12", "Tokushima Vortis B", "0-2", "F.C. Ryky", "235"], ["13", "F.C. Gifu", "5-1", "Hiroshima University of Economics", "1,229"], ["14", "Miyazaki Sangyo-keiei University", "3-2 (a.e.t.)", "JEF United Ichihara Chiba B", "488"], ["15", "V-Varen Nagasaki", "1-2", "Banditonce Kobe", "758"], ["16", "Tochigi S.C.", "3-0", "Saga University", "866"], ["17", "Kamatamare Sanuki", "0-5", "Rosso Kumamoto", "519"], ["18", "Takada F.C.", "0-2", "Arte Takasaki", "740"], ["19", "Hatsushiba Hashimoto High School", "0-5", "Hachinohe University", "287"], ["20", "TDK S.C.", "2-0", "JAPAN Soccer College", "1214"]], "types": ["text", "text", "text", "text", "text"], "caption": "First Round"}
SELECT ([Score]) FROM data_table WHERE LOWER([Match No.]) = LOWER('15')
wiki-sql
1-2
What is the score of match 15?
script
{"header": ["Week", "Date", "Opponent", "Result", "Attendance"], "rows": [["1", "September 25, 1955", "at Cleveland Browns", "W 27-17", "30,041"], ["2", "October 1, 1955", "at Philadelphia Eagles", "W 31-30", "31,891"], ["3", "October 9, 1955", "Chicago Cardinals", "L 24-10", "26,337"], ["4", "October 16, 1955", "Cleveland Browns", "L 24-14", "29,168"], ["5", "October 23, 1955", "at Baltimore Colts", "W 14-13", "51,387"], ["6", "October 30, 1955", "at New York Giants", "L 35-7", "17,402"], ["7", "November 6, 1955", "Philadelphia Eagles", "W 34-21", "25,741"], ["8", "November 13, 1955", "San Francisco 49ers", "W 7-0", "25,112"], ["9", "November 20, 1955", "at Chicago Cardinals", "W 31-0", "16,901"], ["10", "November 27, 1955", "at Pittsburgh Steelers", "W 23-14", "21,760"], ["11", "December 4, 1955", "New York Giants", "L 27-20", "28,556"], ["12", "December 11, 1955", "Pittsburgh Steelers", "W 28-17", "20,547"]], "types": ["real", "text", "text", "text", "real"], "caption": "Schedule"}
SELECT ([Opponent]) FROM data_table WHERE LOWER([Date]) = LOWER('november 20, 1955')
wiki-sql
at Chicago Cardinals
Who was the opponent for the game on November 20, 1955?
script
{"header": ["Team", "Country", "Domestic tournament", "Position", "Group"], "rows": [["Rajasthan Royals", "India", "2008 Indian Premier League", "Winner", "B"], ["Chennai Super Kings", "India", "2008 Indian Premier League", "Runner-up", "A"], ["Titans", "South Africa", "200708 Standard Bank Pro20", "Winner", "A"], ["Dolphins", "South Africa", "200708 Standard Bank Pro20", "Runner-up", "B"], ["Victorian Bushrangers", "Australia", "200708 KFC Twenty20 Big Bash", "Winner", "A"], ["Western Warriors", "Australia", "200708 KFC Twenty20 Big Bash", "Runner-up", "B"], ["Middlesex Crusaders", "England", "2008 Twenty20 Cup", "Winner", "A"], ["Sialkot Stallions", "Pakistan", "200809 RBS Twenty-20 Cup", "Winner", "B"]], "types": ["text", "text", "text", "text", "text"], "caption": "Qualified teams"}
SELECT ([Group]) FROM data_table WHERE LOWER([Team]) = LOWER('dolphins')
wiki-sql
B
What is the Dolphins Group?
script
{"header": ["Date", "Opponent", "Venue", "Result", "Attendance", "Competition", "Man of the Match"], "rows": [["1st", "Milton Keynes Lightning", "Home", "Won 5-4", "1,336", "League", "Terry Miles"], ["8th", "Bracknell Bees", "Away", "Won 4-3 (OT)", "N/A", "League", "Ollie Bronnimann"], ["14th", "Peterborough Phantoms", "Away", "Won 4-2", "493", "League", "N/A"], ["15th", "Slough Jets", "Home", "Lost 3-2", "1,634", "League", "Joe Watkins"], ["19th", "Slough Jets", "Home", "Drawn 1-1", "2,057", "Cup Semi-Final (1st Leg)", "David Savage"], ["21st", "Peterborough Phantoms", "Home", "Won 5-3", "1,551", "League", "Ben Austin"], ["22nd", "Sheffield Scimitars", "Away", "Lost 5-4", "627", "League", "N/A"], ["25th", "Slough Jets", "Away", "Won 4-2", "702", "Cup Semi-Final (2nd Leg)", "N/A"]], "types": ["text", "text", "text", "text", "text", "text", "text"], "caption": "February"}
SELECT ([Venue]) FROM data_table WHERE LOWER([Attendance]) = LOWER('702')
wiki-sql
Away
where was the venue where the attendance was 702?
script
{"header": ["Tie no", "Home team", "Score", "Away team", "Attendance"], "rows": [["1", "Bolton Wanderers", "1 0", "Fulham", "16,151"], ["2", "Tottenham Hotspur", "1 1", "Nottingham Forest", "35,640"], ["replay", "Nottingham Forest", "0 3", "Tottenham Hotspur", "28,062"], ["3", "Everton", "0 2", "Manchester United", "38,664"], ["4", "Charlton Athletic", "1 2", "Leicester City", "23,719"], ["5", "Burnley", "0 0", "Blackburn Rovers", "21,468"], ["replay", "Blackburn Rovers", "2 1", "Burnley", "28,691"], ["6", "Southampton", "2 2", "Brentford", "24,741"], ["replay", "Brentford", "1 3", "Southampton", "11,720"], ["7", "Newcastle United", "1 0", "Chelsea", "45,740"], ["8", "Arsenal", "1 1", "Sheffield United", "36,891"], ["replay", "Sheffield United", "0 0", "Arsenal", "27,595"], ["Arsenal win 4-2 on penalties", "Arsenal win 4-2 on penalties", "Arsenal win 4-2 on penalties", "Arsenal win 4-2 on penalties", "Arsenal win 4-2 on penalties"]], "types": ["text", "text", "text", "text", "text"], "caption": "Fifth round proper"}
SELECT ([Tie no]) FROM data_table WHERE LOWER([Away team]) = LOWER('burnley')
wiki-sql
replay
What is the Tie no when the away team was Burnley?
script
{"header": ["Driver", "Constructor", "Laps", "Time/Retired", "Grid"], "rows": [["Johnny Herbert", "Benetton - Renault", "61", "1:34:35.093", "5"], ["Jean Alesi", "Ferrari", "61", "+16.479", "6"], ["David Coulthard", "Williams - Renault", "61", "+23.888", "3"], ["Olivier Panis", "Ligier - Mugen-Honda", "61", "+1:33.168", "13"], ["Mark Blundell", "McLaren - Mercedes", "61", "+1:48.172", "10"], ["Heinz-Harald Frentzen", "Sauber - Ford", "60", "+1 lap", "12"], ["Pierluigi Martini", "Minardi - Ford", "60", "+1 lap", "15"], ["Mika Salo", "Tyrrell - Yamaha", "60", "+1 lap", "23"], ["Jean-Christophe Boullion", "Sauber - Ford", "60", "+1 lap", "16"], ["Luca Badoer", "Minardi - Ford", "60", "+1 lap", "18"], ["Rubens Barrichello", "Jordan - Peugeot", "59", "Collision", "9"], ["Bertrand Gachot", "Pacific - Ford", "58", "+3 laps", "21"], ["Roberto Moreno", "Forti - Ford", "48", "Engine", "22"], ["Michael Schumacher", "Benetton - Renault", "45", "Collision", "2"], ["Damon Hill", "Williams - Renault", "45", "Collision", "1"], ["Massimiliano Papis", "Footwork - Hart", "28", "Spun off", "17"], ["Ukyo Katayama", "Tyrrell - Yamaha", "22", "Out of fuel", "14"], ["Andrea Montermini", "Pacific - Ford", "21", "Spun off", "24"], ["Mika Hkkinen", "McLaren - Mercedes", "20", "Electrical", "8"], ["Gerhard Berger", "Ferrari", "20", "Wheel", "4"], ["Martin Brundle", "Ligier - Mugen-Honda", "16", "Spun off", "11"], ["Taki Inoue", "Footwork - Hart", "16", "Spun off", "19"], ["Pedro Diniz", "Forti - Ford", "13", "Gearbox", "20"], ["Eddie Irvine", "Jordan - Peugeot", "2", "Electrical", "7"], ["Source:", "Source:", "Source:", "Source:", "Source:"]], "types": ["text", "text", "text", "text", "text"], "caption": "Race"}
SELECT ([Time/Retired]) FROM data_table WHERE LOWER([Grid]) = LOWER('14')
wiki-sql
Out of fuel
What's the time/retired for a grid of 14?
script
{"header": ["Home team", "Home team score", "Away team", "Away team score", "Venue", "Crowd", "Date"], "rows": [["Geelong", "7.14 (56)", "Melbourne", "17.13 (115)", "Kardinia Park", "7,000", "4 August 1945"], ["Footscray", "7.13 (55)", "South Melbourne", "8.8 (56)", "Western Oval", "27,000", "4 August 1945"], ["Collingwood", "16.8 (104)", "Essendon", "10.15 (75)", "Victoria Park", "19,000", "4 August 1945"], ["Richmond", "15.15 (105)", "Hawthorn", "19.7 (121)", "Punt Road Oval", "13,000", "4 August 1945"], ["North Melbourne", "12.6 (78)", "Fitzroy", "4.9 (33)", "Arden Street Oval", "14,000", "4 August 1945"], ["St Kilda", "7.15 (57)", "Carlton", "11.13 (79)", "Junction Oval", "10,000", "4 August 1945"]], "types": ["text", "text", "text", "text", "text", "real", "text"], "caption": "Round 16"}
SELECT ([Date]) FROM data_table WHERE LOWER([Home team]) = LOWER('st kilda')
wiki-sql
4 August 1945
What day is st kilda the home side?
script
{"header": ["Storm name", "Dates active", "Max 1-min wind mph (km/h)", "Min. press. ( mbar )", "Damage (millions USD )", "Deaths"], "rows": [["One", "May19 May25", "65 (100)", "<995", "None", "None"], ["Two", "August3 August10", "100 (155)", "972", "10.75", "7"], ["Three", "August5 August14", "100 (155)", "972", "13", "52"], ["Four", "August26 September2", "110 (175)", "961", "4.05", "7"], ["Five", "September7 September17", "100 (155)", "<988", "1.49", "3"], ["Six", "September18 September25", "50 (85)", "1002", "0.039", "2"], ["Seven", "September22 September28", "100 (155)", "<977", "None", "None"], ["Eight", "October20 October24", "80 (130)", "<983", "Unknown", "None"], ["Nine", "October24 October26", "45 (75)", "<1007", "None", "None"], ["Season Aggregates", "Season Aggregates", "Season Aggregates", "Season Aggregates", "Season Aggregates", "Season Aggregates"], ["9 cyclones", "May19 October26", "110 (175)", "961", "29.3", "71"]], "types": ["text", "text", "text", "text", "text", "text"], "caption": "1940 \n North Atlantic tropical cyclone \n statistics"}
SELECT ([Min. press. ( mbar )]) FROM data_table WHERE LOWER([Deaths]) = LOWER('none') AND LOWER([Storm name]) = LOWER('seven')
wiki-sql
<977
Which Min press has none Death and seven Storm names?
script
{"header": ["Skip (Club)", "W", "L", "PF", "PA", "Ends Won", "Ends Lost", "Blank Ends", "Stolen Ends"], "rows": [["Peter Corner (Brampton)", 8, 2, 69, 54, 41, 36, 8, 11], ["Glenn Howard (Coldwater)", 8, 2, 79, 35, 40, 22, 8, 11], ["Greg Balsdon (Loonie)", 7, 3, 80, 57, 46, 37, 5, 12], ["John Epping (Donalda)", 7, 3, 76, 64, 43, 41, 5, 10], ["Mark Bice (Sarnia)", 6, 4, 70, 76, 45, 44, 8, 7], ["Chris Gardner (Renfrew)", 5, 5, 73, 72, 47, 41, 7, 16], ["Dale Matchett (Bradford)", 4, 6, 57, 75, 35, 42, 7, 7], ["Mark Kean (Annandale)", 3, 7, 53, 67, 43, 35, 12, 8], ["Howard Rajala (Rideau)", 3, 7, 67, 71, 43, 48, 5, 9], ["Nick Rizzo (Brantford)", 3, 7, 56, 74, 35, 42, 4, 5]], "types": ["text", "real", "real", "real", "real", "real", "real", "real", "real"], "caption": "Standings"}
SELECT MAX([L]) FROM data_table
wiki-sql
7
What is the largest number in L?
script
{"header": ["Tournament", "2009", "2010", "2011", "2012"], "rows": [["Australian Open", "A", "A", "A", "A"], ["French Open", "A", "A", "A", "A"], ["Wimbledon", "2R", "A", "1R", "1R"], ["US Open", "A", "A", "A", "A"], ["WinLoss", "11", "00", "01", "01"], ["Year-end Ranking", "362", "328", "267", "1,176"]], "types": ["text", "text", "text", "text", "text"], "caption": "Doubles"}
SELECT ([2009_]) FROM data_table WHERE LOWER([Tournament]) = LOWER('year-end ranking')
wiki-sql
362
What is 2009, when Tournament is "Year-End Ranking"?
script
{"header": ["Name", "Date of Birth", "Height", "Weight", "Spike", "Block"], "rows": [["Konstantinos Christofidelis", "26.06.1977", "195", "87", "341", "320"], ["Marios Giourdas", "02.03.1973", "202", "90", "356", "341"], ["Theodoros Chatziantoniou", "16.03.1974", "204", "95", "360", "350"], ["Vasileios Kournetas", "02.08.1976", "191", "82", "336", "320"], ["Georgios Stefanou", "12.01.1981", "187", "82", "295", "305"], ["Antonios Tsakiropoulos", "01.07.1969", "205", "93", "350", "336"], ["Nikolaos Roumeliotis", "12.10.1978", "201", "97", "343", "320"], ["Sotirios Pantaleon", "21.06.1980", "200", "77", "330", "312"], ["Ilias Lappas", "20.07.1979", "194", "92", "335", "320"], ["Andrej Kravrik", "28.07.1971", "204", "97", "360", "350"], ["Konstantinos Prousalis", "06.10.1980", "192", "83", "320", "295"], ["Theodoros Baev", "31.05.1977", "200", "95", "340", "333"]], "types": ["text", "text", "real", "real", "real", "real"], "caption": "[[ | ]]"}
SELECT ([Name]) FROM data_table WHERE [Block] = 320 AND [Spike] > 336 AND LOWER([Date of Birth]) = LOWER('12.10.1978')
wiki-sql
Nikolaos Roumeliotis
What is Name, when Block is 320, when Spike is more than 336, and when Date of Birth is 12.10.1978?
script
{"header": ["Title", "Localized Title", "Creator", "Years", "Origin"], "rows": [["Atashin'chi", ", Attamamma", "Eiko Kera", "2004-2008", "Japan"], ["Baby and Me", " , Agiwana", "Marimo Ragawa", "1995-2002", "Japan"], ["Gakko no Ojikan", " !, Hakgyoe Gaja", "Mimi Tajima", "2004-present", "Japan"], ["Gakuen Prince", ", Hagwonwangja", "Jun Yuzuki", "2007-present", "Japan"], ["Hanasekeru Seishounen", "", "Natsumi Itsuki", "1997-2000", "Japan"], ["Koucha ji", "", "Nanpei Yamada", "1998-2004", "Japan"], ["Koucha ji no Himegimi", " , aejangpan Hongchawangja", "Nanpei Yamada", "2008-present", "Japan"], ["Papillon -Hana to Ch-", ", Ppappiyon", "Miwa Ueda", "2007-present", "Japan"], ["Penguin Revolution", ", Penggwin Hyeokmyeong", "Sakura Tsukuba", "2005-2008", "Japan"], ["Sailor Moon", " ", "Naoko Takeuchi", "1997-1999", "Japan"], ["Shanimuni Go", "Just Go Go!, !", "Marimo Ragawa", "1999-present", "Japan"], ["Sprout", ", ", "Atsuko Nanba", "2006-present", "Japan"]], "types": ["text", "text", "text", "text", "text"], "caption": "Licensed titles"}
SELECT ([Years]) FROM data_table WHERE LOWER([Localized Title]) = LOWER('')
wiki-sql
1998-2004
What years did air?
script
{"header": ["Pick #", "Player", "Position", "Nationality", "NHL team", "College/junior/club team"], "rows": [["15", "Ken Baird", "Defence", "Canada", "California Golden Seals", "Flin Flon Bombers (WCHL)"], ["16", "Henry Boucha", "Centre", "United States", "Detroit Red Wings", "US National Development Team"], ["17", "Bobby Lalonde", "Centre", "Canada", "Vancouver Canucks", "Montreal Junior Canadiens (OHA)"], ["18", "Brian McKenzie", "Left Wing", "Canada", "Pittsburgh Penguins", "St Catharines Black Hawks (OHA)"], ["19", "Craig Ramsay", "Left Wing", "Canada", "Buffalo Sabres", "Peterborough Petes (OHA)"], ["20", "Larry Robinson", "Defence", "Canada", "Montreal Canadiens", "Kitchener Rangers (OHA)"], ["21", "Rod Norrish", "Left Wing", "Canada", "Minnesota North Stars", "Regina Pats (WCHL)"], ["22", "Rick Kehoe", "Right Wing", "Canada", "Toronto Maple Leafs", "Hamilton Red Wings (OHA)"], ["23", "Dave Fortier", "Defence", "Canada", "Toronto Maple Leafs", "St Catharines Black Hawks (OHA)"], ["24", "Michel DeGuise", "Goaltender", "Canada", "Montreal Canadiens", "Sorel Eperviers (QMJHL)"], ["25", "Terry French", "Centre", "Canada", "Montreal Canadiens", "Ottawa 67's (OHA)"], ["26", "Dave Kryskow", "Left Wing", "Canada", "Chicago Black Hawks", "Edmonton Oil Kings (WCHL)"], ["27", "Tom Williams", "Left Wing", "Canada", "New York Rangers", "Hamilton Red Wings (OHA)"], ["28", "Curt Ridley", "Goaltender", "Canada", "Boston Bruins", "Portage Terriers (MJHL)"], ["Reference:", "Reference:", "Reference:", "Reference:", "Reference:", "Reference:"]], "types": ["text", "text", "text", "text", "text", "text"], "caption": "Round two"}
SELECT ([Nationality]) FROM data_table WHERE LOWER([NHL team]) = LOWER('montreal canadiens') AND LOWER([Pick #]) = LOWER('25')
wiki-sql
Canada
Which nationality do the Montreal Canadiens belong to with a pick# of 25?
script
{"header": ["No. in season", "No. in series", "Title", "Directed by", "Written by", "Original air date", "U.S. viewers (million)"], "rows": [[1, 105, "\"Ashes to Ashes\"", "Kevin Dowling", "James Stanley", "March 10, 2013", "2.38"], [2, 106, "\"From the Ashes\"", "Kevin Dowling", "Linda Gase", "March 17, 2013", "2.27"], [3, 107, "\"Blowback\"", "Chris Peppe", "Bill Rinier", "March 24, 2013", "2.45"], [4, 108, "\"Hearth and Home\"", "John T. Kretchmer", "Karen Maser", "March 31, 2013", "2.12"], [5, 109, "\"Disarmament\"", "Brian McNamara", "T.J. Brady & Rasheed Newson", "April 7, 2013", "2.60"], [6, 110, "\"Losing Battles\"", "James Bruce", "Marlana Hope", "April 14, 2013", "2.66"], [7, 111, "\"Brace for Impact\"", "John T. Kretchmer", "Rob Forman", "April 21, 2013", "2.58"], [8, 112, "\"Jackpot\"", "Christine Moore", "Lynelle White", "April 28, 2013", "2.76"], [9, 113, "\"Blood and Treasure\"", "Kelli Williams", "James Stanley", "May 5, 2013", "2.73"], [10, 114, "\"Reckoning\"", "Brian McNamara", "T.J. Brady & Rasheed Newson", "May 12, 2013", "2.31"], [11, 115, "\"Adjustment Period\"", "Debbie Allen", "Karen Maser", "May 19, 2013", "2.58"], [12, 116, "\"Damaged\"", "James Bruce", "Marlana Hope & Bill Rinier", "June 2, 2013", "2.84"]], "types": ["real", "real", "text", "text", "text", "text", "text"]}
SELECT ([U.S. viewers (million)]) FROM data_table WHERE LOWER([Original air date]) = LOWER('March 31, 2013')
wiki-sql
2.12
How many millions of U.S. viewers watched the episode that first aired on March 31, 2013?
script
{"header": ["Game", "Date", "Opponent", "Score", "Location Attendance", "Record"], "rows": [["44", "February 2", "at Denver Nuggets", "L 104-115", "McNichols Sports Arena 13,122", "30-14"], ["Game", "Date", "Opponent", "Score", "Location Attendance", "Record"], ["45", "February 4", "at Golden State Warriors", "W 107-85", "San Jose Arena 13,111", "31-14"], ["46", "February 5", "at Phoenix Suns", "L 81-99", "America West Arena 19,023", "31-15"], ["47", "February 12", "vs Toronto Raptors", "W 106-84", "Omni Coliseum 13,846", "32-15"], ["48", "February 14", "vs Chicago Bulls", "L 88-89", "Omni Coliseum 16,378", "32-16"], ["49", "February 15", "at San Antonio Spurs", "W 109-89", "Alamodome 26,809", "33-16"], ["50", "February 17", "at Houston Rockets", "L 98-127", "The Summit 16,285", "33-17"], ["51", "February 19", "vs Indiana Pacers", "W 100-87", "Omni Coliseum 16,378", "34-17"], ["52", "February 21", "vs Houston Rockets", "W 76-74", "Omni Coliseum 16,378", "35-17"], ["53", "February 22", "vs Charlotte Hornets", "L 92-93", "Omni Coliseum 16,378", "35-18"], ["54", "February 24", "vs Golden State Warriors", "W 106-100", "Omni Coliseum 15,660", "36-18"], ["55", "February 26", "at Milwaukee Bucks", "W 79-72", "Bradley Center 13,285", "37-18"], ["56", "February 28", "vs Los Angeles Lakers", "W 86-75", "Omni Coliseum 16,378", "38-18"]], "types": ["text", "text", "text", "text", "text", "text"], "caption": "Game log"}
SELECT ([Game]) FROM data_table WHERE LOWER([Record]) = LOWER('31-15')
wiki-sql
46
What was the game when the record was 31-15?
script
{"header": ["Year", "Chassis", "Engine(s)", "Tyres", "Points"], "rows": [["1976", "March 761", "Ford Cosworth DFV 3.0 V8", "G", " 1"], ["1977", "Ensign N177", "Ford Cosworth DFV 3.0 V8", "G", " 1"], ["1978", "Theodore TR1", "Ford Cosworth DFV 3.0 V8", "G", "0"], ["1978", "Wolf WR3 WR4", "Ford Cosworth DFV 3.0 V8", "G", " 1"], ["1981", "Theodore TY01", "Ford Cosworth DFV 3.0 V8", "M A", "1"], ["1982", "Theodore TY02 Theodore TY01", "Ford Cosworth DFV 3.0 V8", "A G", "0"], ["1983", "Theodore N183", "Ford Cosworth DFV 3.0 V8", "G", "1"]], "types": ["real", "text", "text", "text", "text"], "caption": "Complete Formula One results"}
SELECT ([Chassis]) FROM data_table WHERE LOWER([Tyres]) = LOWER('g') AND [Year] > 1976 AND LOWER([Points]) = LOWER('1')
wiki-sql
Theodore N183
Which of the Chassis has Tyres of g, is after 1976, and has 1 point?
script
{"header": ["Position", "Team", "Points", "Played", "Drawn", "Lost", "Against", "Difference"], "rows": [["1", "Vasco da Gama", "15", "9", "1", "1", "12", "14"], ["2", "Flamengo", "13", "9", "1", "2", "15", "9"], ["3", "Corinthians", "11", "9", "3", "2", "11", "3"], ["4", "So Paulo", "10", "9", "2", "3", "19", "9"], ["5", "Botafogo", "8", "9", "2", "4", "25", "- 4"], ["6", "Fluminense", "8", "9", "2", "4", "16", "- 6"], ["7", "Santos", "7", "9", "1", "5", "24", "0"], ["8", "Palmeiras", "6", "9", "0", "6", "28", "- 6"], ["9", "Amrica", "6", "9", "0", "6", "25", "- 10"], ["10", "Portuguesa", "6", "9", "2", "5", "22", "- 9"]], "types": ["real", "text", "real", "real", "real", "real", "real", "text"], "caption": "Torneio Rio-So Paulo"}
SELECT ([Played]) FROM data_table WHERE [Lost] > 2 AND LOWER([Team]) = LOWER('amrica')
wiki-sql
9.0
Which Played has a Lost larger than 2, and a Team of amrica?
script
{"header": ["Goal", "Date", "Venue", "Score", "Result", "Competition"], "rows": [["1.", "July 17, 1999", "Estadio Defensores del Chaco , Asuncin , Paraguay", "21", "21", "1999 Copa Amrica"], ["2.", "August 4, 1999", "Estadio Azteca , Mexico City , Mexico", "10", "43", "1999 FIFA Confederations Cup"], ["3.", "August 4, 1999", "Estadio Azteca, Mexico City, Mexico", "32", "43", "1999 FIFA Confederations Cup"], ["4.", "February 5, 2000", "Hong Kong Stadium , Wan Chai , Hong Kong", "10", "10", "2000 Carlsberg Cup"], ["5.", "February 8, 2000", "Hong Kong Stadium, Wan Chai, Hong Kong", "12", "12", "2000 Carlsberg Cup"], ["6.", "July 5, 2000", "Estadio Tecnolgico , Monterrey , Mexico", "11", "21", "Friendly"], ["7.", "July 16, 2000", "Estadio Rommel Fernndez , Panama City , Panama", "10", "10", "2002 FIFA World Cup qualification"], ["8.", "September 3, 2000", "Estadio Azteca, Mexico City, Mexico", "30", "71", "2002 FIFA World Cup qualification"]], "types": ["real", "text", "text", "text", "text", "text"], "caption": "International goals"}
SELECT ([Venue]) FROM data_table WHERE LOWER([Date]) = LOWER('july 17, 1999')
wiki-sql
Estadio Defensores del Chaco , Asuncin , Paraguay
Where was the match held on July 17, 1999?
script
{"header": ["Round", "Date", "Opponent", "Venue", "Attendance"], "rows": [["3", "24 November 2007", "Ayr United", "Firhill", "2,260"], ["4", "22 January 2008", "Dunfermline Athletic", "Firhill", "2,434"], ["5", "2 February 2008", "Livingston", "Almondvale", "2,110"], ["5(R)", "12 February 2008", "Livingston", "Firhill", "2,554"], ["QF", "19 March 2008", "Rangers", "Ibrox", "36,724"], ["QF(R)", "13 April 2008", "Rangers", "Firhill", "9,909"]], "types": ["text", "text", "text", "text", "real"], "caption": ""}
SELECT ([Date]) FROM data_table WHERE LOWER([Venue]) = LOWER('firhill') AND LOWER([Opponent]) = LOWER('ayr united')
wiki-sql
24 November 2007
What day was the game held at Firhill against AYR United?
script
{"header": ["Place", "Player", "Country", "Score", "To par"], "rows": [["1", "Tiger Woods", "United States", "66-67=133", "11"], ["2", "Colin Montgomerie", "Scotland", "71-66=137", "7"], ["T3", "Robert Allenby", "Australia", "70-68=138", "6"], ["T3", "Brad Faxon", "United States", "72-66=138", "6"], ["T3", "Trevor Immelman", "South Africa", "68-70=138", "6"], ["T3", "Peter Lonard", "Australia", "68-70=138", "6"], ["T3", "Jos Mara Olazbal", "Spain", "68-70=138", "6"], ["T3", "Vijay Singh", "Fiji", "69-69=138", "6"], ["T3", "Scott Verplank", "United States", "68-70=138", "6"], ["T10", "Bart Bryant", "United States", "69-70=139", "5"], ["T10", "Fred Couples", "United States", "68-71=139", "5"], ["T10", "Sergio Garca", "Spain", "70-69=139", "5"], ["T10", "Simon Khan", "England", "69-70=139", "5"], ["T10", "Bo Van Pelt", "United States", "72-67=139", "5"]], "types": ["text", "text", "text", "text", "text"], "caption": "Second round"}
SELECT ([Country]) FROM data_table WHERE LOWER([Score]) = LOWER('69-70=139') AND LOWER([Player]) = LOWER('bart bryant')
wiki-sql
United States
What country did Bart Bryant with a score of 69-70=139 belong to?
script
{"header": ["Date", "Home team", "Score", "Away team", "Venue", "Crowd", "Box Score", "Report"], "rows": [["12 November", "South Dragons", "97-82", "Adelaide 36ers", "Hisense Arena", "3,318", "box score", "report"], ["12 November", "Sydney Spirit", "115-93", "Gold Coast Blaze", "State Sports Centre", "1,430", "box score", "report"], ["12 November", "Cairns Taipans", "81-93", "New Zealand Breakers", "Cairns Convention Centre", "3,243", "box score", "report"], ["14 November", "Wollongong Hawks", "110-111", "Gold Coast Blaze", "WIN Entertainment Centre", "2,585", "box score", "report"], ["15 November", "Perth Wildcats", "86-78", "Cairns Taipans", "Challenge Stadium", "4,200", "box score", "report"], ["15 November", "Townsville Crocodiles", "108-119", "New Zealand Breakers", "Townsville Entertainment Centre", "4,152", "box score", "report"], ["16 November", "Gold Coast Blaze", "96-108", "Adelaide 36ers", "Gold Coast Convention Centre", "2,238", "box score", "report"]], "types": ["text", "text", "text", "text", "text", "real", "text", "text"], "caption": "Round 9"}
SELECT ([Date]) FROM data_table WHERE LOWER([Score]) = LOWER('115-93')
wiki-sql
12 November
what is the date when the score is 115-93?
script
{"header": ["State", "Membership", "Population", "% LDS", "Total Congregations"], "rows": [["American Samoa", "15,411", "54,947", "28.1%", "36"], ["Guam", "2,252", "185,674", "1.41%", "4"], ["Northern Mariana Islands", "753", "51,395", "1.47%", "1"], ["Puerto Rico", "20,940", "3,667,084", "0.56%", "41"], ["Virgin Islands (US)", "570", "105,275", "0.54%", "2"]], "types": ["text", "real", "real", "text", "real"], "caption": "Territories"}
SELECT ([Population]) FROM data_table WHERE [Total Congregations] < 4 AND LOWER([% LDS]) = LOWER('0.54%')
wiki-sql
105275.0
What is Population, when Total Congregations is less than 4, and when % LDS is 0.54%?
script
{"header": ["Outcome", "Date", "Tournament", "Surface", "Partner", "Opponent", "Score"], "rows": [["Runner-up", "23 January 2006", "Santiago", "Clay", "Felipe Parada", "Mximo Gonzlez Sergio Roitman", "46, 36"], ["Runner-up", "2 April 2007", "San Luis Potos", "Clay", "Pablo Gonzalez", "Jrmy Chardy Marcelo Melo", "06, 36"], ["Runner-up", "4 October 2010", "Buenos Aires", "Clay", "Federico Delbonis", "Carlos Berlocq Brian Dabul", "36, 26"], ["Runner-up", "30 May 2011", "Furth [ disambiguation needed ]", "Clay", "Julio Csar Campozano", "Rameez Junaid Frank Moser", "26, 76(2), 710"], ["Winner", "1 August 2011", "Trani", "Clay", "Andres Molteni", "Giulio Di Meo Stefano Ianni", "64, 64"], ["Winner", "15 April 2013", "Panama City", "Clay", "Sergio Galds", "Alejandro Gonzlez Julio Csar Campozano", "64, 64"]], "types": ["text", "text", "text", "text", "text", "text", "text"], "caption": "Doubles finals"}
SELECT ([Opponent]) FROM data_table WHERE LOWER([Outcome]) = LOWER('winner') AND LOWER([Partner]) = LOWER('andres molteni')
wiki-sql
Giulio Di Meo Stefano Ianni
In the match played with partner Andres Molteni, with the outcome of winner, who was the opponent?
script
{"header": ["Rank", "Couple", "Judges", "Public", "Total", "Vote percentage", "Result"], "rows": [[1, "Ray and Maria", 11, 9, 20, "16.179%", "Safe"], [2, "Coleen and Stuart", 7, 10, 17, "24.125%", "Safe"], [3, "Roxanne and Daniel", 8, 8, 16, "7.969%", "Safe"], [4, "Melinda and Fred", 9, 5, 14, "3.253%", "Safe"], [5, "Jessica and Pavel", 10, 4, 14, "2.249%", "Safe"], [6, "Todd and Susie", 1, 11, 12, "33.962%", "Safe"], [7, "Zoe and Matt", 5, 6, 11, "3.399%", "Safe"], [8, "Donal and Florentine", 2, 7, 9, "3.677%", "Safe"], [9, "Michael and Melanie", 7, 2, 9, "1.860%", "Safe"], [10, "Ellery and Frankie", 4, 3, 7, "2.111%", "Bottom two"]], "types": ["real", "text", "real", "real", "real", "text", "text"]}
SELECT ([Vote percentage]) FROM data_table WHERE LOWER([Couple]) = LOWER('Todd and Susie')
wiki-sql
33.962%
For couple Todd and Susie, what was the vote percentage?
script
{"header": ["Country", "Skip", "Third", "Second", "Lead"], "rows": [["Canada", "Charley Thomas", "Brock Virtue", "Matthew Ng", "Kyle Reynolds"], ["China", "Wang Binjiang", "Zang Jialiang", "Wang Zi", "Yang Tuo"], ["Czech Republic", "Jakub Bares", "Jiri Candra", "Martin Hejhal", "Martin tpnek"], ["Denmark", "Rasmus Stjerne", "Mikkel Krause", "Oliver Dupont", "Troels Harry"], ["Germany", "Daniel Neuner", "Florian Zahler", "Johannes Glaser", "Dominik Greindl"], ["Norway", "Stein Fredrik Mellemseter", "Steffen Mellemseter", "Kristian Rolvsfjord", "Markus Hiberg"], ["Scotland", "Logan Gray", "Alasdair Guthrie", "Glen Muirhead", "Gordon McDougall"], ["Sweden", "Niklas Edin", "Marcus Hasselborg", "Emanuel Allberg", "Fredrik Lindberg"], ["Switzerland", "Christian von Gunten", "Sven Michel", "Sandro Trolliet", "Michel Gribi"], ["United States", "Chris Plys", "Aanders Brorson", "Matthew Perushek", "Joel Cooper"]], "types": ["text", "text", "text", "text", "text"], "caption": "Teams"}
SELECT ([Skip]) FROM data_table WHERE LOWER([Lead]) = LOWER('dominik greindl')
wiki-sql
Daniel Neuner
Who has the role of skip when the lead is Dominik Greindl?
script
{"header": ["District", "Location", "Representative", "Cook PVI", "2012 election results", "Median household income (2011)"], "rows": [["2nd", "Marin County and the North Coast", "Jared Huffman", "D+20", "69.0%27.0% Obama", "$56,576"], ["3rd", "Fairfield , Vacaville , and the Sacramento Valley", "John Garamendi", "D+3", "54.3%43.1% Obama", "$53,602"], ["5th", "Santa Rosa , Napa County , Vallejo , and Martinez", "Mike Thompson", "D+19", "69.7%27.4% Obama", "$58,942"], ["9th", "Antioch and most of San Joaquin County", "Jerry McNerney", "D+6", "57.8%40.1% Obama", "$52,209"], ["11th", "Most of Contra Costa County", "George Miller", "D+17", "67.5%29.9% Obama", "$69,586"], ["12th", "Most of San Francisco", "Nancy Pelosi", "D+34", "84.0%12.5% Obama", "$69,046"], ["13th", "Berkeley , Oakland , and San Leandro", "Barbara Lee", "D+37", "87.5%9.0% Obama", "$56,906"], ["14th", "Most of San Mateo County", "Jackie Speier", "D+23", "74.2%23.6% Obama", "$79,287"], ["15th", "Hayward , Union City , and the Tri-Valley", "Eric Swalwell", "D+16", "68.0%29.8% Obama", "$82,179"], ["17th", "Fremont and northern Silicon Valley", "Mike Honda", "D+20", "71.9%25.5% Obama", "$92,030"], ["18th", "Menlo Park and western Silicon Valley", "Anna Eshoo", "D+18", "68.2%28.9% Obama", "$97,001"], ["19th", "San Jose and Morgan Hill", "Zoe Lofgren", "D+19", "71.2%26.5% Obama", "$71,479"]], "types": ["text", "text", "text", "text", "text", "text"], "caption": "Politics"}
SELECT COUNT([Location]) FROM data_table WHERE LOWER([Median household income (2011)]) = LOWER('$71,479')
wiki-sql
1
How many locations have a median household income in 2011 of $71,479?
script
{"header": ["Surname", "First", "D.O.B.", "Uni#", "Bats", "Throws", "Position"], "rows": [["KLEIDON", "Brendan", "13/08/80", "3", "R", "R", "INF"], ["NILSSON", "Jay", "1/11/87", "8", "R", "R", "INF"], ["VEITCH", "John", "23/01/78", "9", "R", "R", "RHP"], ["LOETZSCH", "Tristan", "24/07/86", "11", "R", "R", "RHP"], ["ROOKE", "Jacob", "19/09/88", "15", "R", "R", "UTL"], ["SCHEONBERGER", "Alan", "19/01/89", "16", "S", "R", "Inf/Out"], ["RONEBERG", "Brett", "5/02/79", "19", "L", "L", "1B/OF"], ["UTTING", "Andrew", "9/09/77", "20", "S", "R", "UTL"], ["CRAWFORD", "Tristan", "22/07/82", "21", "R", "R", "RHP"], ["NAYLOR", "Drew", "31/05/86", "24", "R", "R", "RHP"], ["NAUGHTON", "Joel", "27/08/86", "25", "L", "R", "C/3B"], ["DUTTON", "Brad", "11/05/82", "28", "R", "R", "INF"], ["COCO", "Matthew", "10/02/83", "33", "R", "R", "UTL"], ["MOWDAY", "Chris", "24/08/81", "34", "R", "R", "RHP"], ["ALBURY", "James", "1/04/86", "37", "R", "R", "RHP"], ["STOCKMAN", "Phil", "25/01/80", "39", "R", "R", "RHP"], ["BEVIS", "PJ", "28/07/80", "40", "R", "R", "RHP"], ["SUTHERLAND", "David", "2/05/85", "43", "L", "L", "1B/OF"], ["BATES", "Matthew", "17/10/84", "44", "R", "R", "RHP"], ["OUGH", "Wayne", "27/11/78", "48", "R", "R", "RHP"], ["ROBERTS", "Josh", "17/07/86", "52", "L", "R", "C/OF"]], "types": ["text", "text", "text", "real", "text", "text", "text"], "caption": "Player Roster"}
SELECT ([Uni#]) FROM data_table WHERE LOWER([Surname]) = LOWER('ough')
wiki-sql
48.0
Which Uni # has a Surname of ough?
script
{"header": ["Candidate", "Background", "Original Team", "Age", "Hometown", "Result"], "rows": [["Kendra Todd", "Real Estate Broker", "Magna", 25, "Boynton Beach, Florida", "Hired by Trump (5-19-2005)"], ["Tana Goertz", "Sales Executive", "Net Worth", 37, "Des Moines, Iowa", "Fired in the Season Finale (5-19-2005)"], ["Craig Williams", "Shoeshine Business Owner", "Net Worth", 37, "Conley, Georgia", "10 Fired in week 15 (5-5-2005)"], ["Alex Thomason", "Attorney", "Magna", 29, "Brewster, Washington", "10 Fired in week 14 (4-28-2005)"], ["Bren Olswanger", "Prosecutor", "Magna", 32, "Memphis, Tennessee", "10 Fired in week 13 (4-21-2005)"], ["Chris Shelton", "Real Estate Investor", "Net Worth", 21, "Las Vegas, Nevada", "10 Fired in week 12 (4-14-2005)"], ["Angie McKnight", "Gym Franchise Owner", "Net Worth", 41, "Lake Balboa, California", "10 Fired in week 11 (4-7-2005)"], ["Stephanie Myers", "Supply Chain Consultant", "Magna", 29, "San Diego, California", "10 Fired in week 10 (3-31-2005)"], ["Erin Elmore", "Attorney", "Magna", 26, "Philadelphia, Pennsylvania", "10 Fired in week 9 (3-24-2005)"], ["John Gafford", "Technology Firm Owner", "Net Worth", 32, "Tampa, Florida", "10 Fired in week 8 (3-10-2005)"], ["Audrey Evans", "Real Estate Agent", "Net Worth", 22, "Salt Lake City, Utah", "10 Fired in week 7 (3-3-2005)"], ["Tara Dowdell", "Senior Governor Manager", "Net Worth", 28, "New York, New York", "10 Fired in week 6 (2-24-2005)"], ["Michael Tarshi", "Real Estate Developer", "Magna", 25, "Boston, Massachusetts", "10 Fired in week 5 (2-17-2005)"], ["Kristen Kirchner", "Real Estate Financier", "Net Worth", 31, "Los Angeles, California", "10 Fired in week 4 (2-10-2005)"], ["Danny Kastner", "Marketing Technology Firm Owner", "Magna", 39, "Boston, Massachusetts", "10 Fired in week 3 (2-3-2005)"], ["Verna Felton", "Business Manager", "Magna", 31, "Seattle, Washington", "10 Quit in week 3 (2-3-2005)"], ["Brian McDowell", "Real Estate Broker", "Net Worth", 29, "Wildwood, New Jersey", "10 Fired in week 2 (1-27-2005)"]], "types": ["text", "text", "text", "real", "text", "text"], "caption": "Candidates"}
SELECT COUNT([Background]) FROM data_table WHERE LOWER([Hometown]) = LOWER('Memphis, Tennessee')
wiki-sql
1
How many backgrounds are there represented from Memphis, Tennessee?
script
{"header": ["Home team", "Home team score", "Away team", "Away team score", "Venue", "Crowd", "Date"], "rows": [["Melbourne", "9.15 (69)", "South Melbourne", "14.10 (94)", "MCG", "13,765", "31 May 1969"], ["Footscray", "8.13 (61)", "Richmond", "7.8 (50)", "Western Oval", "8,529", "31 May 1969"], ["Collingwood", "17.16 (118)", "North Melbourne", "9.4 (58)", "Victoria Park", "21,154", "31 May 1969"], ["Carlton", "15.13 (103)", "Essendon", "6.9 (45)", "Princes Park", "16,930", "31 May 1969"], ["St Kilda", "14.11 (95)", "Hawthorn", "7.7 (49)", "Moorabbin Oval", "15,186", "31 May 1969"], ["Geelong", "15.17 (107)", "Fitzroy", "6.9 (45)", "Kardinia Park", "8,923", "31 May 1969"]], "types": ["text", "text", "text", "text", "text", "real", "text"], "caption": "Round 9"}
SELECT ([Away team]) FROM data_table WHERE LOWER([Home team score]) = LOWER('15.17 (107)')
wiki-sql
Fitzroy
In the game where the home team scored 15.17 (107), who was the away team?
script
{"header": ["No. in series", "No. in season", "Title", "Directed by", "Written by", "Original air date", "U.S. viewers (million)"], "rows": [[24, 1, "\"Taking Control\"", "Flix Alcal", "Robert King & Michelle King", "September28,2010", "12.84"], [25, 2, "\"Double Jeopardy\"", "Dean Parisot", "Ted Humphrey", "October5,2010", "12.76"], [26, 3, "\"Breaking Fast\"", "James Whitmore, Jr.", "Corinne Brinkerhoff", "October12,2010", "11.82"], [27, 4, "\"Cleaning House\"", "Rosemary Rodriguez", "Robert King & Michelle King", "October19,2010", "12.17"], [28, 5, "\"VIP Treatment\"", "Michael Zinberg", "Robert King & Michelle King", "October26,2010", "12.59"], [29, 6, "\"Poisoned Pill\"", "Peter O'Fallon", "Keith Eisner", "November9,2010", "12.33"], [30, 7, "\"Bad Girls\"", "Jim McKay", "Courtney Kemp Agboh", "November16,2010", "11.74"], [31, 8, "\"On Tap\"", "Roxann Dawson", "Leonard Dick", "November23,2010", "10.03"], [32, 9, "\"Nine Hours\"", "Julie Hbert", "Meredith Averill", "December14,2010", "11.84"], [33, 10, "\"Breaking Up\"", "Flix Alcal", "Robert King & Michelle King", "January11,2011", "12.29"], [34, 11, "\"Two Courts\"", "Tom DiCillo", "Ted Humphrey", "January18,2011", "11.43"], [35, 12, "\"Silly Season\"", "Rosemary Rodriguez", "Corinne Brinkerhoff", "February1,2011", "12.14"], [40, 17, "\"Ham Sandwich\"", "Griffin Dunne", "Keith Eisner", "March22,2011", "11.70"], [41, 18, "\"Killer Song\"", "James Whitmore, Jr.", "Karen Hall", "March29,2011", "10.16"], [42, 19, "\"Wrongful Termination\"", "Phil Abraham", "Ted Humphrey", "April5,2011", "10.82"]], "types": ["real", "real", "text", "text", "text", "text", "text"]}
SELECT ([U.S. viewers (million)]) FROM data_table WHERE LOWER([Title]) = LOWER('"Bad Girls"')
wiki-sql
11.74
How many people watched the episode "bad girls"?
script
{"header": ["Margin", "Score", "Opponent", "Venue", "Round"], "rows": [["65", "6-71", "Brisbane Broncos", "Suncorp Stadium", "Rd 11, 2007"], ["50", "0-50", "Parramatta Eels", "EnergyAustralia Stadium", "Rd 14, 2005"], ["50", "14-64", "Cronulla-Sutherland Sharks", "Toyota Park", "Rd 22, 2002"], ["46", "6-52", "Melbourne Storm", "Olympic Park", "Rd 7, 2006"], ["46", "6-52", "Bulldogs", "Telstra Stadium", "Rd 25, 2004"], ["46", "2-48", "St. George Illawarra Dragons", "WIN Stadium", "Rd 4, 2004"], ["44", "0-44", "Melbourne Storm", "Olympic Park", "Rd 18, 2007"], ["44", "6-50", "Brisbane Broncos", "Sydney Football Stadium", "Finals Week 2, 2006"], ["44", "4-48", "Sydney Roosters", "Sydney Football Stadium", "Rd 15, 2004"], ["42", "10-52", "New Zealand Warriors", "Mt Smart Stadium", "Rd 20, 2007"], ["42", "0-42", "Auckland Warriors", "Mt Smart Stadium", "Rd 25, 1999"]], "types": ["real", "text", "text", "text", "text"], "caption": "Biggest Losses"}
SELECT ([Venue]) FROM data_table WHERE LOWER([Opponent]) = LOWER('melbourne storm') AND LOWER([Round]) = LOWER('rd 7, 2006')
wiki-sql
Olympic Park
What venue did Melbourne Storm played in Rd 7, 2006?
script
{"header": ["Season", "Level", "Division", "Section", "Position"], "rows": [["1932-33", "Tier 3", "Division 3", "Vstsvenska", "7th"], ["1933-34", "Tier 3", "Division 3", "Vstsvenska", "6th"], ["1934-35", "Tier 3", "Division 3", "Vstsvenska Norra", "7th"], ["1935-36", "Tier 3", "Division 3", "Vstsvenska Norra", "6th"], ["1936-37", "Tier 3", "Division 3", "Vstsvenska Norra", "7th"], ["1937-38", "Tier 3", "Division 3", "Vstsvenska Norra", "6th"], ["1938-39", "Tier 3", "Division 3", "Vstsvenska Norra", "7th"], ["1939-40", "Tier 3", "Division 3", "Vstsvenska Norra", "9th"], ["1940-41", "Tier 3", "Division 3", "Vstsvenska Sdra", "3rd"], ["1941-42", "Tier 3", "Division 3", "Vstsvenska Sdra, Bohus", "2nd"], ["1942-43", "Tier 3", "Division 3", "Vstsvenska Sdra, Bohus", "1st"], ["1943-44", "Tier 2", "Division 2", "Vstra", "9th"], ["1944-45", "Tier 3", "Division 3", "Vstsvenska Sdra, Bohus", "1st"], ["1945-46", "Tier 3", "Division 3", "Vstsvenska Sdra, Bohus", "4th"], ["1946-47", "Tier 3", "Division 3", "Vstsvenska Sdra", "8th"]], "types": ["text", "text", "text", "text", "text"], "caption": "Season to season"}
SELECT ([Section]) FROM data_table WHERE LOWER([Level]) = LOWER('tier 3') AND LOWER([Position]) = LOWER('6th') AND LOWER([Season]) = LOWER('1937-38')
wiki-sql
Vstsvenska Norra
Which section has a level of Tier 3, is in the 6th position, and is in the 1937-38 season?
script
{"header": ["Round", "Pick", "Player", "Position", "Nationality", "School/Club Team"], "rows": [["1", "2", "Sam Bowie", "F/C", "United States", "Kentucky"], ["1", "19", "Bernard Thompson", "G/F", "United States", "Fresno State"], ["2", "26", "Victor Fleming", "G", "United States", "Xavier"], ["2", "33", "Steve Colter", "G", "United States", "New Mexico"], ["2", "46", "Jerome Kersey", "F", "United States", "Longwood"]], "types": ["real", "real", "text", "text", "text", "text"], "caption": "NBA Draft"}
SELECT MAX([Pick]) FROM data_table WHERE LOWER([Position]) = LOWER('g/f')
wiki-sql
19.0
What is the highest Pick, when Position is "G/F"?
script
{"header": ["Call sign", "Frequency MHz", "City of license", "ERP W", "Class", "FCC info"], "rows": [["W266AH", "101.1", "Athens, Georgia", "10", "D", "FCC"], ["W242BN", "96.3", "Commerce, Georgia", "38", "D", "FCC"], ["W299AT", "107.7", "Cornelia, Georgia", "10", "D", "FCC"], ["W262AL", "100.3", "Gainesville, Georgia", "13", "D", "FCC"], ["W220CK", "91.9", "Toccoa, Georgia", "10", "D", "FCC"], ["W238BO", "95.5", "Black Mountain, North Carolina", "10", "D", "FCC"], ["W215AZ", "90.9", "Boone, North Carolina", "10", "D", "FCC"], ["W279AI", "103.7", "Hendersonville, North Carolina", "10", "D", "FCC"], ["W224BN", "92.7", "Hickory, North Carolina", "38", "D", "FCC"], ["W243BX", "96.5", "Valdese, North Carolina", "2", "D", "FCC"], ["W231AR", "94.1", "Weaverville, North Carolina", "10", "D", "FCC"]], "types": ["text", "real", "text", "real", "text", "text"], "caption": "Translators"}
SELECT AVG([Frequency MHz]) FROM data_table WHERE LOWER([Call sign]) = LOWER('w224bn')
wiki-sql
92.7
What is the Frequency MHz for the station with a call sign of w224bn?
script
{"header": ["Week 1", "Week 2", "Week 3", "Week 4", "Week 5"], "rows": [["Mackenzie Ryan", "Kelli Peters", "Meagan Radelat", "Kimberly Holland *", "[Month Ended]"], ["Rochelle Loewen*", "Rebecca Roozrokh", "Andrea Marin", "J'Tia Taylor", "[Month Ended]"], ["Jenny Gable", "Claudia Costa", "Crystal Lee", "Meagan Rose Campbell", "Natalie Taylor*"], ["Carrie Ann Beckett", "Amy Sue Cooper **", "Amanda Renae", "Summer Ehly", "[Month Ended]"], ["Masha Christensen", "Tiffany Logan", "Cynthia Lea", "Hollie Winnard*", "Elizabeth Primeaux"], ["Mandy Ashford", "Tiffani Hollowell", "Jessica Kramer", "Danielle Gamba *", "[Month Ended]"], ["Sheila Levell", "Tanya Sue", "Paula LaRocca*", "Araya Robinson", "[Month Ended]"], ["Marie Thompson", "Misty Dawn", "Amy Robinson", "Alexis Tyler", "Kate Marie*"], ["Brandy Canada", "Christina Carson", "Vivian Le Brock", "Amy McCarthy *", "[Month Ended]"], ["Julia Marie", "Jeniffer Silva", "Brenda Jones", "Carrie Minter*", "[Month Ended]"], ["Yumi Lee", "Nicole Kelley*", "Trista Ashley", "Christina Linehan", "Alex Chanler"], ["Tonya Cooley", "Vicki, Sarah & Rachel Satterfield", "Simone Linsell", "Yen Hoang*", "[Month Ended]"]], "types": ["text", "text", "text", "text", "text"], "caption": "2004"}
SELECT ([Week 2]) FROM data_table WHERE LOWER([Week 4]) = LOWER('araya robinson')
wiki-sql
Tanya Sue
What kind of Week 2 has a Week 4 of araya robinson?
script
{"header": ["District", "Incumbent", "Party", "First elected", "Result", "Candidates"], "rows": [["New York2", "Thomas Downey", "Democratic", 1974, "Lost reelection Republican gain", "Rick Lazio (R) 50.8% Thomas Downey (D) 49.2%"], ["New York3", "Robert J. Mrazek", "Democratic", 1982, "Retired to run for the U.S. Senate Republican gain", "Peter T. King (R) 49.6% Steve Orlins (D) 46.5%"], ["New York4", "Norman F. Lent", "Republican", 1970, "Retired Republican hold", "David A. Levy (R) 50.4% Philip Schiliro (D) 49.6%"], ["New York5", "Raymond J. McGrath", "Republican", 1980, "Retired", "Gary Ackerman (D) 56.1% Allan E. Binder (R) 43.9%"], ["New York5", "Gary Ackerman Redistricted from the 7th district", "Democratic", 1982, "Re-elected", "Gary Ackerman (D) 56.1% Allan E. Binder (R) 43.9%"], ["New York8", "Jerrold Nadler Redistricted from the 17th district", "Democratic", 1986, "Re-elected", "Jerrold Nadler (D) 83.8% David L. Askren (R) 16.2%"], ["New York10", "Edolphus Towns Redistricted from the 11th district", "Democratic", 1982, "Re-elected", "Edolphus Towns (D) 95.6 Owen Augustin (C) 4.4%"], ["New York11", "Major R. Owens Redistricted from the 12th district", "Democratic", 1982, "Re-elected", "Major R. Owens (D) 94.7% Michael Gaffney (C) 5.3%"], ["New York13", "Susan Molinari Redistricted from the 14th district", "Republican", 1990, "Re-elected", "Susan Molinari (R) 57.3% Sal F. Albanese (D) 42.7%"], ["New York17", "Eliot L. Engel Redistricted from the 19th district", "Democratic", 1988, "Re-elected", "Eliot L. Engel (D) 85.2% Martin Richman (R) 14.8%"], ["New York25", "James T. Walsh Redistricted from the 27th district", "Republican", 1988, "Re-elected", "James T. Walsh (R) 54.0% Rhea Jezer (D) 46.0%"], ["New York26", "David O'Brien Martin", "Republican", 1980, "Retired Democratic gain", "Maurice Hinchey (D) 53.4% Bob Moppert (R) 46.6%"]], "types": ["text", "text", "text", "real", "text", "text"]}
SELECT COUNT([Candidates]) FROM data_table WHERE LOWER([Party]) = LOWER('Democratic') AND LOWER([District]) = LOWER('New York5')
wiki-sql
1
how manycandidateswithpartybeing democratic anddbeingtrictbeing new york5
script
{"header": ["Game", "Date", "Opponent", "Result", "Vikings points", "Opponents", "Record", "Attendance"], "rows": [[1, "Sept. 15", "at Green Bay Packers", "Win", 32, 17, "1-0", 56267], [2, "Sept. 22", "at Detroit Lions", "Win", 7, 6, "2-0", 49703], [3, "Sept. 29", "Chicago Bears", "Win", 11, 7, "3-0", 46217], [4, "Oct. 6", "at Dallas Cowboys", "Win", 23, 21, "4-0", 57847], [5, "Oct. 13", "Houston Oilers", "Win", 51, 10, "5-0", 48006], [6, "Oct. 20", "Detroit Lions", "Loss", 16, 20, "5-1", 47807], [7, "Oct. 27", "New England Patriots", "Loss", 14, 17, "5-2", 48177], [8, "Nov. 3", "at Chicago Bears", "Win", 17, 0, "6-2", 33343], [9, "Nov. 11", "at St. Louis Cardinals", "Win", 28, 24, "7-2", 50183], [10, "Nov. 17", "Green Bay Packers", "Loss", 7, 19, "7-3", 47924], [11, "Nov. 24", "at Los Angeles Rams", "Loss", 17, 20, "7-4", 90266], [12, "Dec. 1", "New Orleans Saints", "Win", 29, 9, "8-4", 44202], [13, "Dec. 7", "Atlanta Falcons", "Win", 23, 10, "9-4", 47105]], "types": ["real", "text", "text", "text", "real", "real", "text", "real"], "caption": "Schedule"}
SELECT ([Record]) FROM data_table WHERE [Game] = 8
wiki-sql
6-2
The game number of 8 had a record of what?
script
{"header": ["Nominative", "Ergative", "Dative", "Genitive", "Instrumental", "Adverbial"], "rows": [["me", "me", "me", "chem(s)", "chemit", "chemad"], ["shen", "shen", "shen", "shen(s)", "shenit", "shenad"], ["is", "(i)man", "(i)mas", "(i)mis", "(i)mit", "imad"], ["chven", "chven", "chven", "chven(s)", "chvenit", "chvenad"], ["tkven", "tkven", "tkven", "tkven(s)", "tkvenit", "tkvenad"], ["isini", "(i)mat", "(i)mat", "(i)mat", "(i)mat", "(i)mat"]], "types": ["text", "text", "text", "text", "text", "text"], "caption": "Pronouns"}
SELECT ([Genitive]) FROM data_table WHERE LOWER([Ergative]) = LOWER('shen')
wiki-sql
shen(s)
What is the genitive for the ergative shen?
script
{"header": ["Home team", "Home team score", "Away team", "Away team score", "Ground", "Crowd", "Date", "Time"], "rows": [["Fremantle", "7.8 (50)", "Hawthorn", "14.12 (96)", "Subiaco Oval", 12088, "Thursday 11 February 1999", "6:00 PM"], ["Brisbane Lions", "12.15 (87)", "Carlton", "4.4 (28)", "The Gabba", 16318, "Friday, 12 February 1999", "7:00 PM"], ["Sydney", "12.13 (85)", "Collingwood", "11.8 (74)", "Manuka Oval", 13313, "Saturday, 13 February 1999", "5:00 PM"], ["Essendon", "14.8 (92)", "Western Bulldogs", "18.12 (120)", "Marrara Oval", 14211, "Saturday, 13 February 1999", "6:00 PM"], ["Richmond", "8.15 (63)", "West Coast", "6.10 (46)", "Waverley Park", 11325, "Thursday, 18 February 1999", "8:00 PM"], ["Adelaide", "8.9 (57)", "Port Adelaide", "13.15 (93)", "Football Park", 40577, "Friday 19 February 1999", "8:00 PM"], ["Geelong", "9.7 (61)", "Kangaroos", "20.14 (134)", "Waverley Park", 13514, "Saturday, 20 February 1999", "8:00 PM"]], "types": ["text", "text", "text", "text", "text", "real", "text", "text"], "caption": "Round of 16"}
SELECT COUNT([Crowd]) FROM data_table WHERE LOWER([Home team score]) = LOWER('7.8 (50)')
wiki-sql
1
How many crowd sizes were recorded at the game when the home team scored 7.8 (50)?
script
{"header": ["Name", "Position", "Period", "Appearances", "Goals", "Nationality"], "rows": [["David N'Gog", "Forward", "2006 2008", 25, 3, "France"], ["Michel N'Gom", "Attaquant", "1981 1984", 90, 26, "France"], ["Bruno N'Gotty", "Defender", "1995 1998", 112, 10, "France"], ["Granddi Ngoyi", "Midfielder", "2007 - 2011", 35, 0, "Democratic Republic of the Congo"], ["Nen", "Midfielder", "2010 - 2013", 112, 58, "Brazil"], ["Richard Niederbacher", "Forward", "1984 1985", 22, 7, "Austria"], ["William N'Jo La", "Forward", "1984 1985", 18, 4, "France"], ["Guy Nosibor", "Forward", "1973 1977, 1978 1979", 42, 6, "France"], ["Pascal Nouma", "Forward", "1989 1992, 1994 1996", 95, 14, "France"], ["Jacky Novi", "Defender", "1974 1977", 122, 2, "France"]], "types": ["text", "text", "text", "real", "real", "text"], "caption": "N"}
SELECT ([Period]) FROM data_table WHERE LOWER([Position]) = LOWER('Attaquant')
wiki-sql
1981 1984
List the number of active years for attaquant.
script
{"header": ["Japanese Title", "Romaji Title", "TV Station", "Theme Song(s)", "Episodes", "Average Ratings"], "rows": [["", "Koi ni Ochitara ~Boku no Seikou no Himitsu~", "Fuji TV", "Crystal Kay \"\" (Koi ni Ochitara)", "11", "16.3%"], ["II", "Rikon Bengoshi II ~Handsome Woman~", "Fuji TV", "Hoshimura Mai \"EVERY\"", "11", "13.2%"], ["", "ENGINE", "Fuji TV", "Jimmy Cliff \"I Can See Clearly Now\"", "11", "22.4%"], ["", "Magarikado no Kanojo", "Fuji TV", "shela \"Dear my friends\"", "11", "14.5%"], ["", "Yume de Aimashou", "TBS", "Yumi Matsutouya \"\" (Tsuiteyuku wa)", "11", "11.6%"], ["", "Kegareta Shita", "TBS", "dorlis \"\" (Hada no Sukima)", "11", "10.0%"], ["", "Ai Kurushii", "TBS", "Michael Jackson \" Ben \"", "11", "11.6%"], ["&", "Tiger & Dragon", "TBS", "V6 \"UTAO-UTAO\"", "11", "12.8%"], ["", "Ame to Yume no Ato ni", "TV Asahi", "Miwako Okuda \"\" (Ame to Yume no Ato ni)", "10", "9.8%"], ["No.1", "Attack No.1", "TV Asahi", "Aya Ueto \"\" (Yume no Chikara)", "11", "13.1%"], ["", "Ruri no Shima", "NTV", "Kobukuro \"\" (Koko ni Shika Sakanai Hana)", "10", "12.6%"]], "types": ["text", "text", "text", "text", "real", "text"], "caption": "2005 Spring Season"}
SELECT ([TV Station]) FROM data_table WHERE LOWER([Romaji Title]) = LOWER('kegareta shita')
wiki-sql
TBS
Which TV Station has a Romaji Title of kegareta shita?
script
{"header": ["Name", "Pennant number", "Ordered", "Builder", "Commissioned"], "rows": [["Redoutable", "Q136", "1924", "Arsenal de Cherbourg", "24 February 1928"], ["Vengeur", "Q137", "1924", "Arsenal de Cherbourg", "1 September 1928"], ["Archimde", "Q142", "1925", "CNF , Caen", "6 September 1930"], ["Fresnel", "Q143", "1925", "AC St Nazaire-Penhoet", "8 June 1929"], ["Henri Poincar", "Q140", "1925", "Arsenal de Lorient", "10 April 1929"], ["Monge", "Q144", "1925", "FC Mediterranee , La Seyne", "25 June 1929"], ["Pascal", "Q138", "1925", "Arsenal de Brest", "19 July 1928"], ["Pasteur", "Q139", "1925", "Arsenal de Brest", "19 July 1928"], ["Poncelet", "Q141", "1925", "Arsenal de Lorient", "10 April 1929"], ["Achille", "Q147", "1926", "Arsenal de Brest", "28 May 1930"], ["Ajax", "Q148", "1926", "Arsenal de Brest", "28 May 1930"], ["Acton", "Q149", "1926", "AC Loire , Nantes", "10 April 1929"], ["Achron", "Q150", "1926", "AC Loire, Nantes", "6 August 1929"], ["Argo", "Q151", "1926", "AC Dubigeon , Nantes", "11 April 1929"], ["Prote", "Q155", "1927", "FC Med. La Seyne", "31 July 1930"], ["Pgase", "Q156", "1927", "AC Loire, Nantes", "28 July 1930"], ["Perse", "Q154", "1927", "CNF", "23 May 1931"], ["Phnix", "Q157", "1927", "AC Dubigeon", "12 April 1930"], ["Promthe", "Q153", "1927", "Arsenal de Cherbourg", "1930"]], "types": ["text", "text", "real", "text", "text"], "caption": "First series"}
SELECT ([Commissioned]) FROM data_table WHERE LOWER([Pennant number]) = LOWER('q144')
wiki-sql
25 June 1929
On what date was the ship with a Pennant number of Q144 commissioned?
script
{"header": ["No. in series", "Title", "Directed by", "Written by", "Original air date", "Production code", "U.S. viewers (millions)"], "rows": [[1, "\" Pilot \"", "Jace Alexander", "Matt Nix", "June28,2007", "BN100", "4.0"], [2, "\" Identity \"", "Rod Hardy", "Matt Nix", "July5,2007", "BN101", "4.0"], [3, "\"Fight or Flight\"", "Colin Bucksey", "Craig O'Neill & Jason Tracey", "July12,2007", "BN103", "N/A"], [4, "\"Old Friends\"", "David Solomon", "Alfredo Barrios, Jr.", "July19,2007", "BN102", "N/A"], [5, "\"Family Business\"", "Sandy Bookstaver", "Matt Nix", "July26,2007", "BN104", "N/A"], [6, "\"Unpaid Debts\"", "Paul Holahan", "Nick Thiel", "August2,2007", "BN105", "4.41"], [7, "\"Broken Rules\"", "Tim Matheson", "Mere Smith", "August9,2007", "BN106", "N/A"], [8, "\"Wanted Man\"", "Ken Girotti", "Craig O'Neill & Jason Tracey", "August16,2007", "BN107", "N/A"], [9, "\"Hard Bargain\"", "John Kretchmer", "Alfredo Barrios, Jr.", "August23,2007", "BN108", "4.08"], [10, "\"False Flag\"", "Paul Shapiro", "Matt Nix & Ben Watkins", "September13,2007", "BN109", "4.0"], [11, "\"Dead Drop\"", "Jeremiah Chechik", "Craig O'Neill & Jason Tracey", "September20,2007", "BN110", "4.8"]], "types": ["real", "text", "text", "text", "text", "text", "text"]}
SELECT ([Original air date]) FROM data_table WHERE LOWER([U.S. viewers (millions)]) = LOWER('4.08')
wiki-sql
August23,2007
What was the original air date of the episode that had 4.08 million U.S. viewers?
script
{"header": ["Round", "Pick", "Overall", "Name", "Position", "College"], "rows": [["1", "1", "1", "Harry Gilmer", "QB", "Alabama"], ["1", "4", "4", "Lowell Tew", "FB", "Alabama"], ["3", "3", "16", "Tommy Thompson", "LB", "William & Mary"], ["5", "3", "28", "Dan Sandifer", "DB", "Louisiana State"], ["6", "3", "38", "Jack Weisenberger", "RB", "Michigan"], ["7", "3", "48", "Jack Kurkowski", "RB", "Detroit Mercy [e ]"], ["8", "3", "58", "Jerry Cady", "OT", "Gustavus Adolphus"], ["9", "3", "68", "Bob Anderson", "RB", "Stanford"], ["10", "3", "78", "Mike Katrishen", "G", "Southern Mississippi"], ["11", "3", "88", "Ed Marshall", "OT", "Pennsylvania"], ["12", "3", "98", "Ted Andrus", "G", "Southwestern Louisiana [s ]"], ["13", "3", "108", "Carl Suss", "RB", "Rice"], ["14", "3", "118", "Chick Jagade", "FB", "Indiana"], ["15", "3", "128", "Ed Quirk", "FB", "Missouri"], ["16", "3", "138", "Art Pollard", "RB", "Arizona"], ["17", "3", "148", "Chuck Newman", "E", "Louisiana Tech"], ["17", "6", "151", "Dale Schwartzkoph", "E", "Texas Tech"], ["18", "3", "158", "Ray Pearcy", "C", "Oklahoma"], ["19", "3", "168", "Gene Vellela", "OT", "Scranton [i ]"], ["20", "3", "178", "Cloyce Box", "E", "West Texas State [v ]"], ["21", "3", "188", "Bryan Bell", "RB", "Washington & Lee"], ["22", "3", "198", "Joel Williams", "C", "Texas"], ["23", "3", "208", "Lou Holtsma", "E", "William & Mary"], ["24", "3", "218", "Floyd Lawhorn", "G", "Texas Tech"], ["25", "3", "228", "Dick West", "RB", "Princeton"], ["26", "3", "238", "Roland Oakes", "E", "Missouri"], ["27", "3", "248", "Ed Watkins", "OT", "Idaho"], ["28", "3", "258", "Don Corbitt", "C", "Arizona"], ["29", "3", "268", "Buddy Bowen", "RB", "Mississippi"], ["30", "3", "278", "Vic Paulson", "E", "California-Santa Barbara [l ]"], ["31", "1", "286", "Barney Welch", "RB", "Texas A&M"]], "types": ["real", "real", "real", "text", "text", "text"], "caption": ""}
SELECT AVG([Overall]) FROM data_table WHERE LOWER([College]) = LOWER('stanford')
wiki-sql
68.0
What is stanford's average overall?
script
{"header": ["Name", "Discovered", "Museum", "Museum city", "Discoverer", "Formation", "Location"], "rows": [["Wankel", "1988", "Museum of the Rockies", "Bozeman, MT", "Kathy Wankel", "Hell Creek Formation", "Montana"], ["Sue", "1990", "Field Museum of Natural History", "Chicago, IL", "Sue Hendrickson", "Hell Creek Formation", "Faith, South Dakota"], ["Stan", "1987", "Black Hills Institute of Geological Research, Inc.", "Hill City, SD", "Stan Sacrison", "Hell Creek Formation", "Buffalo, South Dakota"], ["Jane", "2001", "Burpee Museum of Natural History", "Rockford, IL", "Jane Solem", "Hell Creek Formation", "Montana"], ["Bucky", "1998", "The Children's Museum of Indianapolis", "Indianapolis, IN", "Bucky Derflinger", "Hell Creek Formation", "Faith, South Dakota"]], "types": ["text", "real", "text", "text", "text", "text", "text"], "caption": "Specimen data"}
SELECT ([Discoverer]) FROM data_table WHERE LOWER([Museum]) = LOWER('burpee museum of natural history')
wiki-sql
Jane Solem
Who discovered the specimen at the Burpee Museum of Natural History?
script
{"header": ["Name", "Hanzi", "Hanyu Pinyin", "Population (2004 est.)", "Area (km)", "Density (/km)"], "rows": [["City proper", "City proper", "City proper", "City proper", "City proper", "City proper"], ["Haigang District", "", "Higng Q", "550,000", "121", "4,545"], ["Suburban", "Suburban", "Suburban", "Suburban", "Suburban", "Suburban"], ["Shanhaiguan District", "", "Shnhigun Q", "140,000", "192", "729"], ["Beidaihe District", "", "Bidih Q", "70,000", "70", "1,000"], ["Rural", "Rural", "Rural", "Rural", "Rural", "Rural"], ["Changli County", "", "Chngl Xin", "550,000", "1,184", "465"], ["Funing County", "", "Fnng Xin", "520,000", "1,646", "316"], ["Lulong County", "", "Llng Xin", "420,000", "945", "444"], ["Qinglong Manchu Autonomous County", " ", "Qnglng Mnz Zzhxin", "520,000", "3,309", "157"]], "types": ["text", "text", "text", "text", "text", "text"], "caption": "Administrative divisions"}
SELECT ([Population (2004 est.)]) FROM data_table WHERE LOWER([Hanzi]) = LOWER('')
wiki-sql
550,000
What is the 2004 population for ?
script
{"header": ["Date From", "Date To", "Pos.", "Name", "Moving To"], "rows": [["19 July 2008", "2 February 2009", "DF", "Elliot Omozusi", "Norwich City"], ["1 August 2008", "8 January 2009", "MF", "Lee Cook", "Queens Park Rangers"], ["8 August 2008", "1 January 2009", "DF", "TJ Moncur", "Bradford City"], ["9 August 2008", "30 June 2009", "MF", "Hameur Bouazza", "Charlton Athletic"], ["22 August 2008", "30 June 2009", "FW", "Eddie Johnson", "Cardiff City"], ["28 August 2008", "30 June 2009", "DF", "Moritz Volz", "Ipswich Town"], ["31 August 2008", "3 March 2009", "FW", "Collins John", "NEC Nijmegen"], ["11 September 2008", "13 December 2008", "DF", "Gabriel Zakuani", "Peterborough"], ["21 November 2008", "31 December 2009", "MF", "Robert Milsom", "Southend United"], ["8 January 2009", "30 June 2009", "MF", "Hameur Bouazza", "Birmingham City"], ["14 January 2009", "30 June 2009", "MF", "Seol Ki-Hyeon", "Al-Hilal"], ["2 February 2009", "30 June 2009", "DF", "Leon Andreasen", "Hannover 96"], ["2 February 2009", "30 June 2009", "DF", "Adrian Leijer", "Norwich City"], ["2 February 2009", "30 June 2009", "MF", "Andranik", "Barnsley"], ["2 March 2009", "30 June 2009", "GK", "David Stockdale", "Leicester City"], ["26 March 2009", "30 June 2009", "DF", "Adam Watts", "Northampton Town"], ["2 April 2009", "16 August 2009", "MF", "Wayne Brown", "Turun Palloseura"]], "types": ["text", "text", "text", "text", "text"], "caption": "Loan out"}
SELECT ([Pos.]) FROM data_table WHERE LOWER([Date From]) = LOWER('28 august 2008')
wiki-sql
DF
What is Pos., when Date From is "28 August 2008"?
script
{"header": ["Official Name", "Status", "Area km 2", "Population", "Census Ranking"], "rows": [["Saint-Joseph", "Parish", "321.87", 1696, "1,472 of 5,008"], ["Saint-Jacques", "Parish", "298.82", 1607, "1,531 of 5,008"], ["Sainte-Anne", "Parish", "369.25", 1081, "1,942 of 5,008"], ["Saint-Lonard", "Parish", "343.95", 1039, "2,011 of 5,008"], ["Saint-Basile", "Parish", "129.73", 799, "2,364 of 5,008"], ["Rivire-Verte", "Parish", "715.58", 791, "2,384 of 5,008"], ["Saint-Franois", "Parish", "344.70", 754, "2,458 of 5,008"], ["Lac-Baker", "Parish", "57.38", 566, "2,847 of 5,008"], ["Saint-Hilaire", "Parish", "41.55", 531, "2,928 of 5,008"], ["Notre-Dame-de-Lourdes", "Parish", "188.63", 284, "3,729 of 5,008"], ["Clair", "Parish", "44.29", 282, "3,737 of 5,008"], ["Baker Brook", "Parish", "125.69", 177, "4,103 of 5,008"]], "types": ["text", "text", "text", "real", "text"], "caption": "Parishes"}
SELECT ([Area km 2]) FROM data_table WHERE LOWER([Official Name]) = LOWER('Saint-Joseph')
wiki-sql
321.87
What are the area(s) (km2) for saint-joseph?
script
{"header": ["Country", "Skip", "Ends Won", "Ends Lost", "Blank Ends", "Stolen Ends", "Shot %"], "rows": [["Canada", "Kevin Martin", "49", "37", "10", "14", "87"], ["Scotland", "David Murdoch", "46", "38", "20", "10", "85"], ["China", "Wang Fengchun", "43", "43", "18", "9", "81"], ["Norway", "Thomas Ulsrud", "52", "47", "10", "11", "84"], ["France", "Thomas Dufour", "42", "35", "18", "11", "78"], ["Australia", "Hugh Millikin", "42", "45", "20", "8", "78"], ["United States", "Craig Brown", "40", "44", "13", "6", "81"], ["Germany", "Andy Kapp", "47", "43", "17", "14", "80"], ["Denmark", "Johnny Frederiksen", "45", "50", "6", "11", "78"], ["Sweden", "Anders Kraupp", "38", "49", "17", "4", "79"], ["Switzerland", "Claudio Pescia", "42", "49", "15", "7", "78"], ["Czech Republic", "Ji Sntil", "43", "48", "10", "7", "75"]], "types": ["text", "text", "real", "real", "real", "real", "real"], "caption": "Round robin"}
SELECT ([Country]) FROM data_table WHERE [Stolen Ends] > 7 AND LOWER([Skip]) = LOWER('david murdoch')
wiki-sql
Scotland
Name the Country which has Stolen Ends larger than 7, and a Skip of david murdoch?
script
{"header": ["Year", "Location", "Gold", "Silver", "Bronze"], "rows": [["1978", "Bangkok", "Kim Jin-Ho", "Yuriko Goto", "Kim Hyang-Mi"], ["1982", "New Delhi", "O Gwang-Sun", "Kim Jin-Ho", "Kim Mi-Young"], ["1986", "Seoul", "Park Jung-Ah", "Kim Jin-Ho", "Kim Mi-Ja"], ["1990", "Beijing", "Lee Jang-Mi", "Lee Eun-Kyung", "Kim Soo-Nyung"], ["1994", "Hiroshima", "Lee Eun-Kyung", "Lim Jung-Ah", "Han Hee-Jeong"], ["1998", "Bangkok", "Kim Jo-Sun", "Lee Eun-Kyung", "Lin Sang"], ["2002", "Busan", "Yuan Shu-Chi", "Kim Mun-Jeong", "Yun Mi-Jin"], ["2006", "Doha", "Park Sung-Hyun", "Yun Ok-Hee", "Zhao Ling"], ["2010", "Guangzhou", "Yun Ok-Hee", "Cheng Ming", "Kwon Un-Sil"]], "types": ["real", "text", "text", "text", "text"], "caption": "Individual"}
SELECT MIN([Year]) FROM data_table WHERE LOWER([Gold]) = LOWER('park jung-ah')
wiki-sql
1986.0
What was the earliest year that Park Jung-Ah won the gold?
script
{"header": ["Date", "Site", "Sport", "Winning team", "Series"], "rows": [["September 7, 2005", "Iowa City", "W Soccer", "Iowa State", "Iowa State 20"], ["September 10, 2005", "Ames", "Football", "Iowa State", "Iowa State 50"], ["December 2, 2005", "Ames", "Wrestling", "Iowa", "Iowa State 52"], ["December 8, 2005", "Ames", "W Basketball", "Iowa State", "Iowa State 72"], ["December 9, 2005", "Ames", "M Basketball", "Iowa State", "Iowa State 92"], ["December 9, 2005", "Ames", "W Swimming", "Iowa", "Iowa State 94"], ["January 28, 2006", "Iowa City", "W Gymnastics", "Iowa State", "Iowa State 114"], ["March 17, 2006", "Ames", "W Gymnastics", "Iowa State", "Iowa State 134"], ["March 17, 2006", "Ames", "Softball", "Iowa", "Iowa State 136"]], "types": ["text", "text", "text", "text", "text"], "caption": "2005 2006"}
SELECT ([Winning team]) FROM data_table WHERE LOWER([Date]) = LOWER('january 28, 2006')
wiki-sql
Iowa State
What is the Winning team on january 28, 2006?
script
{"header": ["Year", "Player", "Country", "Score", "To Par", "Margin", "Earnings ($)"], "rows": [["2006", "Trevor Immelman", "South Africa", "69-66-69-67=271", "13", "2", "900,000"], ["2005", "Jim Furyk", "United States", "64-70-67-69=270", "14", "2", "900,000"], ["2004", "Stephen Ames", "Canada", "67-73-64-70=274", "10", "2", "864,000"], ["2003", "Tiger Woods", "United States", "63-70-65-69=267", "21", "5", "810,000"], ["2002", "Jerry Kelly", "United States", "67-69-68-65=269", "19", "2", "720,000"], ["2001", "Scott Hoch", "United States", "69-68-66-64=267", "21", "1", "648,000"], ["2000", "Robert Allenby", "Australia", "69-69-68-68=274", "14", "0", "540,000"], ["1999", "Tiger Woods", "United States", "68-66-68-71=273", "15", "3", "450,000"], ["1998", "Joe Durant", "United States", "68-67-70-66=271", "17", "2", "396,000"], ["1997", "Tiger Woods", "United States", "67-72-68-68=275", "13", "3", "360,000"], ["1996", "Steve Stricker", "United States", "65-69-67-69=270", "18", "8", "360,000"], ["1995", "Billy Mayfair", "United States", "73-70-69-67=279", "9", "1", "360,000"], ["1994", "Nick Price", "Zimbabwe", "67-67-72-71=277", "11", "1", "216,000"], ["1993", "Nick Price", "Zimbabwe", "64-71-67-67=269", "19", "5", "216,000"], ["1992", "Ben Crenshaw", "United States", "70-72-65-69=276", "12", "2", "198,000"], ["1991", "Russ Cochran", "United States", "66-72-68-69=275", "13", "2", "180,000"]], "types": ["real", "text", "text", "text", "text", "real", "real"], "caption": "Western Open"}
SELECT SUM([Margin]) FROM data_table WHERE LOWER([Country]) = LOWER('canada')
wiki-sql
2.0
What is canada's margin?
script
{"header": ["Round #", "Home Team", "Win/Loss", "Score", "Opposition", "Location"], "rows": [["Round 1", "Wanganui", "Win", "71 - 6", "East Coast", "Wanganui"], ["Round 2", "Wanganui", "Win", "43 - 0", "Thames Valley", "Paeroa"], ["Round 3", "Wanganui", "Win", "36 - 16", "Poverty Bay", "Wanganui"], ["Round 4", "Wanganui", "Win", "47 - 19", "King Country", "Te Kuiti"], ["Round 5", "Wanganui", "Win", "43 - 12", "Mid Canterbury", "Wanganui"], ["Round 6", "Wanganui", "Win", "42 - 10", "Buller", "Wanganui"], ["Round 7", "Wanganui", "Win", "52 - 7", "West Coast", "Westport"], ["Round 8", "Wanganui", "Win", "19 - 8", "North Otago", "Wanganui"], ["Semi Final", "Wanganui", "Win", "40 - 18", "West Coast", "Wanganui"]], "types": ["text", "text", "text", "text", "text", "text"], "caption": "2008"}
SELECT ([Score]) FROM data_table WHERE LOWER([Opposition]) = LOWER('West Coast') AND LOWER([Location]) = LOWER('Wanganui')
wiki-sql
40 - 18
What was the score when the opposition was West Coast in Wanganui?
script
{"header": ["Nat.", "Name", "Moving to", "Type", "Transfer window"], "rows": [["PER", "Rivas", "Grnik Zabrze", "Transfer", "Winter"], ["PER", "V. Zapata", "Alianza Atltico", "Transfer", "Winter"], ["PER", "Tragodara", "Atltico Minero", "Loaned out", "Winter"], ["PER", "Correa", "Melgar", "Loaned out", "Winter"], ["PER", "Curiel", "Alianza Atltico", "Transfer", "Winter"]], "types": ["text", "text", "text", "text", "text"], "caption": "Out"}
SELECT ([Type]) FROM data_table WHERE LOWER([Moving to]) = LOWER('alianza atltico')
wiki-sql
Transfer
what is the type movinig to alianza atltico?
script
{"header": ["Team 1", "Agg.", "Team 2", "1st leg", "2nd leg"], "rows": [["1", "Base 96 (Lombardy B)", "10", "Trevigliese (Lombardy C)", "10"], ["2", "Novese (Piedmont B)", "20", "Corsico (Lombardy A)", "10"], ["3", "Asolo Fonte (Veneto B)", "26", "Cynthia 1920 (Lazio B)", "21"], ["4", "Budoni (Sardinia)", "12", "Torgiano (Umbria)", "01"], ["5", "Scandicci (Tuscany B)", "62", "Savignanese (Emilia-Romagna B)", "10"], ["6", "Quarto (Campania A)", "42", "Taurianovese (Calabria)", "41"], ["7", "Carini (Sicily A)", "12", "Gragnano (Campania B)", "10"]], "types": ["real", "text", "text", "text", "text"], "caption": "Second round"}
SELECT MIN([Team 1]) FROM data_table WHERE LOWER([Agg.]) = LOWER('asolo fonte (veneto b)')
wiki-sql
3.0
What's the lowest team 1 number that had asolo fonte (veneto b) as the Agg.?
script
{"header": [".308 Winchester cartridge type", "100 m group (mm)", "100 m group ( MOA )", "300 m group (mm)", "300 m group ( MOA )"], "rows": [["RUAG Swiss P Target 168 gr HP-BT", "13", "0.45", "48", "0.55"], ["Federal GM 168 gr Sierra MatchKing", "14", "0.48", "55", "0.63"], ["Sellier & Bellot 168 gr HP-BT", "15", "0.51", "52", "0.59"], ["IMI 168 gr Match", "13", "0.44", "52", "0.59"], [".300 Winchester Magnum cartridge type", "100 m group (mm)", "100 m group ( MOA )", "300 m group (mm)", "300 m group ( MOA )"], ["RUAG Swiss P Target 200 gs HP-BT", "13", "0.45", "38", "0.43"], ["Sellier & Bellot 168 gr HP-BT", "14", "0.48", "45", "0.51"]], "types": ["text", "text", "text", "text", "text"], "caption": "Design details"}
SELECT ([.308 Winchester cartridge type]) FROM data_table WHERE LOWER([300 m group (mm)]) = LOWER('38')
wiki-sql
RUAG Swiss P Target 200 gs HP-BT
What are all the .308 Winchester cartridge types with 38 for the 300 m group (mm)
script
{"header": ["Year", "Team", "Comp", "Long", "Rate", "RAtt", "RYds", "RAvg"], "rows": [["1983", "Miami", "173", "85", "96.0", "28", "45", "1.6"], ["1984", "Miami", "362", "80", "108.9", "28", "-7", "-0.3"], ["1985", "Miami", "336", "73", "84.1", "26", "-24", "-0.9"], ["1986", "Miami", "378", "85", "92.5", "12", "-3", "-0.3"], ["1987", "Miami", "263", "59", "89.2", "12", "-5", "-0.4"], ["1988", "Miami", "354", "80", "80.8", "20", "-17", "-0.9"], ["1989", "Miami", "308", "78", "76.9", "14", "-7", "-0.5"], ["1990", "Miami", "306", "69", "82.6", "16", "29", "1.8"], ["1991", "Miami", "318", "54", "85.8", "27", "32", "1.2"], ["1992", "Miami", "330", "62", "85.1", "20", "66", "3.3"], ["1993", "Miami", "91", "80", "95.9", "9", "-4", "-0.4"], ["1994", "Miami", "385", "64", "89.2", "22", "-6", "-0.3"], ["1995", "Miami", "309", "67", "90.8", "11", "14", "1.3"], ["1996", "Miami", "221", "74", "87.8", "11", "-3", "-0.3"], ["1997", "Miami", "319", "55", "80.7", "18", "-14", "-0.8"], ["1998", "Miami", "310", "61", "80.0", "21", "-3", "-0.1"], ["1999", "Miami", "204", "62", "67.4", "6", "-6", "-1.0"], ["Career", "Career", "Comp", "Long", "Rate", "RAtt", "RYds", "RAvg"], ["17 Years", "17 Years", "4,967", "85", "86.4", "301", "87", "0.3"]], "types": ["text", "text", "text", "text", "text", "text", "text", "text"], "caption": "Regular season"}
SELECT ([RAtt]) FROM data_table WHERE LOWER([Long]) = LOWER('78')
wiki-sql
14
What is the Ratt of the year with a 78 long?
script
{"header": ["Date", "Opponent#", "Site", "Result", "Attendance"], "rows": [["09/22/1945", "Missouri", "Memorial Stadium Minneapolis, MN", "W34-0", "34,246"], ["10/06/1945", "at Nebraska", "Memorial Stadium Lincoln, NE", "W61-7", "25,000"], ["10/13/1945", "Fort Warren", "Memorial Stadium Minneapolis, MN", "W14-0", "32,465"], ["10/20/1945", "Northwestern", "Memorial Stadium Minneapolis, MN", "W30-7", "55,940"], ["10/27/1945", "12 Ohio State", "Memorial Stadium Minneapolis, MN", "L7-20", "56,000"], ["11/03/1945", "at 10 Michigan", "Michigan Stadium Ann Arbor, MI", "L0-26", "84,472"], ["11/10/1945", "Indiana", "Memorial Stadium Minneapolis, MN", "L0-49", "41,400"], ["11/17/1945", "at Iowa", "Iowa Stadium Iowa City, IA", "L19-20", "13,880"], ["11/24/1945", "Wisconsin", "Memorial Stadium Minneapolis, MN", "L12-26", "34,800"], ["*Non-conference game. Homecoming.", "*Non-conference game. Homecoming.", "*Non-conference game. Homecoming.", "*Non-conference game. Homecoming.", "*Non-conference game. Homecoming."]], "types": ["text", "text", "text", "text", "text"], "caption": "Schedule"}
SELECT ([Attendance]) FROM data_table WHERE LOWER([Result]) = LOWER('w61-7')
wiki-sql
25,000
What is the attendance when the result was w61-7?
script
{"header": ["Year", "Entrant", "Class", "Chassis", "Engine", "Rank", "Points"], "rows": [["1999", "Champion Racing", "LMP", "Porsche 911 GT1 Evo", "Porsche 3.2L Turbo Flat-6", "25th", "47"], ["2000", "Audi Sport North America", "LMP", "Audi R8", "Audi 3.6L Turbo V8", "1st", "270"], ["2000", "Audi Sport North America", "LMP", "Audi R8R", "Audi 3.6L Turbo V8", "1st", "270"], ["2004", "Audi Sport UK Team Veloqx", "LMP1", "Audi R8", "Audi 3.6L Turbo V8", "7th", "26"], ["2005", "ADT Champion Racing", "LMP1", "Audi R8", "Audi 3.6L Turbo V8", "10th", "22"], ["2006", "Audi Sport North America", "LMP1", "Audi R10 TDI", "Audi 5.5L Turbo V12 ( Diesel )", "1st", "204"], ["2006", "Audi Sport North America", "LMP1", "Audi R8", "Audi 3.6L Turbo V8", "1st", "204"], ["2007", "Audi Sport North America", "LMP1", "Audi R10 TDI", "Audi 5.5L Turbo V12 ( Diesel )", "1st", "246"], ["2008", "Audi Sport North America", "LMP1", "Audi R10 TDI", "Audi 5.5L Turbo V12 ( Diesel )", "8th", "60"], ["2009", "Audi Sport Team Joest", "LMP1", "Audi R15 TDI", "Audi 5.5L Turbo V10 ( Diesel )", "10th", "30"], ["2010", "Audi Sport Team Joest", "LMP1", "Audi R15 TDI plus", "Audi 5.5L Turbo V10 ( Diesel )", "NC", ""], ["2011", "Audi Sport Team Joest", "LMP1", "Audi R15 TDI plus", "Audi 5.5L Turbo V10 ( Diesel )", "NC", ""], ["2011", "Audi Sport Team Joest", "LMP1", "Audi R18 TDI", "Audi 3.7L Turbo V6 ( Diesel )", "NC", ""]], "types": ["real", "text", "text", "text", "text", "text", "text"], "caption": "Complete American Le Mans Series results"}
SELECT COUNT([Year]) FROM data_table WHERE LOWER([Engine]) = LOWER('audi 3.6l turbo v8') AND LOWER([Rank]) = LOWER('1st') AND LOWER([Chassis]) = LOWER('audi r8r')
wiki-sql
1
How many years has an engine of audi 3.6l turbo v8 and 1st as the rank with an audi r8r as the chassis?
script
{"header": ["Year (Ceremony)", "English Title", "Vietnamese title", "Director", "Result"], "rows": [["1993 (66th)", "The Scent of Green Papaya", "Mi u xanh", "Trn Anh Hng Category:Articles with hCards", "Nominee"], ["1996 (69th)", "Gone Gone Forever Gone", "Gate, gate, paragate", "H Quang Minh Category:Articles with hCards", "Not Nominated"], ["1999 (72nd)", "Three Seasons", "Ba Ma", "Tony Bui Category:Articles with hCards", "Not Nominated"], ["2000 (73rd)", "Vertical Ray of the Sun", "Ma h chiu thng ng", "Trn Anh Hng Category:Articles with hCards", "Not Nominated"], ["2005 (78th)", "The Buffalo Boy", "Ma len tru", "Minh Nguyen-Vo Category:Articles with hCards", "Not Nominated"], ["2006 (79th)", "Story of Pao", "Chuyn ca Pao", "Ng Quang Hi Category:Articles with hCards", "Not Nominated"], ["2007 (80th)", "The White Silk Dress", "o la H ng", "Lu Hunh Category:Articles with hCards", "Not Nominated"], ["2009 (82nd)", "Don't Burn", "ng t", "ng Nht Minh Category:Articles with hCards", "Not Nominated"], ["2011 (84th)", "The Prince and the Pagoda Boy", "Kht vng Thng Long", "Lu Trng Ninh Category:Articles with hCards", "Not Nominated"]], "types": ["text", "text", "text", "text", "text"], "caption": "Submissions"}
SELECT ([Year (Ceremony)]) FROM data_table WHERE LOWER([Result]) = LOWER('Nominee')
wiki-sql
1993 (66th)
What is every ceremony year for the result of nominee?
script
{"header": ["Home team", "Home team score", "Away team", "Away team score", "Venue", "Crowd", "Date"], "rows": [["Hawthorn", "9.7 (61)", "Richmond", "14.9 (93)", "Glenferrie Oval", "14,000", "10 June 1950"], ["Footscray", "19.11 (125)", "South Melbourne", "9.8 (62)", "Western Oval", "13,000", "10 June 1950"], ["Carlton", "11.5 (71)", "Essendon", "10.16 (76)", "Princes Park", "46,500", "10 June 1950"], ["North Melbourne", "10.17 (77)", "Geelong", "8.12 (60)", "Arden Street Oval", "30,000", "12 June 1950"], ["St Kilda", "14.17 (101)", "Fitzroy", "14.12 (96)", "Junction Oval", "22,000", "12 June 1950"], ["Melbourne", "16.9 (105)", "Collingwood", "8.11 (59)", "MCG", "55,000", "12 June 1950"]], "types": ["text", "text", "text", "text", "text", "real", "text"], "caption": "Round 8"}
SELECT ([Away team]) FROM data_table WHERE LOWER([Venue]) = LOWER('mcg')
wiki-sql
Collingwood
Who was the away team when the VFL played at MCG?
script
{"header": ["Place", "Player", "Country", "Score", "To par"], "rows": [["T1", "Terry Diehl", "United States", "69", "1"], ["T1", "Rod Funseth", "United States", "69", "1"], ["T1", "Hubert Green", "United States", "69", "1"], ["T1", "Grier Jones", "United States", "69", "1"], ["T1", "Florentino Molina", "Argentina", "69", "1"], ["T1", "Larry Nelson", "United States", "69", "1"], ["T1", "Tom Purtzer", "United States", "69", "1"], ["T8", "Sam Adams", "United States", "70", "E"], ["T8", "George Burns", "United States", "70", "E"], ["T8", "Al Geiberger", "United States", "70", "E"], ["T8", "Morris Hatalsky", "United States", "70", "E"], ["T8", "Joe Inman", "United States", "70", "E"], ["T8", "Steve Melnyk", "United States", "70", "E"], ["T8", "Mike Morley", "United States", "70", "E"], ["T8", "Don Padgett", "United States", "70", "E"], ["T8", "Arnold Palmer", "United States", "70", "E"], ["T8", "Bob E. Smith", "United States", "70", "E"]], "types": ["text", "text", "text", "real", "text"], "caption": "First round"}
SELECT ([To par]) FROM data_table WHERE [Score] = 70
wiki-sql
E
Which To par is scored at 70?
script
{"header": ["Club", "Played", "Won", "Drawn", "Lost", "Points for", "Points against", "Tries for", "Tries against", "Try bonus", "Losing bonus", "Points"], "rows": [["Club", "Played", "Won", "Drawn", "Lost", "Points for", "Points against", "Tries for", "Tries against", "Try bonus", "Losing bonus", "Points"], ["Gilfach Goch RFC", "22", "16", "1", "5", "560", "343", "65", "37", "7", "3", "76"], ["Treorchy RFC", "22", "15", "0", "7", "636", "382", "79", "44", "10", "2", "72"], ["Rhydyfelin RFC", "22", "13", "2", "7", "525", "431", "73", "51", "11", "4", "71"], ["Mountain Ash RFC", "22", "13", "3", "6", "404", "292", "50", "33", "6", "3", "67"], ["Brynmawr RFC", "22", "11", "0", "11", "508", "406", "65", "47", "9", "7", "60"], ["Ynysybwl RFC", "22", "10", "0", "12", "416", "453", "55", "54", "7", "5", "52"], ["Llantrisant RFC", "22", "10", "1", "11", "438", "532", "54", "69", "5", "5", "52"], ["Penallta RFC", "22", "11", "0", "11", "416", "488", "50", "63", "2", "2", "48"], ["Llantwit Fardre RFC", "22", "10", "1", "11", "392", "470", "50", "60", "2", "1", "45"], ["Abercynon RFC", "22", "8", "0", "14", "418", "546", "41", "73", "5", "3", "40"], ["Newport Saracens RFC", "22", "6", "1", "15", "365", "453", "49", "56", "3", "6", "35"], ["Garndiffaith RFC", "22", "4", "1", "17", "393", "675", "45", "89", "5", "4", "27"]], "types": ["text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "text", "text"], "caption": "2009/2010 Table"}
SELECT ([Played]) FROM data_table WHERE LOWER([Points for]) = LOWER('438')
wiki-sql
22
HOW MANY PLAYERS PLAYED IN THE GAME THAT WON WITH 438 POINTS
script
{"header": ["Series #", "Season #", "Episode", "Directed by", "Written by", "Original air date", "Viewers (in millions)"], "rows": [[11, "2.01", "\"Urban Garden ( Jardines urbanos )\"", "Jeffrey Hunt", "Rick Eid & Doug Jung", "August4,2010", "2.56"], [12, "2.02", "\"Liar's Poker ( Poker mentiroso )\"", "Dermott Downs", "Gavin Harris", "August4,2010", "2.48"], [13, "2.03", "\"Shelter of the Beast\"", "John Behring", "Sam Humphrey", "August11,2010", "2.34"], [14, "2.04", "\"High Rollers\"", "Karen Gaviola", "Rick Eid", "August18,2010", "2.43"], [15, "2.05", "\"Brother's Keeper\"", "Nathan Hope", "Doug Jung", "August25,2010", "2.59"], [16, "2.06", "\"Jane Wayne\"", "Guy Ferland", "Joe Halpin", "September1,2010", "2.06"], [17, "2.07", "\"Home Sweet Home\"", "Danny Cannon", "Gavin Harris", "September8,2010", "2.27"], [18, "2.08", "\"Shell Game\"", "Eagle Egilsson", "Rick Eid", "September8,2010", "1.97"], [19, "2.09", "\"Dead Flowers\"", "Jeffrey Hunt", "Rick Eid & Sam Humphrey", "September15,2010", "1.95"]], "types": ["real", "text", "text", "text", "text", "text", "text"]}
SELECT ([Viewers (in millions)]) FROM data_table WHERE [Series #] = 14
wiki-sql
2.43
What is the amount of viewers if the series number is 14?
script
{"header": ["Date", "Venue", "Score", "Result", "Competition"], "rows": [["February 18, 2003", "Estadio Rommel Fernndez , Panama City , Panama", "50", "50", "Continental qualifier"], ["February 23, 2003", "Estadio Rommel Fernndez , Panama City , Panama", "20", "21", "Continental qualifier"], ["June 3, 2004", "Estadio Cuscatln , San Salvador , El Salvador", "20", "30", "Friendly"], ["September 4, 2010", "Lockhart Stadium , Fort Lauderdale , USA", "20", "50", "Friendly"], ["October 12, 2012", "Estadio Mateo Flores , Guatemala City , Guatemala", "10", "21", "World Cup qualifier"]], "types": ["text", "text", "text", "text", "text"], "caption": "International goals"}
SELECT ([Score]) FROM data_table WHERE LOWER([Competition]) = LOWER('continental qualifier') AND LOWER([Date]) = LOWER('february 23, 2003')
wiki-sql
20
What was the score in the Continental Qualifier on February 23, 2003?
script
{"header": ["Player", "No.(s)", "Height in Ft.", "Position", "School/Club Team/Country"], "rows": [["Davis, Ben Ben Davis", "4", "6-9", "Forward", "Arizona"], ["Davis, Emanual Emanual Davis", "15", "6-4", "Guard", "Delaware State"], ["Davis, Jim Jim Davis", "30", "6-9", "Center", "Colorado"], ["Davis, Josh Josh Davis", "00", "6-8", "Forward", "Wyoming"], ["Dickerson, Michael Michael Dickerson", "3", "6-5", "Guard", "Arizona"], ["Dinkins, Byron Byron Dinkins", "9", "6-1", "Guard", "North Carolina-Charlotte"], ["Dorsey, Jacky Jacky Dorsey", "44", "6-7", "Forward", "Georgia"], ["Dorsey, Joey Joey Dorsey", "15", "6-7", "Forward / Center", "Memphis"], ["Drew, Bryce Bryce Drew", "11", "6-3", "Guard", "Valparaiso"], ["Drexler, Clyde Clyde Drexler", "22*", "6-7", "Guard", "Houston"], ["Dunleavy, Mike Mike Dunleavy", "10, 31", "6-3", "Guard", "South Carolina"]], "types": ["text", "text", "text", "text", "text"], "caption": "D"}
SELECT ([No.(s)]) FROM data_table WHERE LOWER([Height in Ft.]) = LOWER('6-7') AND LOWER([Position]) = LOWER('guard')
wiki-sql
22*
Name the numbers for the player with a height in ft of 6-7 for the guard
script
{"header": ["Name", "Position", "Number", "Season", "Acquisition via"], "rows": [["Edwin Bacani", "Guard", "88", "2006", "Trade"], ["Froilan Baguion", "Guard", "17", "2008", "Free Agency"], ["Estong Ballesteros", "Forward", "16", "2002", "Free Agency"], ["Bryant Basemore", "Guard", "8", "2002", "Import"], ["Nic Belasco", "Forward", "3, 33", "2008-2009, 2012", "Trade, Free Agency"], ["Rashard Bell", "Forward", "1, 3", "2007, 2010", "Import"], ["Chris Bolado", "Center", "24", "2002-2003", "Free Agency"], ["Ken Bono", "Center", "7", "2009-2010", "Trade"], ["Lawrence Bonus", "Center", "10", "2008-2009", "Free Agency"], ["Torraye Braggs", "Center", "50", "2002", "Import"], ["Lowell Briones", "Forward", "4", "2002", "Free Agency"], ["Ronjay Buenafe", "Guard", "9", "2007-2009", "Rookie Draft"]], "types": ["text", "text", "text", "text", "text"], "caption": "B"}
SELECT ([Number]) FROM data_table WHERE LOWER([Season]) = LOWER('2002-2003')
wiki-sql
24
What number has 2002-2003 as the season?
script
{"header": ["Pick #", "NFL Team", "Player", "Position", "College"], "rows": [[7, "Green Bay Packers", "Sterling Sharpe", "Wide Receiver", "South Carolina"], [34, "Green Bay Packers", "Shawn Patterson", "Defensive End", "Arizona State"], [61, "Green Bay Packers", "Keith Woodside", "Running Back", "Texas A&M"], [88, "Green Bay Packers", "Rollin Putzier", "Nose Tackle", "Oregon"], [89, "Green Bay Packers", "Chuck Cecil", "Safety", "Arizona"], [144, "Green Bay Packers", "Nate Hill", "Defensive End", "Auburn"], [173, "Green Bay Packers", "Gary Richard", "Cornerback", "Pittsburgh"], [200, "Green Bay Packers", "Patrick Collins", "Running Back", "Oklahoma"]], "types": ["real", "text", "text", "text", "text"], "caption": "NFL Draft"}
SELECT ([Position]) FROM data_table WHERE [Pick #] = 34
wiki-sql
Defensive End
What position(s) does the player drafted #34 play?
script
{"header": ["Position", "Team #1", "Agg.", "Team #2", "1st leg", "2nd leg"], "rows": [["3rd place", "MTK", "2-6", "Bp. Honvd", "1-3", "1-3"], ["5th place", "Vasas SC", "5-2", "Csepel", "4-0", "1-2"], ["7th place", "Disgyri VTK", "4-9", "Pcsi Dzsa", "1-4", "3-5"], ["9th place", "Tatabnyai Bnysz", "2-1", "Dunajvros", "0-0", "2-1"], ["11th place", "Videoton", "8-4", "Halads", "7-1", "1-3"], ["13th place", "Komli Bnysz", "4-3", "Salgtarjni BTC", "3-1", "1-2"], ["15th place", "Gyri ETO", "3-3", "SZEOL", "2-0", "1-3"]], "types": ["text", "text", "text", "text", "text", "text"], "caption": "Other results"}
SELECT ([1st leg]) FROM data_table WHERE LOWER([Agg.]) = LOWER('4-3')
wiki-sql
3-1
What is the 1st leg with a 4-3 agg.?
script
{"header": ["Home team", "Home team score", "Away team", "Away team score", "Venue", "Crowd", "Date"], "rows": [["St Kilda", "16.14 (110)", "South Melbourne", "5.16 (46)", "Junction Oval", "28,800", "10 June 1961"], ["North Melbourne", "11.13 (79)", "Geelong", "11.13 (79)", "Arden Street Oval", "16,000", "10 June 1961"], ["Fitzroy", "10.14 (74)", "Essendon", "6.18 (54)", "Brunswick Street Oval", "28,083", "10 June 1961"], ["Footscray", "14.19 (103)", "Hawthorn", "13.13 (91)", "Western Oval", "24,132", "12 June 1961"], ["Carlton", "7.7 (49)", "Richmond", "13.11 (89)", "Princes Park", "24,660", "12 June 1961"], ["Melbourne", "17.19 (121)", "Collingwood", "7.10 (52)", "MCG", "78,465", "12 June 1961"]], "types": ["text", "text", "text", "text", "text", "real", "text"], "caption": "Round 8"}
SELECT ([Venue]) FROM data_table WHERE [Crowd] > 16000 AND LOWER([Home team score]) = LOWER('7.7 (49)')
wiki-sql
Princes Park
Which venue has a crowd over 16,000 and a home team score of 7.7 (49)?
script
{"header": ["English", "Proto-Semitic", "Akkadian", "Arabic", "Aramaic", "Hebrew", "Geez", "Mehri"], "rows": [["father", "*ab-", "ab-", "ab-", "a-", "", "ab", "a-yb"], ["heart", "*lib(a)b-", "libb-", "lubb-", "lebb-", "l()", "libb", "a-wbb"], ["house", "*bayt-", "btu, btu", "bayt-", "bayt-", "byi, b", "bet", "beyt, bt"], ["peace", "*alm-", "alm-", "salm-", "lm-", "lm", "salm", "slm"], ["tongue", "*lin-/*lan-", "lin-", "lisn-", "len-", "ln", "lissn", "wn"]], "types": ["text", "text", "text", "text", "text", "text", "text", "text"], "caption": "Common vocabulary"}
SELECT ([Hebrew]) FROM data_table WHERE LOWER([English]) = LOWER('heart')
wiki-sql
l()
If in english it is heart, what is it in hebrew?
script
{"header": ["Date", "Visiting Team", "Final Score", "Host Team", "Stadium"], "rows": [["September 5", "Dallas Cowboys", "24-17", "New York Giants", "Metlife Stadium"], ["September 9", "Pittsburgh Steelers", "19-31", "Denver Broncos", "Sports Authority Field at Mile High"], ["September 16", "Detroit Lions", "19-27", "San Francisco 49ers", "Candlestick Park"], ["September 23", "New England Patriots", "30-31", "Baltimore Ravens", "M&T Bank Stadium"], ["September 30", "New York Giants", "17-19", "Philadelphia Eagles", "Lincoln Financial Field"], ["October 7", "San Diego Chargers", "24-31", "New Orleans Saints", "Mercedes-Benz Superdome"], ["October 14", "Green Bay Packers", "42-24", "Houston Texans", "Reliant Stadium"], ["October 21", "Pittsburgh Steelers", "24-17", "Cincinnati Bengals", "Paul Brown Stadium"], ["October 28", "New Orleans Saints", "14-34", "Denver Broncos", "Sports Authority Field at Mile High"], ["November 4", "Dallas Cowboys", "13-19", "Atlanta Falcons", "Georgia Dome"], ["November 11", "Houston Texans", "13-6", "Chicago Bears", "Soldier Field"], ["November 18", "Baltimore Ravens", "13-10", "Pittsburgh Steelers", "Heinz Field"], ["November 22", "New England Patriots", "49-19", "New York Jets", "Metlife Stadium"], ["November 25", "Green Bay Packers", "10-38", "New York Giants", "Metlife Stadium"], ["December 2", "Philadelphia Eagles", "33-38", "Dallas Cowboys", "Cowboys Stadium"], ["December 9", "Detroit Lions", "20-27", "Green Bay Packers", "Lambeau Field"], ["December 16", "San Francisco 49ers", "41-34", "New England Patriots", "Gillette Stadium"], ["December 23*", "San Francisco 49ers", "13-42", "Seattle Seahawks", "CenturyLink Field"], ["December 30", "Dallas Cowboys", "18-28", "Washington Redskins", "FedEx Field"], ["January 5", "Cincinnati Bengals", "13-19", "Houston Texans", "Reliant Stadium"], ["January 5", "Minnesota Vikings", "10-24", "Green Bay Packers", "Lambeau Field"], ["January 27", "AFC", "35-62", "NFC", "Aloha Stadium"]], "types": ["text", "text", "text", "text", "text"], "caption": "2012"}
SELECT ([Visiting Team]) FROM data_table WHERE LOWER([Host Team]) = LOWER('dallas cowboys')
wiki-sql
Philadelphia Eagles
Who was the visiting team in the game against the Dallas Cowboys?