answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT label FROM table_name_83 WHERE date = "december 19, 2001" | CREATE TABLE table_name_83 (label VARCHAR, date VARCHAR) | What label released a record on December 19, 2001? |
SELECT catalog FROM table_name_94 WHERE date = "may 27, 2009" | CREATE TABLE table_name_94 (catalog VARCHAR, date VARCHAR) | What is the catalog of the record released on May 27, 2009? |
SELECT date FROM table_name_5 WHERE label = "village records" AND catalog = "vrcl-2205" | CREATE TABLE table_name_5 (date VARCHAR, label VARCHAR, catalog VARCHAR) | On what date was a record from Village Records with catalog VRCL-2205 released? |
SELECT date FROM table_name_32 WHERE catalog = "alca-275" | CREATE TABLE table_name_32 (date VARCHAR, catalog VARCHAR) | On what date was the record with catalog ALCA-275 released? |
SELECT MIN(took_office) FROM table_name_70 WHERE name = "yvette alexander" AND up_for_reelection > 2016 | CREATE TABLE table_name_70 (took_office INTEGER, name VARCHAR, up_for_reelection VARCHAR) | What was the earliest year that Yvette Alexander took office and was up for reelection after 2016? |
SELECT MIN(up_for_reelection) FROM table_name_80 WHERE took_office > 2011 AND position = "chairman" | CREATE TABLE table_name_80 (up_for_reelection INTEGER, took_office VARCHAR, position VARCHAR) | What is the earliest year a Chairman who took office after 2011 is up for reelection? |
SELECT year FROM table_name_17 WHERE laps < 36 | CREATE TABLE table_name_17 (year VARCHAR, laps INTEGER) | What year had less than 36 laps? |
SELECT MAX(laps) FROM table_name_84 WHERE finish = "10" AND qual = "106.185" | CREATE TABLE table_name_84 (laps INTEGER, finish VARCHAR, qual VARCHAR) | What was the most laps with a finish of 10 and qualification of 106.185? |
SELECT MAX(laps) FROM table_name_38 WHERE qual = "106.185" | CREATE TABLE table_name_38 (laps INTEGER, qual VARCHAR) | What is the most laps with a qualification of 106.185? |
SELECT year FROM table_name_59 WHERE laps < 64 AND finish = "25" | CREATE TABLE table_name_59 (year VARCHAR, laps VARCHAR, finish VARCHAR) | In what year were laps less than 64 and the finish at 25? |
SELECT qual FROM table_name_51 WHERE year = "1932" | CREATE TABLE table_name_51 (qual VARCHAR, year VARCHAR) | What was the qualification in 1932? |
SELECT start FROM table_name_12 WHERE rank = "3" AND year = "1936" | CREATE TABLE table_name_12 (start VARCHAR, rank VARCHAR, year VARCHAR) | What was the start with a rank of 3 in 1936? |
SELECT agg FROM table_name_47 WHERE team_1 = "al-merrikh" | CREATE TABLE table_name_47 (agg VARCHAR, team_1 VARCHAR) | For a Team 1 of Al-Merrikh, what was the aggregate? |
SELECT 2 AS nd_leg FROM table_name_74 WHERE agg = "1-3" | CREATE TABLE table_name_74 (agg VARCHAR) | For an aggregate of 1-3, what was the 2nd leg? |
SELECT 2 AS nd_leg FROM table_name_96 WHERE team_2 = "al-faisaly" | CREATE TABLE table_name_96 (team_2 VARCHAR) | For a team 2 of Al-Faisaly, what was the 2nd leg? |
SELECT years FROM table_name_90 WHERE area = "upper hutt" AND authority = "private" | CREATE TABLE table_name_90 (years VARCHAR, area VARCHAR, authority VARCHAR) | What years is the private school in upper hutt? |
SELECT name FROM table_name_39 WHERE decile = "7" AND area = "upper hutt" | CREATE TABLE table_name_39 (name VARCHAR, decile VARCHAR, area VARCHAR) | What school with a decile of 7 is in upper hutt? |
SELECT authority FROM table_name_58 WHERE gender = "coed" AND area = "pinehaven" | CREATE TABLE table_name_58 (authority VARCHAR, gender VARCHAR, area VARCHAR) | What authority is the coed school in pinehaven? |
SELECT years FROM table_name_96 WHERE name = "plateau school" | CREATE TABLE table_name_96 (years VARCHAR, name VARCHAR) | What years does plateau school serve? |
SELECT authority FROM table_name_2 WHERE name = "upper valley middle school" | CREATE TABLE table_name_2 (authority VARCHAR, name VARCHAR) | Is Upper valley middle school public or private? |
SELECT record FROM table_name_57 WHERE date = "june 13" | CREATE TABLE table_name_57 (record VARCHAR, date VARCHAR) | What is the record on June 13? |
SELECT MAX(lot_no) FROM table_name_46 WHERE notes = "b4 bogies" AND diagram = 185 | CREATE TABLE table_name_46 (lot_no INTEGER, notes VARCHAR, diagram VARCHAR) | Name the most lot number with notes of b4 bogies and diagram of 185 |
SELECT fleet_numbers FROM table_name_10 WHERE diagram = 186 AND lot_no = 30798 | CREATE TABLE table_name_10 (fleet_numbers VARCHAR, diagram VARCHAR, lot_no VARCHAR) | Name the fleet numbers for diagram of 186 and lot number of 30798 |
SELECT name FROM table_name_36 WHERE direction = "toyohashi east" AND length__km_ = 24.7 | CREATE TABLE table_name_36 (name VARCHAR, direction VARCHAR, length__km_ VARCHAR) | What line is 24.7 km and head towards Toyohashi East? |
SELECT record FROM table_name_26 WHERE date = "november 18" | CREATE TABLE table_name_26 (record VARCHAR, date VARCHAR) | What is the record on November 18? |
SELECT AVG(attendance) FROM table_name_22 WHERE home = "chicago bears" | CREATE TABLE table_name_22 (attendance INTEGER, home VARCHAR) | What was the average attendance when Chicago Bears were the home team? |
SELECT score FROM table_name_52 WHERE record = "5-4-1" | CREATE TABLE table_name_52 (score VARCHAR, record VARCHAR) | What is the score when the record is 5-4-1? |
SELECT MAX(attendance) FROM table_name_63 WHERE record = "1-1-0" | CREATE TABLE table_name_63 (attendance INTEGER, record VARCHAR) | What is the largest number in attendance when the record is 1-1-0? |
SELECT gdp_per_capita__us$_ FROM table_name_77 WHERE population = "56,210,000" | CREATE TABLE table_name_77 (gdp_per_capita__us$_ VARCHAR, population VARCHAR) | What is the GDP of the nation with 56,210,000 people? |
SELECT area__kmΒ²_ FROM table_name_11 WHERE gdp_per_capita__us$_ = "11,929" | CREATE TABLE table_name_11 (area__kmΒ²_ VARCHAR, gdp_per_capita__us$_ VARCHAR) | What is the area of the nation with GDP per capita (US$) of 11,929? |
SELECT population FROM table_name_99 WHERE gdp_per_capita__us$_ = "11,929" | CREATE TABLE table_name_99 (population VARCHAR, gdp_per_capita__us$_ VARCHAR) | What is the population of the nation that has a GDP per capita (US$) of 11,929? |
SELECT population FROM table_name_31 WHERE area__kmΒ²_ = "70,273" | CREATE TABLE table_name_31 (population VARCHAR, area__kmΒ²_ VARCHAR) | What is the Population of the nation that has an Area (kmΒ²) of 70,273? |
SELECT population FROM table_name_68 WHERE member_countries = "existing members (1973)" | CREATE TABLE table_name_68 (population VARCHAR, member_countries VARCHAR) | What is the Population of the nation that has a Member countries consisting of existing members (1973)? |
SELECT television_network FROM table_name_67 WHERE type_of_network = "community" AND founded = "2002" | CREATE TABLE table_name_67 (television_network VARCHAR, type_of_network VARCHAR, founded VARCHAR) | What television network, founded in 2002, has a community type of network? |
SELECT stadium FROM table_name_67 WHERE visiting_team = "green bay packers" | CREATE TABLE table_name_67 (stadium VARCHAR, visiting_team VARCHAR) | At what stadium did the Green Bay Packers play an away game? |
SELECT stadium FROM table_name_60 WHERE final_score = "31-28" | CREATE TABLE table_name_60 (stadium VARCHAR, final_score VARCHAR) | At what stadium was the final score 31-28? |
SELECT host_team FROM table_name_53 WHERE visiting_team = "kansas city chiefs" | CREATE TABLE table_name_53 (host_team VARCHAR, visiting_team VARCHAR) | Which team hosted the Kansas City Chiefs? |
SELECT host_team FROM table_name_75 WHERE stadium = "tampa stadium" | CREATE TABLE table_name_75 (host_team VARCHAR, stadium VARCHAR) | What team hosted at Tampa Stadium? |
SELECT score FROM table_name_89 WHERE record = "43-26" | CREATE TABLE table_name_89 (score VARCHAR, record VARCHAR) | With a record of 43-26, what was the score that game? |
SELECT loss FROM table_name_58 WHERE opponent = "tigers" AND date = "june 8" | CREATE TABLE table_name_58 (loss VARCHAR, opponent VARCHAR, date VARCHAR) | On June 8, what's the loss when the Blue Jays played the Tigers? |
SELECT date FROM table_name_71 WHERE record = "38-22" | CREATE TABLE table_name_71 (date VARCHAR, record VARCHAR) | What date was the record 38-22? |
SELECT score FROM table_name_77 WHERE record = "39-25" | CREATE TABLE table_name_77 (score VARCHAR, record VARCHAR) | The game that had a record of 39-25, what was the score? |
SELECT runner_up FROM table_name_12 WHERE margin_of_victory = "10 strokes" | CREATE TABLE table_name_12 (runner_up VARCHAR, margin_of_victory VARCHAR) | Which runner-up has a 10 strokes margin of victory? |
SELECT event FROM table_name_66 WHERE time = "0:55" | CREATE TABLE table_name_66 (event VARCHAR, time VARCHAR) | Which of the events only lasted no more than 0:55? |
SELECT event FROM table_name_50 WHERE round = 3 AND opponent = "fernando terere" | CREATE TABLE table_name_50 (event VARCHAR, round VARCHAR, opponent VARCHAR) | Which event only lasted for 3 rounds against Fernando Terere? |
SELECT primary_sponsor_s_ FROM table_name_4 WHERE owner_s_ = "randy humphrey" | CREATE TABLE table_name_4 (primary_sponsor_s_ VARCHAR, owner_s_ VARCHAR) | What is the Primary Sponsor for the team owned by Randy Humphrey? |
SELECT driver_s_ FROM table_name_57 WHERE owner_s_ = "bob keselowski" | CREATE TABLE table_name_57 (driver_s_ VARCHAR, owner_s_ VARCHAR) | Who is the Driver on Bob Keselowski's team? |
SELECT team FROM table_name_50 WHERE crew_chief = "walter giles" | CREATE TABLE table_name_50 (team VARCHAR, crew_chief VARCHAR) | Walter Giles is Crew Chief of what team? |
SELECT club FROM table_name_34 WHERE stadium = "stc krymteplitsia" | CREATE TABLE table_name_34 (club VARCHAR, stadium VARCHAR) | What club does the stadium stc krymteplitsia belong to? |
SELECT qual FROM table_name_61 WHERE year = "1947" | CREATE TABLE table_name_61 (qual VARCHAR, year VARCHAR) | What was Tony Bettenhausen's qualifying time in 1947? |
SELECT year FROM table_name_43 WHERE laps > 200 | CREATE TABLE table_name_43 (year VARCHAR, laps INTEGER) | Which year did Tony Bettenhausen complete more than 200 laps? |
SELECT 2006 FROM table_name_40 WHERE 2003 = "not held" AND 2012 = "a" | CREATE TABLE table_name_40 (Id VARCHAR) | What was the value in 2006 when 2003 was not held and 2012 was A? |
SELECT 2008 FROM table_name_35 WHERE 2012 = "grand slam tournaments" | CREATE TABLE table_name_35 (Id VARCHAR) | What was the 2008 value when 2012 was Grand Slam Tournaments? |
SELECT 2008 FROM table_name_1 WHERE 2012 = "1r" AND 2010 = "a" AND 2005 = "a" | CREATE TABLE table_name_1 (Id VARCHAR) | What was the value in 2008 when 2012 was 1R, 2010 was A, and 2005 was A? |
SELECT 2003 FROM table_name_86 WHERE 2006 = "wta premier mandatory tournaments" | CREATE TABLE table_name_86 (Id VARCHAR) | What was the value in 2003 when 2006 was WTA Premier Mandatory Tournaments? |
SELECT 2009 FROM table_name_5 WHERE 2005 = "a" AND tournament = "australian open" | CREATE TABLE table_name_5 (tournament VARCHAR) | What was the value in 2009 when 2005 was A for the Australian Open? |
SELECT 2012 FROM table_name_83 WHERE 2002 = "q1" AND 2010 = "1r" | CREATE TABLE table_name_83 (Id VARCHAR) | What was the value in 2012 when 2002 was Q1 and 2010 was 1R? |
SELECT type FROM table_name_15 WHERE gnis_id = 1139805 | CREATE TABLE table_name_15 (type VARCHAR, gnis_id VARCHAR) | What type has a GNIS ID of 1139805 |
SELECT name FROM table_name_85 WHERE usgs_map = "clear lake" | CREATE TABLE table_name_85 (name VARCHAR, usgs_map VARCHAR) | Which name has a USGS Map of clear lake? |
SELECT status FROM table_name_31 WHERE name = "norris" | CREATE TABLE table_name_31 (status VARCHAR, name VARCHAR) | What is the status of Norris? |
SELECT source FROM table_name_18 WHERE name = "laird" | CREATE TABLE table_name_18 (source VARCHAR, name VARCHAR) | What is the source for Laird? |
SELECT 1958 AS _ciΓ© FROM table_name_69 WHERE class = "s" | CREATE TABLE table_name_69 (class VARCHAR) | What 1958 CIE is class s? |
SELECT date_withdrawn FROM table_name_96 WHERE fleet_numbers = "12, 25, 42β46, 50, 70β71, 74β77, 106β107, 129" | CREATE TABLE table_name_96 (date_withdrawn VARCHAR, fleet_numbers VARCHAR) | What day withdrawn is associated with fleet numbers of 12, 25, 42β46, 50, 70β71, 74β77, 106β107, 129? |
SELECT player FROM table_name_72 WHERE score = 74 - 74 - 73 - 70 = 291 | CREATE TABLE table_name_72 (player VARCHAR, score VARCHAR) | Which player has a score of 74-74-73-70=291? |
SELECT AVG(earnings___) AS $__ FROM table_name_58 WHERE country = "united states" AND score = 72 - 68 - 74 - 72 = 286 | CREATE TABLE table_name_58 (earnings___ INTEGER, country VARCHAR, score VARCHAR) | What is the average earnings of a United States player who had a score of 72-68-74-72=286? |
SELECT attendance FROM table_name_12 WHERE loss = "mercker (3-1)" | CREATE TABLE table_name_12 (attendance VARCHAR, loss VARCHAR) | What was the attendance at the game that had a loss of Mercker (3-1)? |
SELECT attendance FROM table_name_49 WHERE loss = "ayala (6-12)" | CREATE TABLE table_name_49 (attendance VARCHAR, loss VARCHAR) | What was the attendance at the game that had a loss of Ayala (6-12)? |
SELECT loss FROM table_name_65 WHERE score = "9-7" | CREATE TABLE table_name_65 (loss VARCHAR, score VARCHAR) | What was the loss of the game that had a score of 9-7? |
SELECT loss FROM table_name_62 WHERE attendance = "14,691" | CREATE TABLE table_name_62 (loss VARCHAR, attendance VARCHAR) | What was the loss of the game attended by 14,691? |
SELECT loss FROM table_name_21 WHERE attendance = "29,704" | CREATE TABLE table_name_21 (loss VARCHAR, attendance VARCHAR) | What was the loss of the game attended by 29,704? |
SELECT winner FROM table_name_66 WHERE location = "clemson, sc" AND date = "november 17, 2012" | CREATE TABLE table_name_66 (winner VARCHAR, location VARCHAR, date VARCHAR) | What is the Winner, when the Location is Clemson, SC, and when the Date is November 17, 2012? |
SELECT location FROM table_name_88 WHERE score = "38-29" | CREATE TABLE table_name_88 (location VARCHAR, score VARCHAR) | What is the Location, when the Score is 38-29? |
SELECT location FROM table_name_63 WHERE score = "35-31" | CREATE TABLE table_name_63 (location VARCHAR, score VARCHAR) | What is the Location, when the Score is 35-31? |
SELECT score FROM table_name_67 WHERE location = "clemson, sc" AND winner = "clemson" AND date = "november 11, 2006" | CREATE TABLE table_name_67 (score VARCHAR, date VARCHAR, location VARCHAR, winner VARCHAR) | What is the Score, when the Location is Clemson, SC, when the Winner is Clemson, and when the Date is November 11, 2006? |
SELECT result FROM table_name_83 WHERE date = "november 16, 1969" | CREATE TABLE table_name_83 (result VARCHAR, date VARCHAR) | What was the game result on November 16, 1969? |
SELECT general_classification FROM table_name_99 WHERE stage = "3" | CREATE TABLE table_name_99 (general_classification VARCHAR, stage VARCHAR) | What is the general classification of stage 3 |
SELECT points_classification FROM table_name_55 WHERE young_rider_classification = "lech piasecki" AND general_classification = "stephen roche" AND winner = "carrera jeans-vagabond" | CREATE TABLE table_name_55 (points_classification VARCHAR, winner VARCHAR, young_rider_classification VARCHAR, general_classification VARCHAR) | How many points did lech piasecki, stephen roche, and carrera jeans-vagabond have? |
SELECT venue FROM table_name_23 WHERE date = "11 september 2012" | CREATE TABLE table_name_23 (venue VARCHAR, date VARCHAR) | What venue was the 11 September 2012 game? |
SELECT MIN(decile) FROM table_name_40 WHERE roll < 3 | CREATE TABLE table_name_40 (decile INTEGER, roll INTEGER) | What is the lowest Decile for a school with a roll smaller than 3? |
SELECT gender FROM table_name_86 WHERE decile = 5 AND roll = 90 | CREATE TABLE table_name_86 (gender VARCHAR, decile VARCHAR, roll VARCHAR) | What is the Gender of students at a school with a Decile of 5 and a Roll of 90? |
SELECT years FROM table_name_27 WHERE roll > 23 AND decile > 5 | CREATE TABLE table_name_27 (years VARCHAR, roll VARCHAR, decile VARCHAR) | Name the Years of schools with a Roll Larger than 23 and a Decile greater than 5. |
SELECT COUNT(roll) FROM table_name_56 WHERE authority = "state" AND area = "hapuku" AND decile > 4 | CREATE TABLE table_name_56 (roll VARCHAR, decile VARCHAR, authority VARCHAR, area VARCHAR) | What is the total number of Rolls of State schools in Hapuku with a Decile greater than 4? |
SELECT d_45 FROM table_name_23 WHERE d_42 = "r 22" | CREATE TABLE table_name_23 (d_45 VARCHAR, d_42 VARCHAR) | What is the D45 associated with a D42 of r 22? |
SELECT d_43 FROM table_name_44 WHERE d_41 = "r 21" | CREATE TABLE table_name_44 (d_43 VARCHAR, d_41 VARCHAR) | What is the D43 associated with a D41 of r 21? |
SELECT d_42 FROM table_name_31 WHERE d_47 = "d 27" | CREATE TABLE table_name_31 (d_42 VARCHAR, d_47 VARCHAR) | What is the D42 associated with a D47 of d 27? |
SELECT d_43 FROM table_name_92 WHERE d_41 = "r 16" | CREATE TABLE table_name_92 (d_43 VARCHAR, d_41 VARCHAR) | What is the D43 associated with a D41 of r 16? |
SELECT record FROM table_name_84 WHERE loss = "hargan (14β13)" | CREATE TABLE table_name_84 (record VARCHAR, loss VARCHAR) | What is the record for the game when the loss was hargan (14β13)? |
SELECT record FROM table_name_10 WHERE score = "7β5" | CREATE TABLE table_name_10 (record VARCHAR, score VARCHAR) | What is the record for the game with a score of 7β5? |
SELECT date FROM table_name_4 WHERE loss = "aker (3β8)" | CREATE TABLE table_name_4 (date VARCHAR, loss VARCHAR) | What date was the game with loss of Aker (3β8)? |
SELECT opponent FROM table_name_86 WHERE score = "7β1" | CREATE TABLE table_name_86 (opponent VARCHAR, score VARCHAR) | What team was the opponent when the score was 7β1? |
SELECT score FROM table_name_18 WHERE opponent = "orioles" AND loss = "morehead (5β4)" | CREATE TABLE table_name_18 (score VARCHAR, opponent VARCHAR, loss VARCHAR) | What was the score when the opponent was the Orioles and the loss shows morehead (5β4)? |
SELECT opponent FROM table_name_35 WHERE record = "60-61" | CREATE TABLE table_name_35 (opponent VARCHAR, record VARCHAR) | Name the opponent with a record of 60-61 |
SELECT name FROM table_name_94 WHERE perfection = "77.96%" | CREATE TABLE table_name_94 (name VARCHAR, perfection VARCHAR) | Who had a perfection percentage of 77.96%? |
SELECT rank FROM table_name_46 WHERE name = "svetlana fedorenko" | CREATE TABLE table_name_46 (rank VARCHAR, name VARCHAR) | What was the rank of Svetlana Fedorenko? |
SELECT name FROM table_name_62 WHERE perfection = "73.24%" | CREATE TABLE table_name_62 (name VARCHAR, perfection VARCHAR) | Who had a perfection percentage of 73.24%? |
SELECT score FROM table_name_38 WHERE date = "june 1" | CREATE TABLE table_name_38 (score VARCHAR, date VARCHAR) | What was the score of the game on June 1? |
SELECT score FROM table_name_6 WHERE opponent = "andrei pavel" | CREATE TABLE table_name_6 (score VARCHAR, opponent VARCHAR) | What was the score against andrei pavel? |
SELECT date FROM table_name_52 WHERE tournament = "bologna" | CREATE TABLE table_name_52 (date VARCHAR, tournament VARCHAR) | When was the tournament of bologna? |
SELECT opponent FROM table_name_31 WHERE surface = "clay" AND score = "6β1, 7β6" | CREATE TABLE table_name_31 (opponent VARCHAR, surface VARCHAR, score VARCHAR) | Who played on clay and had a score of 6β1, 7β6? |
SELECT opponent FROM table_name_16 WHERE surface = "clay" AND date = "3 march 2012" | CREATE TABLE table_name_16 (opponent VARCHAR, surface VARCHAR, date VARCHAR) | Who played on clay on 3 march 2012? |