question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the lowest Perigee with a Launch date of 1970-08-26?
CREATE TABLE table_name_30 (perigee__km_ INTEGER, launch_date VARCHAR)
SELECT MIN(perigee__km_) FROM table_name_30 WHERE launch_date = "1970-08-26"
How many total appearances did Grant Brebner have?
CREATE TABLE table_name_5 (total VARCHAR, name VARCHAR)
SELECT total FROM table_name_5 WHERE name = "grant brebner"
Which player has an A-League of 150 (4)?
CREATE TABLE table_name_1 (name VARCHAR, a_league VARCHAR)
SELECT name FROM table_name_1 WHERE a_league = "150 (4)"
Which player had a total of 116 (22)?
CREATE TABLE table_name_3 (name VARCHAR, total VARCHAR)
SELECT name FROM table_name_3 WHERE total = "116 (22)"
Which player has an A-League of 150 (4)?
CREATE TABLE table_name_40 (name VARCHAR, a_league VARCHAR)
SELECT name FROM table_name_40 WHERE a_league = "150 (4)"
Which player has an A-League of 113 (0)?
CREATE TABLE table_name_6 (name VARCHAR, a_league VARCHAR)
SELECT name FROM table_name_6 WHERE a_league = "113 (0)"
What is the data limit for a T-Mobile internet basic plan?
CREATE TABLE table_name_18 (data_limit__gb VARCHAR, company VARCHAR, plan_name VARCHAR)
SELECT data_limit__gb FROM table_name_18 WHERE company = "t-mobile" AND plan_name = "internet basic"
What is the data limit for vodafone?
CREATE TABLE table_name_8 (data_limit__gb VARCHAR, company VARCHAR)
SELECT data_limit__gb FROM table_name_8 WHERE company = "vodafone"
What plan has monthly prices of 300, 500, 750, 1000?
CREATE TABLE table_name_14 (plan_name VARCHAR, monthly_price_incl_vat__czk VARCHAR)
SELECT plan_name FROM table_name_14 WHERE monthly_price_incl_vat__czk = "300, 500, 750, 1000"
What is the maximum download speed for the Internet premium 3G plan?
CREATE TABLE table_name_5 (maximum_download_speed__kbps VARCHAR, technology VARCHAR, plan_name VARCHAR)
SELECT maximum_download_speed__kbps FROM table_name_5 WHERE technology = "3g" AND plan_name = "internet premium"
What is the maximum download speed for the Internet basic plan with 3G?
CREATE TABLE table_name_24 (maximum_download_speed__kbps VARCHAR, technology VARCHAR, plan_name VARCHAR)
SELECT maximum_download_speed__kbps FROM table_name_24 WHERE technology = "3g" AND plan_name = "internet basic"
What is the to par for Gene Littler?
CREATE TABLE table_name_42 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_42 WHERE player = "gene littler"
What is the country that placed 4?
CREATE TABLE table_name_91 (country VARCHAR, place VARCHAR)
SELECT country FROM table_name_91 WHERE place = "4"
Which school has a decile of 8 and a roll of 705?
CREATE TABLE table_name_27 (name VARCHAR, decile VARCHAR, roll VARCHAR)
SELECT name FROM table_name_27 WHERE decile = 8 AND roll = 705
What is the roll of the school in Oakura?
CREATE TABLE table_name_59 (roll INTEGER, area VARCHAR)
SELECT SUM(roll) FROM table_name_59 WHERE area = "oakura"
What is the avererage decile of Francis Douglas Memorial College?
CREATE TABLE table_name_74 (decile INTEGER, name VARCHAR)
SELECT AVG(decile) FROM table_name_74 WHERE name = "francis douglas memorial college"
What was the final score in a 2002 fifa world cup qualification that was less than 10?
CREATE TABLE table_name_98 (result VARCHAR, competition VARCHAR, goal VARCHAR)
SELECT result FROM table_name_98 WHERE competition = "2002 fifa world cup qualification" AND goal < 10
What is the earliest year with points more than 8?
CREATE TABLE table_name_38 (year INTEGER, pts INTEGER)
SELECT MIN(year) FROM table_name_38 WHERE pts > 8
What are the points for a chassis of march 811?
CREATE TABLE table_name_7 (pts INTEGER, chassis VARCHAR)
SELECT SUM(pts) FROM table_name_7 WHERE chassis = "march 811"
Who had 8 points, later than 1980, and a theodore ty02 chassis?
CREATE TABLE table_name_73 (entrant VARCHAR, chassis VARCHAR, year VARCHAR, pts VARCHAR)
SELECT entrant FROM table_name_73 WHERE year > 1980 AND pts = 8 AND chassis = "theodore ty02"
Which United States player has a To par of 14?
CREATE TABLE table_name_2 (player VARCHAR, country VARCHAR, to_par VARCHAR)
SELECT player FROM table_name_2 WHERE country = "united states" AND to_par = 14
Which year averaged less than 9 points?
CREATE TABLE table_name_32 (year INTEGER, points INTEGER)
SELECT AVG(year) FROM table_name_32 WHERE points < 9
What is the total points of teams using a ligier js11/15 chassis?
CREATE TABLE table_name_18 (points VARCHAR, chassis VARCHAR)
SELECT COUNT(points) FROM table_name_18 WHERE chassis = "ligier js11/15"
What is the highest year team tyrrell earned more than 14 points?
CREATE TABLE table_name_20 (year INTEGER, entrant VARCHAR, points VARCHAR)
SELECT MAX(year) FROM table_name_20 WHERE entrant = "team tyrrell" AND points > 14
Which club had 1, draw, 11 lost, and a try bonus of 7?
CREATE TABLE table_name_65 (club VARCHAR, try_bonus VARCHAR, drawn VARCHAR, lost VARCHAR)
SELECT club FROM table_name_65 WHERE drawn = "1" AND lost = "11" AND try_bonus = "7"
How many tries against were there when there was 961 points against?
CREATE TABLE table_name_29 (tries_against VARCHAR, points_against VARCHAR)
SELECT tries_against FROM table_name_29 WHERE points_against = "961"
Which of the clubs had 556 points against?
CREATE TABLE table_name_75 (club VARCHAR, points_against VARCHAR)
SELECT club FROM table_name_75 WHERE points_against = "556"
How many tries against were there with 17 losses?
CREATE TABLE table_name_2 (tries_against VARCHAR, lost VARCHAR)
SELECT tries_against FROM table_name_2 WHERE lost = "17"
How many losses were there with 103 tries for?
CREATE TABLE table_name_84 (lost VARCHAR, tries_for VARCHAR)
SELECT lost FROM table_name_84 WHERE tries_for = "103"
Name the highest revenue for schalke 04 with rank less than 10
CREATE TABLE table_name_44 (revenue__ INTEGER, team VARCHAR, rank VARCHAR)
SELECT MAX(revenue__) AS $m_ FROM table_name_44 WHERE team = "schalke 04" AND rank < 10
Name the rank for tottenham hotspur
CREATE TABLE table_name_7 (rank VARCHAR, team VARCHAR)
SELECT rank FROM table_name_7 WHERE team = "tottenham hotspur"
Name the least revenue for chelsea of england with rank less than 7
CREATE TABLE table_name_73 (revenue__ INTEGER, rank VARCHAR, country VARCHAR, team VARCHAR)
SELECT MIN(revenue__) AS $m_ FROM table_name_73 WHERE country = "england" AND team = "chelsea" AND rank < 7
Name the total number of value for revenue more than 193 and rank less than 12 for manchester united
CREATE TABLE table_name_21 (value__ VARCHAR, team VARCHAR, revenue__$m_ VARCHAR, rank VARCHAR)
SELECT COUNT(value__) AS $m_ FROM table_name_21 WHERE revenue__$m_ > 193 AND rank < 12 AND team = "manchester united"
What is the lowest rank of Qaanaaq, which has a population greater than 231?
CREATE TABLE table_name_28 (rank INTEGER, population VARCHAR, name VARCHAR)
SELECT MIN(rank) FROM table_name_28 WHERE population > 231 AND name = "qaanaaq"
What is the rank of the town with a population of 258?
CREATE TABLE table_name_4 (rank VARCHAR, population VARCHAR)
SELECT COUNT(rank) FROM table_name_4 WHERE population = 258
When is a Decision of osgood, and a Score of 6 – 7?
CREATE TABLE table_name_76 (date VARCHAR, decision VARCHAR, score VARCHAR)
SELECT date FROM table_name_76 WHERE decision = "osgood" AND score = "6 – 7"
What date has a Decision of osgood, and a Score of 3 – 4?
CREATE TABLE table_name_63 (date VARCHAR, decision VARCHAR, score VARCHAR)
SELECT date FROM table_name_63 WHERE decision = "osgood" AND score = "3 – 4"
List a name that has a heat of at least 3 and a Lane of exactly 5.
CREATE TABLE table_name_54 (name VARCHAR, heat VARCHAR, lane VARCHAR)
SELECT name FROM table_name_54 WHERE heat > 3 AND lane = 5
Name the sum of time for lane of 1 and rank less than 8
CREATE TABLE table_name_17 (time INTEGER, lane VARCHAR, rank VARCHAR)
SELECT SUM(time) FROM table_name_17 WHERE lane = 1 AND rank < 8
Name the championship with reign of 8
CREATE TABLE table_name_36 (championship VARCHAR, reign VARCHAR)
SELECT championship FROM table_name_36 WHERE reign = "8"
Name the days for current champions of dean ambrose
CREATE TABLE table_name_33 (days_held VARCHAR, current_champion_s_ VARCHAR)
SELECT days_held FROM table_name_33 WHERE current_champion_s_ = "dean ambrose"
Name the location of reign 3
CREATE TABLE table_name_76 (location VARCHAR, reign VARCHAR)
SELECT location FROM table_name_76 WHERE reign = "3"
Name the date won for wwe intercontinental championship
CREATE TABLE table_name_10 (date_won VARCHAR, championship VARCHAR)
SELECT date_won FROM table_name_10 WHERE championship = "wwe intercontinental championship"
When was Ranma ½: netsuretsu kakutouhen first release by Banpresto?
CREATE TABLE table_name_41 (initial_release_date VARCHAR, publisher VARCHAR, japanese_title VARCHAR)
SELECT initial_release_date FROM table_name_41 WHERE publisher = "banpresto" AND japanese_title = "ranma ½: netsuretsu kakutouhen"
In what genre did Microvision develop a game?
CREATE TABLE table_name_49 (genre VARCHAR, developer VARCHAR)
SELECT genre FROM table_name_49 WHERE developer = "microvision"
What genre is the Banpresto game tittled Ranma ½: netsuretsu kakutouhen?
CREATE TABLE table_name_34 (genre VARCHAR, developer VARCHAR, japanese_title VARCHAR)
SELECT genre FROM table_name_34 WHERE developer = "banpresto" AND japanese_title = "ranma ½: netsuretsu kakutouhen"
Position of defensive back, and an Overall smaller than 69 is what lowest pick #?
CREATE TABLE table_name_7 (pick__number INTEGER, position VARCHAR, overall VARCHAR)
SELECT MIN(pick__number) FROM table_name_7 WHERE position = "defensive back" AND overall < 69
Round of 11, and a Pick # larger than 14 is the highest overall pick?
CREATE TABLE table_name_64 (overall INTEGER, round VARCHAR, pick__number VARCHAR)
SELECT MAX(overall) FROM table_name_64 WHERE round = 11 AND pick__number > 14
Overall of 208 occurred in what round?
CREATE TABLE table_name_67 (round VARCHAR, overall VARCHAR)
SELECT round FROM table_name_67 WHERE overall = 208
what player has To par of –3, and a Score of 73-68=141?
CREATE TABLE table_name_62 (player VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT player FROM table_name_62 WHERE to_par = "–3" AND score = 73 - 68 = 141
what was steve flesch's to par when he was placed at t3 in the united states?
CREATE TABLE table_name_71 (to_par VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR)
SELECT to_par FROM table_name_71 WHERE place = "t3" AND country = "united states" AND player = "steve flesch"
where did arron oberholser play?
CREATE TABLE table_name_84 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_84 WHERE player = "arron oberholser"
what's the score in canada with place of t8?
CREATE TABLE table_name_83 (score VARCHAR, country VARCHAR, place VARCHAR)
SELECT score FROM table_name_83 WHERE country = "canada" AND place = "t8"
How many people attended the game on June 18?
CREATE TABLE table_name_85 (attendance VARCHAR, date VARCHAR)
SELECT COUNT(attendance) FROM table_name_85 WHERE date = "june 18"
When was the earliest first game with 11 played and 12 games lost?
CREATE TABLE table_name_60 (first_game INTEGER, played VARCHAR, lost VARCHAR)
SELECT MIN(first_game) FROM table_name_60 WHERE played > 11 AND lost = 12
What is the average number of games played associated with a first game in 1997 and over 0 games drawn?
CREATE TABLE table_name_48 (played INTEGER, first_game VARCHAR, drawn VARCHAR)
SELECT AVG(played) FROM table_name_48 WHERE first_game = 1997 AND drawn > 0
How many first games are associated with 5 games played and under 3 games lost?
CREATE TABLE table_name_85 (first_game INTEGER, played VARCHAR, lost VARCHAR)
SELECT SUM(first_game) FROM table_name_85 WHERE played = 5 AND lost < 3
How many games drawn when there are 78 losses and over 121 games played?
CREATE TABLE table_name_41 (drawn VARCHAR, lost VARCHAR, played VARCHAR)
SELECT COUNT(drawn) FROM table_name_41 WHERE lost = 78 AND played > 121
How many times was there a draw when played is more than 4 and the first game is in 2000?
CREATE TABLE table_name_24 (drawn VARCHAR, played VARCHAR, first_game VARCHAR)
SELECT drawn FROM table_name_24 WHERE played > 4 AND first_game = 2000
what is the most games lost when there were 0 draws?
CREATE TABLE table_name_15 (lost INTEGER, drawn INTEGER)
SELECT MAX(lost) FROM table_name_15 WHERE drawn < 0
what is the highest number of games played when there was 2 losses, percentage was 0.00% and more than 0 draws?
CREATE TABLE table_name_2 (played INTEGER, drawn VARCHAR, lost VARCHAR, percentage VARCHAR)
SELECT MAX(played) FROM table_name_2 WHERE lost = 2 AND percentage = "0.00%" AND drawn > 0
what is the most lost games when the percentage is 50.00% and games played is less than 2?
CREATE TABLE table_name_95 (lost INTEGER, percentage VARCHAR, played VARCHAR)
SELECT MAX(lost) FROM table_name_95 WHERE percentage = "50.00%" AND played < 2
how many draws are there when percentage is 100.00% and played is 7?
CREATE TABLE table_name_54 (drawn VARCHAR, percentage VARCHAR, played VARCHAR)
SELECT drawn FROM table_name_54 WHERE percentage = "100.00%" AND played = 7
how many times is there more than 0 draws and more than 0 losses?
CREATE TABLE table_name_5 (played VARCHAR, drawn VARCHAR, lost VARCHAR)
SELECT COUNT(played) FROM table_name_5 WHERE drawn > 0 AND lost > 0
Which Club has a Not winning editions of 1992, 2003?
CREATE TABLE table_name_9 (club VARCHAR, not_winning_editions VARCHAR)
SELECT club FROM table_name_9 WHERE not_winning_editions = "1992, 2003"
Who Finalists has a Club of győri?
CREATE TABLE table_name_22 (finalists VARCHAR, club VARCHAR)
SELECT finalists FROM table_name_22 WHERE club = "győri"
Who is Winners that has editions of 1992, 2003 as Not Winning
CREATE TABLE table_name_77 (winners VARCHAR, not_winning_editions VARCHAR)
SELECT winners FROM table_name_77 WHERE not_winning_editions = "1992, 2003"
What is the Finalists that has 2008, 2012, 2013 as Not winning editions
CREATE TABLE table_name_88 (finalists VARCHAR, not_winning_editions VARCHAR)
SELECT finalists FROM table_name_88 WHERE not_winning_editions = "2008, 2012, 2013"
What engine was in the Theodore n183?
CREATE TABLE table_name_9 (engine VARCHAR, chassis VARCHAR)
SELECT engine FROM table_name_9 WHERE chassis = "theodore n183"
Who is listed as the Winners with a Year of 2005?
CREATE TABLE table_name_79 (winners VARCHAR, year VARCHAR)
SELECT winners FROM table_name_79 WHERE year = "2005"
Which Venue has a Year of 2005?
CREATE TABLE table_name_37 (venue VARCHAR, year VARCHAR)
SELECT venue FROM table_name_37 WHERE year = "2005"
What is the score when november 15 is the date?
CREATE TABLE table_name_86 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_86 WHERE date = "november 15"
What record has November 15 as the date?
CREATE TABLE table_name_32 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_32 WHERE date = "november 15"
What tournament what held in Cincinnati in 2009?
CREATE TABLE table_name_53 (tournament VARCHAR)
SELECT 2009 FROM table_name_53 WHERE tournament = "cincinnati"
How many games played when the points for is 369?
CREATE TABLE table_name_89 (played VARCHAR, points_for VARCHAR)
SELECT played FROM table_name_89 WHERE points_for = "369"
what is the club that as 100 tries?
CREATE TABLE table_name_48 (club VARCHAR, tries_for VARCHAR)
SELECT club FROM table_name_48 WHERE tries_for = "100"
what is the points for when the club has 0 drawn and 60 tries against?
CREATE TABLE table_name_71 (points_for VARCHAR, drawn VARCHAR, tries_against VARCHAR)
SELECT points_for FROM table_name_71 WHERE drawn = "0" AND tries_against = "60"
How many draws are for the club senghenydd rfc?
CREATE TABLE table_name_5 (drawn VARCHAR, club VARCHAR)
SELECT drawn FROM table_name_5 WHERE club = "senghenydd rfc"
What is senghenydd rfc's points for?
CREATE TABLE table_name_37 (points_for VARCHAR, club VARCHAR)
SELECT points_for FROM table_name_37 WHERE club = "senghenydd rfc"
what is the amount lost when there is 1 draw and 515 points?
CREATE TABLE table_name_72 (lost VARCHAR, drawn VARCHAR, points_for VARCHAR)
SELECT lost FROM table_name_72 WHERE drawn = "1" AND points_for = "515"
In which year was Angélica Rivera a nominee?
CREATE TABLE table_name_66 (year INTEGER, nominee VARCHAR)
SELECT AVG(year) FROM table_name_66 WHERE nominee = "angélica rivera"
What is the average lap of the race with a 23 finish?
CREATE TABLE table_name_49 (laps INTEGER, finish VARCHAR)
SELECT AVG(laps) FROM table_name_49 WHERE finish = "23"
What is the lowest lap with a 145.926 qual?
CREATE TABLE table_name_6 (laps INTEGER, qual VARCHAR)
SELECT MIN(laps) FROM table_name_6 WHERE qual = "145.926"
What is the finish with 51 laps?
CREATE TABLE table_name_98 (finish VARCHAR, laps VARCHAR)
SELECT finish FROM table_name_98 WHERE laps = 51
How many laps were in 1958?
CREATE TABLE table_name_80 (laps INTEGER, year VARCHAR)
SELECT SUM(laps) FROM table_name_80 WHERE year = "1958"
What is the smallest area (sq mi) that has 160 as it rank?
CREATE TABLE table_name_82 (area__sq_mi_ INTEGER, rank VARCHAR)
SELECT MIN(area__sq_mi_) FROM table_name_82 WHERE rank = 160
Which rank has a smaller area (sq mi) than 48, and an area (km2) greater than 104, and an island of sula, sogn og fjordane?
CREATE TABLE table_name_12 (rank VARCHAR, island VARCHAR, area__sq_mi_ VARCHAR, area__km²_ VARCHAR)
SELECT rank FROM table_name_12 WHERE area__sq_mi_ < 48 AND area__km²_ > 104 AND island = "sula, sogn og fjordane"
with Distribution of 10.6% what is the average api level?
CREATE TABLE table_name_7 (api_level INTEGER, distribution VARCHAR)
SELECT AVG(api_level) FROM table_name_7 WHERE distribution = "10.6%"
with release date of february 9, 2011, what is the api level?
CREATE TABLE table_name_74 (api_level INTEGER, release_date VARCHAR)
SELECT AVG(api_level) FROM table_name_74 WHERE release_date = "february 9, 2011"
with api level 3, what is the code name?
CREATE TABLE table_name_12 (code_name VARCHAR, api_level VARCHAR)
SELECT code_name FROM table_name_12 WHERE api_level = 3
with distribution of 20.6% what is the code name?
CREATE TABLE table_name_90 (code_name VARCHAR, distribution VARCHAR)
SELECT code_name FROM table_name_90 WHERE distribution = "20.6%"
with api level of 18, what's the code name?
CREATE TABLE table_name_71 (code_name VARCHAR, api_level VARCHAR)
SELECT code_name FROM table_name_71 WHERE api_level = 18
Which entrant had fewer than 33 points in 1999?
CREATE TABLE table_name_83 (entrant VARCHAR, points VARCHAR, year VARCHAR)
SELECT entrant FROM table_name_83 WHERE points < 33 AND year = 1999
Which chassis had 16 points?
CREATE TABLE table_name_43 (chassis VARCHAR, points VARCHAR)
SELECT chassis FROM table_name_43 WHERE points = 16
Which gc37-01 v10 engine has the fewest points?
CREATE TABLE table_name_23 (points INTEGER, engine VARCHAR)
SELECT MIN(points) FROM table_name_23 WHERE engine = "gc37-01 v10"
What was Kerry's lowest number of votes where Other received 0.8% and Kerry 70.4%?
CREATE TABLE table_name_65 (kerry__number INTEGER, others__percentage VARCHAR, kerry__percentage VARCHAR)
SELECT MIN(kerry__number) FROM table_name_65 WHERE others__percentage = "0.8%" AND kerry__percentage = "70.4%"
How many votes did Others receive where Kerry has 44.6%, and Bush more than 163,650 votes?
CREATE TABLE table_name_65 (others__number VARCHAR, kerry__percentage VARCHAR, bush__number VARCHAR)
SELECT COUNT(others__number) FROM table_name_65 WHERE kerry__percentage = "44.6%" AND bush__number > 163 OFFSET 650
Which Title has a Termination of Mission of current?
CREATE TABLE table_name_94 (title VARCHAR, termination_of_mission VARCHAR)
SELECT title FROM table_name_94 WHERE termination_of_mission = "current"
Which Appointed has Termination of Mission on april 7, 2005?
CREATE TABLE table_name_40 (appointed_by VARCHAR, termination_of_mission VARCHAR)
SELECT appointed_by FROM table_name_40 WHERE termination_of_mission = "april 7, 2005"
Which Appointed has a Presentation of Credentials on November 22, 1990
CREATE TABLE table_name_45 (appointed_by VARCHAR, presentation_of_credentials VARCHAR)
SELECT appointed_by FROM table_name_45 WHERE presentation_of_credentials = "november 22, 1990"