answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT score FROM table_name_87 WHERE 2012 = "15.0%"
CREATE TABLE table_name_87 (score VARCHAR)
What score has 15.0% as the 2012?
SELECT 2008 FROM table_name_31 WHERE 2009 = "14.2%"
CREATE TABLE table_name_31 (Id VARCHAR)
What 2008 has 14.2% as the 2009?
SELECT score FROM table_name_16 WHERE 2012 = "15.0%"
CREATE TABLE table_name_16 (score VARCHAR)
What score has 15.0% as the 2012?
SELECT 2009 FROM table_name_49 WHERE 2007 = "18.5%"
CREATE TABLE table_name_49 (Id VARCHAR)
What 2009 has 18.5% as the 2007?
SELECT 2011 FROM table_name_33 WHERE 2010 = "12.7%"
CREATE TABLE table_name_33 (Id VARCHAR)
What 2011 has 12.7% as the 2010?
SELECT MAX(week) FROM table_name_44 WHERE result = "l 24-0"
CREATE TABLE table_name_44 (week INTEGER, result VARCHAR)
What is the Week of the game with a Result of L 24-0?
SELECT COUNT(week) FROM table_name_17 WHERE date = "december 18, 1960"
CREATE TABLE table_name_17 (week VARCHAR, date VARCHAR)
What is the Week number on December 18, 1960?
SELECT pick FROM table_name_3 WHERE position = "defensive end"
CREATE TABLE table_name_3 (pick VARCHAR, position VARCHAR)
Which pick played the Defensive End position?
SELECT COUNT(pick) FROM table_name_41 WHERE position = "linebacker" AND round < 3
CREATE TABLE table_name_41 (pick VARCHAR, position VARCHAR, round VARCHAR)
How many picks were taken before round 3 and played Linebacker?
SELECT AVG(silver) FROM table_name_88 WHERE total = 9
CREATE TABLE table_name_88 (silver INTEGER, total VARCHAR)
What is the average number of silver medals won among nations that won 9 medals total?
SELECT MAX(round) FROM table_name_63 WHERE pick > 179
CREATE TABLE table_name_63 (round INTEGER, pick INTEGER)
Which Round has a Pick larger than 179?
SELECT MAX(pick) FROM table_name_33 WHERE player = "jamar martin"
CREATE TABLE table_name_33 (pick INTEGER, player VARCHAR)
What is jamar martin's highest pick?
SELECT team FROM table_name_91 WHERE rank > 4 AND speed = "104.574mph"
CREATE TABLE table_name_91 (team VARCHAR, rank VARCHAR, speed VARCHAR)
What teams rank is higher than 4 with a speed of 104.574mph?
SELECT team FROM table_name_32 WHERE rider = "anthony redmond"
CREATE TABLE table_name_32 (team VARCHAR, rider VARCHAR)
What team does Anthony Redmond ride for?
SELECT speed FROM table_name_86 WHERE rank < 3 AND time = "1:03.41.86"
CREATE TABLE table_name_86 (speed VARCHAR, rank VARCHAR, time VARCHAR)
What was the speed with a time of 1:03.41.86 and a rank smaller than 3?
SELECT school FROM table_name_11 WHERE enrollment > 473 AND ihsaa_class = "aaa" AND _number___county = "72 scott"
CREATE TABLE table_name_11 (school VARCHAR, _number___county VARCHAR, enrollment VARCHAR, ihsaa_class VARCHAR)
What school in 72 Scott county has an enrollment more than 473 with an AAA IHSAA Class?
SELECT mascot FROM table_name_34 WHERE enrollment < 627 AND ihsaa_class = "aa" AND school = "eastern pekin"
CREATE TABLE table_name_34 (mascot VARCHAR, school VARCHAR, enrollment VARCHAR, ihsaa_class VARCHAR)
What's the mascot of Eastern Pekin having less than 627 enrolled and an AA for their IHSAA Class?
SELECT MAX(enrollment) FROM table_name_88 WHERE ihsaa_class = "aaa" AND mascot = "dragons"
CREATE TABLE table_name_88 (enrollment INTEGER, ihsaa_class VARCHAR, mascot VARCHAR)
What's the most enrolled having the dragons for a mascot and an AAA for the IHSAA Class?
SELECT _number___county FROM table_name_54 WHERE enrollment < 774 AND school = "eastern pekin"
CREATE TABLE table_name_54 (_number___county VARCHAR, enrollment VARCHAR, school VARCHAR)
What's the county of Eastern Pekin school with fewer than 774 enrolled?
SELECT location FROM table_name_28 WHERE ihsaa_class = "aaa" AND mascot = "panthers"
CREATE TABLE table_name_28 (location VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR)
What's the location of the school having the panthers as a mascot with an AAA for the IHSAA Class?
SELECT ihsaa_class FROM table_name_1 WHERE mascot = "musketeers"
CREATE TABLE table_name_1 (ihsaa_class VARCHAR, mascot VARCHAR)
What's the IHSAA Class when the mascot was the Musketeers?
SELECT director FROM table_name_74 WHERE title = "chaser on the rocks"
CREATE TABLE table_name_74 (director VARCHAR, title VARCHAR)
Who was the director of Chaser on the Rocks?
SELECT characters FROM table_name_80 WHERE title = "suppressed duck"
CREATE TABLE table_name_80 (characters VARCHAR, title VARCHAR)
What are the characters from the movie Suppressed Duck?
SELECT AVG(pick) FROM table_name_7 WHERE player = "jay bruchak" AND round < 6
CREATE TABLE table_name_7 (pick INTEGER, player VARCHAR, round VARCHAR)
How many picks on average did Jay Bruchak have before round 6?
SELECT COUNT(round) FROM table_name_13 WHERE pick > 148 AND player = "pierre bland"
CREATE TABLE table_name_13 (round VARCHAR, pick VARCHAR, player VARCHAR)
How many rounds did Pierre Bland have a pick larger than 148?
SELECT MIN(round) FROM table_name_16 WHERE college = "purdue" AND pick > 10
CREATE TABLE table_name_16 (round INTEGER, college VARCHAR, pick VARCHAR)
What was the earliest round that Purdue had a pick larger than 10?
SELECT COUNT(pick) FROM table_name_31 WHERE player = "jay bruchak"
CREATE TABLE table_name_31 (pick VARCHAR, player VARCHAR)
How many picks did Jay Bruchak have?
SELECT round FROM table_name_85 WHERE home = "alianza"
CREATE TABLE table_name_85 (round VARCHAR, home VARCHAR)
In what round was the Alianza home game?
SELECT away FROM table_name_48 WHERE round = "round 16"
CREATE TABLE table_name_48 (away VARCHAR, round VARCHAR)
What was the visiting team that played a round 16 game?
SELECT SUM(week) FROM table_name_68 WHERE attendance = 62 OFFSET 289
CREATE TABLE table_name_68 (week INTEGER, attendance VARCHAR)
How many weeks have an Attendance of 62,289?
SELECT MAX(week) FROM table_name_57 WHERE attendance > 65 OFFSET 070
CREATE TABLE table_name_57 (week INTEGER, attendance INTEGER)
Which Week has an Attendance larger than 65,070?
SELECT MIN(week) FROM table_name_58 WHERE opponent = "atlanta falcons" AND attendance < 63 OFFSET 114
CREATE TABLE table_name_58 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
Which Week has an Opponent of atlanta falcons, and an Attendance smaller than 63,114?
SELECT tms FROM table_name_59 WHERE season = "2013"
CREATE TABLE table_name_59 (tms VARCHAR, season VARCHAR)
which Tms has a Season of 2013?
SELECT MIN(population) FROM table_name_19 WHERE code > 90902 AND area__km_2__ < 1 OFFSET 335.47
CREATE TABLE table_name_19 (population INTEGER, code VARCHAR, area__km_2__ VARCHAR)
What's the population with a code more than 90902 and an area less than 1,335.47?
SELECT MAX(area__km_2__) FROM table_name_72 WHERE place = "bochum part 2" AND population < 15 OFFSET 911
CREATE TABLE table_name_72 (area__km_2__ INTEGER, place VARCHAR, population VARCHAR)
What's the most area of Bochum Part 2 with a population less than 15,911?
SELECT original_nfl_team FROM table_name_31 WHERE pos = "cb"
CREATE TABLE table_name_31 (original_nfl_team VARCHAR, pos VARCHAR)
What is the Original NFL team of the CB Player?
SELECT college FROM table_name_70 WHERE conf = "swc" AND pos = "wr"
CREATE TABLE table_name_70 (college VARCHAR, conf VARCHAR, pos VARCHAR)
What is the College of the WR Player from SWC Conf?
SELECT player FROM table_name_5 WHERE college = "memphis"
CREATE TABLE table_name_5 (player VARCHAR, college VARCHAR)
What Player is from the College of memphis?
SELECT college FROM table_name_70 WHERE pos = "lb" AND conf = "big ten"
CREATE TABLE table_name_70 (college VARCHAR, pos VARCHAR, conf VARCHAR)
What is the College of the LB Player with Big Ten Conf.?
SELECT SUM(draws) FROM table_name_92 WHERE wins = 11 AND losses > 7
CREATE TABLE table_name_92 (draws INTEGER, wins VARCHAR, losses VARCHAR)
How many draws are there when there are 11 wins, and more than 7 losses?
SELECT MAX(draws) FROM table_name_20 WHERE losses < 3 AND wins > 16
CREATE TABLE table_name_20 (draws INTEGER, losses VARCHAR, wins VARCHAR)
What is the draws when there are less than 3 losses and more than 16 wins?
SELECT MAX(wins) FROM table_name_33 WHERE losses = 5 AND against > 1205
CREATE TABLE table_name_33 (wins INTEGER, losses VARCHAR, against VARCHAR)
What is the wins when there are 5 losses, and against is more than 1205?
SELECT AVG(losses) FROM table_name_20 WHERE sunrayia_fl = "red cliffs" AND against > 2294
CREATE TABLE table_name_20 (losses INTEGER, sunrayia_fl VARCHAR, against VARCHAR)
What is the losses when Sunrayia FL is Red Cliffs, and the against is more than 2294?
SELECT COUNT(against) FROM table_name_73 WHERE losses < 3 AND wins > 16
CREATE TABLE table_name_73 (against VARCHAR, losses VARCHAR, wins VARCHAR)
What is the number against when losses are smaller than 3, and wins arelarger than 16?
SELECT notes FROM table_name_33 WHERE call_sign = "cfun-fm-1"
CREATE TABLE table_name_33 (notes VARCHAR, call_sign VARCHAR)
What is the Notes of the Frequency with Call sign CFUN-FM-1?
SELECT format FROM table_name_65 WHERE notes = "licensed to hope" AND frequency = "fm 100.5"
CREATE TABLE table_name_65 (format VARCHAR, notes VARCHAR, frequency VARCHAR)
What is the Format of FM 100.5 Licensed to Hope?
SELECT notes FROM table_name_82 WHERE call_sign = "cbue-fm"
CREATE TABLE table_name_82 (notes VARCHAR, call_sign VARCHAR)
What is the Notes of the Frequency with a call sign of CBUE-FM?
SELECT AVG(dynamo) FROM table_name_25 WHERE draw > 0 AND played < 15 AND spartak > 1
CREATE TABLE table_name_25 (dynamo INTEGER, spartak VARCHAR, draw VARCHAR, played VARCHAR)
what is the average dynamo when draw is more than 0, played is less than 15 and spartak is more than 1?
SELECT MAX(spartak) FROM table_name_42 WHERE played < 15 AND dynamo < 3
CREATE TABLE table_name_42 (spartak INTEGER, played VARCHAR, dynamo VARCHAR)
what is the highest spartak when played is less than 15 and dynamo is less than 3?
SELECT MAX(draw) FROM table_name_19 WHERE competition = "soviet league" AND dynamo > 34
CREATE TABLE table_name_19 (draw INTEGER, competition VARCHAR, dynamo VARCHAR)
what is the most draw when the competition is soviet league and dynamo is more than 34?
SELECT SUM(spartak) FROM table_name_54 WHERE played = 102 AND draw < 19
CREATE TABLE table_name_54 (spartak INTEGER, played VARCHAR, draw VARCHAR)
what is the sum of spartak when played is 102 and draw is less than 19?
SELECT MIN(dynamo) FROM table_name_12 WHERE spartak > 9 AND competition = "totals" AND draw > 24
CREATE TABLE table_name_12 (dynamo INTEGER, draw VARCHAR, spartak VARCHAR, competition VARCHAR)
what is the least dynamo when spartak is more than 9, competition is totals and draw is more than 24?
SELECT result FROM table_name_85 WHERE week > 8 AND opponent = "washington redskins"
CREATE TABLE table_name_85 (result VARCHAR, week VARCHAR, opponent VARCHAR)
What's the result when the Washington Redskins were the opponents on a week after 8?
SELECT 445 FROM table_name_46 WHERE nationality = "poland" AND name = "anna rogowska"
CREATE TABLE table_name_46 (nationality VARCHAR, name VARCHAR)
What is the 4.45 for Anna Rogowska from Poland?
SELECT 445 FROM table_name_5 WHERE name = "yelena isinbayeva"
CREATE TABLE table_name_5 (name VARCHAR)
What is the 4.45 for Yelena Isinbayeva?
SELECT AVG(result) FROM table_name_7 WHERE name = "anna rogowska"
CREATE TABLE table_name_7 (result INTEGER, name VARCHAR)
What is Anna Rogowska's average result?
SELECT nationality FROM table_name_13 WHERE 445 = "o" AND 455 = "xo"
CREATE TABLE table_name_13 (nationality VARCHAR)
What national has 4.45 for o and 4.55 for xo?
SELECT SUM(staterooms) FROM table_name_62 WHERE year_built = 2008 AND crew < 28
CREATE TABLE table_name_62 (staterooms INTEGER, year_built VARCHAR, crew VARCHAR)
What is the sum of staterooms in with a year buit of 2008, and a crew less than 28?
SELECT COUNT(guests) FROM table_name_89 WHERE ship_name = "rv indochina" AND crew < 28
CREATE TABLE table_name_89 (guests VARCHAR, ship_name VARCHAR, crew VARCHAR)
What is the total for guests with a ship name of rv indochina, and a crew smaller than 28?
SELECT country FROM table_name_4 WHERE total = 111 AND day_1 = 69
CREATE TABLE table_name_4 (country VARCHAR, total VARCHAR, day_1 VARCHAR)
what is the country when the total is 111 and the day 1 is 69?
SELECT AVG(rank) FROM table_name_62 WHERE day_1 < 71 AND country = "romania"
CREATE TABLE table_name_62 (rank INTEGER, day_1 VARCHAR, country VARCHAR)
what is the average rank when the day 1 is less than 71 and the country is romania?
SELECT COUNT(rank) FROM table_name_77 WHERE athlete = "jin di" AND total < 118
CREATE TABLE table_name_77 (rank VARCHAR, athlete VARCHAR, total VARCHAR)
how many times is the athlete jin di and the total less than 118?
SELECT MAX(goals) FROM table_name_6 WHERE nat = "geo" AND ends > 2010
CREATE TABLE table_name_6 (goals INTEGER, nat VARCHAR, ends VARCHAR)
What is the highest goal for a GEO nat., that ended after 2010?
SELECT venue FROM table_name_20 WHERE year = 2006 AND competition = "asian games" AND event = "400 m"
CREATE TABLE table_name_20 (venue VARCHAR, event VARCHAR, year VARCHAR, competition VARCHAR)
what is the venue when the year is 2006, the competition is asian games and the event is 400 m?
SELECT venue FROM table_name_7 WHERE event = "4x400 m relay" AND competition = "asian championships"
CREATE TABLE table_name_7 (venue VARCHAR, event VARCHAR, competition VARCHAR)
what is the venue when the event is 4x400 m relay and the competition is asian championships?
SELECT venue FROM table_name_93 WHERE competition = "asian games" AND event = "4x400 m relay" AND year = 2002
CREATE TABLE table_name_93 (venue VARCHAR, year VARCHAR, competition VARCHAR, event VARCHAR)
what is the venue when the competition is asian games, the event is 4x400 m relay and the year is 2002?
SELECT spokespersons FROM table_name_7 WHERE commentator = "pierre tchernia" AND voting_order = 11
CREATE TABLE table_name_7 (spokespersons VARCHAR, commentator VARCHAR, voting_order VARCHAR)
During the voting order 11, when the commentator was pierre tchernia, who was the spokesperson?
SELECT SUM(voting_order) FROM table_name_50 WHERE commentator = "bunny carr"
CREATE TABLE table_name_50 (voting_order INTEGER, commentator VARCHAR)
What was the voting order when bunny carr was the commentator?
SELECT commentator FROM table_name_35 WHERE spokespersons = "michael aspel"
CREATE TABLE table_name_35 (commentator VARCHAR, spokespersons VARCHAR)
Who was the commentator when the spokesperson was michael aspel?
SELECT voting_order FROM table_name_95 WHERE commentator = "renato tagliani"
CREATE TABLE table_name_95 (voting_order VARCHAR, commentator VARCHAR)
What was the voting order when the commentator was renato tagliani?
SELECT AVG(bronze) FROM table_name_15 WHERE total < 1
CREATE TABLE table_name_15 (bronze INTEGER, total INTEGER)
Which Bronze has a Total smaller than 1?
SELECT COUNT(silver) FROM table_name_95 WHERE bronze > 1 AND gold = 0 AND rank < 4
CREATE TABLE table_name_95 (silver VARCHAR, rank VARCHAR, bronze VARCHAR, gold VARCHAR)
How much Silver has a Bronze larger than 1, and a Gold of 0, and a Rank smaller than 4?
SELECT MAX(bronze) FROM table_name_7 WHERE rank = 4 AND gold < 0
CREATE TABLE table_name_7 (bronze INTEGER, rank VARCHAR, gold VARCHAR)
Which Bronze has a Rank of 4, and a Gold smaller than 0?
SELECT SUM(gold) FROM table_name_78 WHERE bronze < 2 AND silver = 0 AND rank > 3
CREATE TABLE table_name_78 (gold INTEGER, rank VARCHAR, bronze VARCHAR, silver VARCHAR)
How much Gold has a Bronze smaller than 2, and a Silver of 0, and a Rank larger than 3?
SELECT percentage__2011_ FROM table_name_13 WHERE population__2006_ > 120 AND percentage__2006_ = "45.22%"
CREATE TABLE table_name_13 (percentage__2011_ VARCHAR, population__2006_ VARCHAR, percentage__2006_ VARCHAR)
What percentage of the 2011 population had a mother tongue language that was spoken by 45.22% of the population in 2006 (over 120)?
SELECT COUNT(population__2011_) FROM table_name_49 WHERE population__2006_ = 120
CREATE TABLE table_name_49 (population__2011_ VARCHAR, population__2006_ VARCHAR)
What is the total number of people in 2011 speaking the mother tongue language spoken by 120 in 2006?
SELECT MAX(population__2006_) FROM table_name_12 WHERE mother_tongue = "romanian"
CREATE TABLE table_name_12 (population__2006_ INTEGER, mother_tongue VARCHAR)
How many people ha Romanian as their mother tongue in 2006?
SELECT mother_tongue FROM table_name_94 WHERE population__2006_ = 300
CREATE TABLE table_name_94 (mother_tongue VARCHAR, population__2006_ VARCHAR)
What is the mother tongue language shared by 300 people in 2006?
SELECT COUNT(points) FROM table_name_64 WHERE english_translation = "long live life" AND draw < 2
CREATE TABLE table_name_64 (points VARCHAR, english_translation VARCHAR, draw VARCHAR)
What's the total number of points when the English translation is Long Live Life and the draw is less than 2?
SELECT language FROM table_name_65 WHERE draw = 9
CREATE TABLE table_name_65 (language VARCHAR, draw VARCHAR)
What's the language of Draw number 9?
SELECT MIN(points) FROM table_name_87 WHERE language = "portuguese"
CREATE TABLE table_name_87 (points INTEGER, language VARCHAR)
What are the lowest points when the language is Portuguese?
SELECT island FROM table_name_74 WHERE summit = "haleakalā"
CREATE TABLE table_name_74 (island VARCHAR, summit VARCHAR)
What's the island with a summit of Haleakalā?
SELECT MIN(col__m_) FROM table_name_96 WHERE island = "island of molokaʻi" AND rank < 6
CREATE TABLE table_name_96 (col__m_ INTEGER, island VARCHAR, rank VARCHAR)
What's the lowest Col ranked less than 6 with an Island of Molokaʻi?
SELECT col__m_ FROM table_name_84 WHERE rank > 4 AND summit = "kawaikini"
CREATE TABLE table_name_84 (col__m_ VARCHAR, rank VARCHAR, summit VARCHAR)
What's the col (m) ranked more than 4 with a summit of Kawaikini?
SELECT SUM(rank) FROM table_name_80 WHERE col__m_ < 33 AND summit = "haleakalā"
CREATE TABLE table_name_80 (rank INTEGER, col__m_ VARCHAR, summit VARCHAR)
What's the rank when the col (m) is less than 33 and has a summit of Haleakalā?
SELECT summit FROM table_name_72 WHERE col__m_ = 0 AND rank < 2
CREATE TABLE table_name_72 (summit VARCHAR, col__m_ VARCHAR, rank VARCHAR)
What's the summit when the rank is less than 2 and has a col (m) of 0?
SELECT year FROM table_name_58 WHERE edition = "41st"
CREATE TABLE table_name_58 (year VARCHAR, edition VARCHAR)
Which Year has an Edition of 41st?
SELECT no_of_events FROM table_name_13 WHERE country = "trinidad and tobago" AND date = "march 30-april 1"
CREATE TABLE table_name_13 (no_of_events VARCHAR, country VARCHAR, date VARCHAR)
How many Events have a Country of trinidad and tobago, and a Date of march 30-april 1?
SELECT country FROM table_name_93 WHERE top_team = "jam" AND edition = "31st"
CREATE TABLE table_name_93 (country VARCHAR, top_team VARCHAR, edition VARCHAR)
Which Country has a Top Team of jam, and an Edition of 31st?
SELECT outcome FROM table_name_62 WHERE partner = "brett steven"
CREATE TABLE table_name_62 (outcome VARCHAR, partner VARCHAR)
What was the outcome of the final with a partner of Brett Steven?
SELECT surface FROM table_name_84 WHERE tournament = "italy f28"
CREATE TABLE table_name_84 (surface VARCHAR, tournament VARCHAR)
On what type of surface was the tournament of Italy f28?
SELECT opponent_in_the_final FROM table_name_8 WHERE tournament = "senegal f2"
CREATE TABLE table_name_8 (opponent_in_the_final VARCHAR, tournament VARCHAR)
Who was the opponent in the final of the Senegal f2 tournament>
SELECT score FROM table_name_11 WHERE date = "december 12, 1998"
CREATE TABLE table_name_11 (score VARCHAR, date VARCHAR)
What's the score on December 12, 1998?
SELECT venue FROM table_name_93 WHERE score = "7-1"
CREATE TABLE table_name_93 (venue VARCHAR, score VARCHAR)
What was the venue when the score was 7-1?
SELECT score FROM table_name_18 WHERE competition = "friendly"
CREATE TABLE table_name_18 (score VARCHAR, competition VARCHAR)
What's the score of the friendly competition?
SELECT competition FROM table_name_59 WHERE venue = "singapore"
CREATE TABLE table_name_59 (competition VARCHAR, venue VARCHAR)
What's the competition that happened in Singapore?
SELECT venue FROM table_name_97 WHERE competition = "1995 southeast asian games"
CREATE TABLE table_name_97 (venue VARCHAR, competition VARCHAR)
What's the venue of the 1995 Southeast Asian Games?
SELECT date_of_inauguration FROM table_name_71 WHERE "lifespan" = "lifespan"
CREATE TABLE table_name_71 (date_of_inauguration VARCHAR)
What was the date of the inauguration in the row with an entry of lifespan in the lifespan column?
SELECT date_of_death FROM table_name_76 WHERE date_of_inauguration = "date of inauguration"
CREATE TABLE table_name_76 (date_of_death VARCHAR, date_of_inauguration VARCHAR)
What was the date of death entry in the row that has a date of inauguration entry of date of inauguration?
SELECT length_of_retirement FROM table_name_49 WHERE president = "sharma, shankar shankar dayal sharma"
CREATE TABLE table_name_49 (length_of_retirement VARCHAR, president VARCHAR)
What is the length of retirement for president Sharma, Shankar Shankar Dayal Sharma?