question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the young rider classification for jesper worre and stage 3
CREATE TABLE table_name_66 (young_rider_classification VARCHAR, mountains_classification VARCHAR, stage VARCHAR)
SELECT young_rider_classification FROM table_name_66 WHERE mountains_classification = "jesper worre" AND stage = "3"
What college did the player with a school of crete-monee high school go to?
CREATE TABLE table_name_83 (college VARCHAR, school VARCHAR)
SELECT college FROM table_name_83 WHERE school = "crete-monee high school"
What's the school of the player with a hometown of little rock, arkansas?
CREATE TABLE table_name_94 (school VARCHAR, hometown VARCHAR)
SELECT school FROM table_name_94 WHERE hometown = "little rock, arkansas"
What's the hometown of thomas tyner?
CREATE TABLE table_name_80 (hometown VARCHAR, player VARCHAR)
SELECT hometown FROM table_name_80 WHERE player = "thomas tyner"
What college did hunter henry go to?
CREATE TABLE table_name_30 (college VARCHAR, player VARCHAR)
SELECT college FROM table_name_30 WHERE player = "hunter henry"
What college did the player with a school of huntsville high school go to?
CREATE TABLE table_name_42 (college VARCHAR, school VARCHAR)
SELECT college FROM table_name_42 WHERE school = "huntsville high school"
Who went to ohio state?
CREATE TABLE table_name_53 (player VARCHAR, college VARCHAR)
SELECT player FROM table_name_53 WHERE college = "ohio state"
What date was introduced where it was withdrawn 1955?
CREATE TABLE table_name_31 (introduced VARCHAR, withdrawn VARCHAR)
SELECT introduced FROM table_name_31 WHERE withdrawn = "1955"
What engine was introduced in 1935?
CREATE TABLE table_name_66 (engine VARCHAR, introduced VARCHAR)
SELECT engine FROM table_name_66 WHERE introduced = "1935"
What is the number range for the Gloucester RCW builder introduced in 1937?
CREATE TABLE table_name_84 (number_range VARCHAR, builder VARCHAR, introduced VARCHAR)
SELECT number_range FROM table_name_84 WHERE builder = "gloucester rcw" AND introduced = "1937"
What round was Craig Erickson drafted?
CREATE TABLE table_name_58 (round VARCHAR, player VARCHAR)
SELECT round FROM table_name_58 WHERE player = "craig erickson"
What is the Date with a Score with 86–108?
CREATE TABLE table_name_7 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_7 WHERE score = "86–108"
What is the Record with a Date with 24 march 2008?
CREATE TABLE table_name_47 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_47 WHERE date = "24 march 2008"
What is the Record with a Date with 29 march 2008?
CREATE TABLE table_name_27 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_27 WHERE date = "29 march 2008"
What is the Visitor with a Leading scorer with rudy gay (24)?
CREATE TABLE table_name_28 (visitor VARCHAR, leading_scorer VARCHAR)
SELECT visitor FROM table_name_28 WHERE leading_scorer = "rudy gay (24)"
What is the Leading scorer with a Visitor of grizzlies, and with a Score with 114–111?
CREATE TABLE table_name_65 (leading_scorer VARCHAR, visitor VARCHAR, score VARCHAR)
SELECT leading_scorer FROM table_name_65 WHERE visitor = "grizzlies" AND score = "114–111"
What team does Joe Deane play for?
CREATE TABLE table_name_20 (team VARCHAR, player VARCHAR)
SELECT team FROM table_name_20 WHERE player = "joe deane"
What is the name of the game whose team is Waterford and debuted later than 1995?
CREATE TABLE table_name_60 (game VARCHAR, team VARCHAR, début VARCHAR)
SELECT game FROM table_name_60 WHERE team = "waterford" AND début > 1995
What is the year of debut when Tom Feeney plays for the Waterford team?
CREATE TABLE table_name_9 (début VARCHAR, team VARCHAR, player VARCHAR)
SELECT début FROM table_name_9 WHERE team = "waterford" AND player = "tom feeney"
Who is the opponent when the team is Cork?
CREATE TABLE table_name_32 (opposition VARCHAR, team VARCHAR)
SELECT opposition FROM table_name_32 WHERE team = "cork"
who is the constructor when the grid is more than 10 and the time/retired is +1 lap?
CREATE TABLE table_name_59 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)
SELECT constructor FROM table_name_59 WHERE grid > 10 AND time_retired = "+1 lap"
what is the highest grid when the laps is less than 44 and the constructor is renault?
CREATE TABLE table_name_10 (grid INTEGER, laps VARCHAR, constructor VARCHAR)
SELECT MAX(grid) FROM table_name_10 WHERE laps < 44 AND constructor = "renault"
Whose attendance was the highest when the team played Arsenal?
CREATE TABLE table_name_95 (attendance INTEGER, opponent VARCHAR)
SELECT MAX(attendance) FROM table_name_95 WHERE opponent = "arsenal"
What is the flag for Terkoeli?
CREATE TABLE table_name_52 (flag VARCHAR, name VARCHAR)
SELECT flag FROM table_name_52 WHERE name = "terkoeli"
What is the date for the flag of Norway?
CREATE TABLE table_name_73 (date VARCHAR, flag VARCHAR)
SELECT date FROM table_name_73 WHERE flag = "norway"
Who sunk the ship with the flag of Norway?
CREATE TABLE table_name_67 (sunk_by VARCHAR, flag VARCHAR)
SELECT sunk_by FROM table_name_67 WHERE flag = "norway"
What is the name of the entrant with a chassis of m185b m186?
CREATE TABLE table_name_65 (entrant VARCHAR, chassis VARCHAR)
SELECT entrant FROM table_name_65 WHERE chassis = "m185b m186"
How many rounds have a chassis of thl2?
CREATE TABLE table_name_87 (rounds VARCHAR, chassis VARCHAR)
SELECT rounds FROM table_name_87 WHERE chassis = "thl2"
Tell me the 1958 when 1957 is dnf-9
CREATE TABLE table_name_24 (Id VARCHAR)
SELECT 1958 FROM table_name_24 WHERE 1957 = "dnf-9"
what is the reference when the strain is msb8?
CREATE TABLE table_name_38 (reference VARCHAR, strain VARCHAR)
SELECT reference FROM table_name_38 WHERE strain = "msb8"
what is the average genes when the reference is 2009 and the strain is rku-1?
CREATE TABLE table_name_84 (genes INTEGER, reference VARCHAR, strain VARCHAR)
SELECT AVG(genes) FROM table_name_84 WHERE reference = "2009" AND strain = "rku-1"
In which year did Kati Klinzing finish 3rd?
CREATE TABLE table_name_24 (year VARCHAR, third VARCHAR)
SELECT year FROM table_name_24 WHERE third = "kati klinzing"
Who was the winner the year Ramona Rahnis finished 2nd and Diana Sartor 3rd?
CREATE TABLE table_name_74 (champion VARCHAR, second VARCHAR, third VARCHAR)
SELECT champion FROM table_name_74 WHERE second = "ramona rahnis" AND third = "diana sartor"
In Winterberg, who was 3rd the year that Monique Riekewald was 2nd?
CREATE TABLE table_name_83 (third VARCHAR, location VARCHAR, second VARCHAR)
SELECT third FROM table_name_83 WHERE location = "winterberg" AND second = "monique riekewald"
In years after 1999, what was the location where Anja Huber finished 2nd?
CREATE TABLE table_name_14 (location VARCHAR, year VARCHAR, second VARCHAR)
SELECT location FROM table_name_14 WHERE year > 1999 AND second = "anja huber"
How many goals were scored with a pos larger than 4 and active in 2001-?
CREATE TABLE table_name_50 (goals_scored VARCHAR, pos VARCHAR, years_active VARCHAR)
SELECT goals_scored FROM table_name_50 WHERE pos > 4 AND years_active = "2001-"
What day did they play the bolton wanderers with a result F–A of 1–2?
CREATE TABLE table_name_78 (date VARCHAR, result_f_a VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_78 WHERE result_f_a = "1–2" AND opponent = "bolton wanderers"
What was the away teams score at Princes Park?
CREATE TABLE table_name_37 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_37 WHERE venue = "princes park"
Which home team played Hawthorn as the away team?
CREATE TABLE table_name_44 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_44 WHERE away_team = "hawthorn"
When did Geelong play as the home team?
CREATE TABLE table_name_89 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_89 WHERE home_team = "geelong"
Who played as the away team when Essendon was the home team?
CREATE TABLE table_name_85 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_85 WHERE home_team = "essendon"
What is the attendance when oadby town is away?
CREATE TABLE table_name_37 (attendance VARCHAR, away_team VARCHAR)
SELECT attendance FROM table_name_37 WHERE away_team = "oadby town"
What is the score when parkgate is at home?
CREATE TABLE table_name_38 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_38 WHERE home_team = "parkgate"
What was the score against the devil rays on september 14?
CREATE TABLE table_name_89 (score VARCHAR, opponent VARCHAR, date VARCHAR)
SELECT score FROM table_name_89 WHERE opponent = "devil rays" AND date = "september 14"
What is the score on september 20?
CREATE TABLE table_name_6 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_6 WHERE date = "september 20"
Who had the highest number of rebounds on February 14?
CREATE TABLE table_name_42 (high_rebounds VARCHAR, date VARCHAR)
SELECT high_rebounds FROM table_name_42 WHERE date = "february 14"
Where was the game played where North Melbourne was the away team?
CREATE TABLE table_name_40 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_40 WHERE away_team = "north melbourne"
What is the week 12 result?
CREATE TABLE table_name_17 (result VARCHAR, week VARCHAR)
SELECT result FROM table_name_17 WHERE week = 12
What college did the player from Fort Lauderdale, FL attend?
CREATE TABLE table_name_79 (college VARCHAR, hometown VARCHAR)
SELECT college FROM table_name_79 WHERE hometown = "fort lauderdale, fl"
What is the hometown of the player who attended Ohio State?
CREATE TABLE table_name_35 (hometown VARCHAR, college VARCHAR)
SELECT hometown FROM table_name_35 WHERE college = "ohio state"
What is the height of the player from Elizabeth, NJ?
CREATE TABLE table_name_36 (height VARCHAR, hometown VARCHAR)
SELECT height FROM table_name_36 WHERE hometown = "elizabeth, nj"
What college did the player from Ames High School attend?
CREATE TABLE table_name_56 (college VARCHAR, school VARCHAR)
SELECT college FROM table_name_56 WHERE school = "ames high school"
Name the frequency mhz for fcc and ERP W of 9 watts
CREATE TABLE table_name_7 (frequency_mhz VARCHAR, fcc_info VARCHAR, erp_w VARCHAR)
SELECT frequency_mhz FROM table_name_7 WHERE fcc_info = "fcc" AND erp_w = "9 watts"
Name the frequency mhz for ERP W of 850 watts
CREATE TABLE table_name_44 (frequency_mhz VARCHAR, erp_w VARCHAR)
SELECT frequency_mhz FROM table_name_44 WHERE erp_w = "850 watts"
Name the FCC info for call sign of kpcc
CREATE TABLE table_name_67 (fcc_info VARCHAR, call_sign VARCHAR)
SELECT fcc_info FROM table_name_67 WHERE call_sign = "kpcc"
Name the FCC info for frequency Mhz of 95.3 fm
CREATE TABLE table_name_34 (fcc_info VARCHAR, frequency_mhz VARCHAR)
SELECT fcc_info FROM table_name_34 WHERE frequency_mhz = "95.3 fm"
Name the city of license for call sign of kcmp
CREATE TABLE table_name_95 (city_of_license VARCHAR, call_sign VARCHAR)
SELECT city_of_license FROM table_name_95 WHERE call_sign = "kcmp"
Tell me the most Att with a long of 27 with yards longer than 27
CREATE TABLE table_name_24 (att INTEGER, long VARCHAR, yards VARCHAR)
SELECT MAX(att) FROM table_name_24 WHERE long = 27 AND yards > 27
I want to know the average Fuml for Att of 5 and long more than 7
CREATE TABLE table_name_13 (fuml INTEGER, att VARCHAR, long VARCHAR)
SELECT AVG(fuml) FROM table_name_13 WHERE att = 5 AND long > 7
I want to know the longest Long for santana moss and Att more than 1
CREATE TABLE table_name_5 (long INTEGER, player VARCHAR, att VARCHAR)
SELECT MIN(long) FROM table_name_5 WHERE player = "santana moss" AND att > 1
Tell me the greatest att with an avg of 4.3
CREATE TABLE table_name_91 (att INTEGER, avg VARCHAR)
SELECT MAX(att) FROM table_name_91 WHERE avg = 4.3
Tell me the sum of yards for jason campbell and long less than 23
CREATE TABLE table_name_29 (yards INTEGER, player VARCHAR, long VARCHAR)
SELECT SUM(yards) FROM table_name_29 WHERE player = "jason campbell" AND long < 23
Which driver scored 9 points?
CREATE TABLE table_name_58 (driver VARCHAR, points VARCHAR)
SELECT driver FROM table_name_58 WHERE points = "9"
How many points were scored in 1:44:59.557 of time?
CREATE TABLE table_name_64 (points VARCHAR, time_retired VARCHAR)
SELECT points FROM table_name_64 WHERE time_retired = "1:44:59.557"
What was the loss for June 2?
CREATE TABLE table_name_79 (loss VARCHAR, date VARCHAR)
SELECT loss FROM table_name_79 WHERE date = "june 2"
What is the record for the game that has a loss of Johnson (5-6)?
CREATE TABLE table_name_73 (record VARCHAR, loss VARCHAR)
SELECT record FROM table_name_73 WHERE loss = "johnson (5-6)"
What was the attendance for the game where the score was 0-6?
CREATE TABLE table_name_8 (attendance VARCHAR, score VARCHAR)
SELECT attendance FROM table_name_8 WHERE score = "0-6"
How many people attended the game that ended 4-6?
CREATE TABLE table_name_15 (attendance VARCHAR, score VARCHAR)
SELECT COUNT(attendance) FROM table_name_15 WHERE score = "4-6"
what is the sample size when the date(s) administered is march 24, 2010?
CREATE TABLE table_name_4 (sample_size VARCHAR, date_s__administered VARCHAR)
SELECT sample_size FROM table_name_4 WHERE date_s__administered = "march 24, 2010"
what is the margin of error when the undicided is 8% and other is 4%?
CREATE TABLE table_name_77 (margin_of_error VARCHAR, undecided VARCHAR, other VARCHAR)
SELECT margin_of_error FROM table_name_77 WHERE undecided = "8%" AND other = "4%"
what is the percent for other when the margin of error is ± 3%?
CREATE TABLE table_name_35 (other VARCHAR, margin_of_error VARCHAR)
SELECT other FROM table_name_35 WHERE margin_of_error = "± 3%"
Of all shows who have a rating larger than 7.8, aired on October 26, 2006, and has a share of over 14, what is the sum of the viewers?
CREATE TABLE table_name_91 (viewers INTEGER, share VARCHAR, rating VARCHAR, airdate VARCHAR)
SELECT SUM(viewers) FROM table_name_91 WHERE rating > 7.8 AND airdate = "october 26, 2006" AND share > 14
What is the latest year that has an n/a mintage and an Issue Price of $89.95?
CREATE TABLE table_name_39 (year INTEGER, mintage VARCHAR, issue_price VARCHAR)
SELECT MAX(year) FROM table_name_39 WHERE mintage = "n/a" AND issue_price = "$89.95"
What mintage for the royal canadian mint engravers before 2008 that has an issue price of $102.95?
CREATE TABLE table_name_98 (mintage VARCHAR, issue_price VARCHAR, artist VARCHAR, year VARCHAR)
SELECT mintage FROM table_name_98 WHERE artist = "royal canadian mint engravers" AND year < 2008 AND issue_price = "$102.95"
What theme is associated with a year before 2006 and Issue Price of $25.22?
CREATE TABLE table_name_14 (theme VARCHAR, year VARCHAR, issue_price VARCHAR)
SELECT theme FROM table_name_14 WHERE year < 2006 AND issue_price = "$25.22"
What was the score in the final on 14 august 1994?
CREATE TABLE table_name_36 (score_in_the_final VARCHAR, date VARCHAR)
SELECT score_in_the_final FROM table_name_36 WHERE date = "14 august 1994"
Which tournament had a final score of 6–7, 2–6, and a Partner of wayne arthurs?
CREATE TABLE table_name_7 (tournament VARCHAR, score_in_the_final VARCHAR, partner VARCHAR)
SELECT tournament FROM table_name_7 WHERE score_in_the_final = "6–7, 2–6" AND partner = "wayne arthurs"
who was the opponent with round 17?
CREATE TABLE table_name_64 (opponent VARCHAR, round VARCHAR)
SELECT opponent FROM table_name_64 WHERE round = "17"
what round saw wakefield trinity wildcats u21 as the opponenet at belle vue?
CREATE TABLE table_name_19 (round VARCHAR, opponent VARCHAR, venue VARCHAR)
SELECT round FROM table_name_19 WHERE opponent = "wakefield trinity wildcats u21" AND venue = "belle vue"
what round happened at galpharm stadium?
CREATE TABLE table_name_16 (round VARCHAR, venue VARCHAR)
SELECT round FROM table_name_16 WHERE venue = "galpharm stadium"
In the game where Melbourne was the away team, what did they score?
CREATE TABLE table_name_67 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_67 WHERE away_team = "melbourne"
In the venue Corio Oval, who was the away team?
CREATE TABLE table_name_97 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_97 WHERE venue = "corio oval"
What was the biggest pick number for the new team of Texas Rangers, in the compensation-a round?
CREATE TABLE table_name_55 (pick INTEGER, new_team VARCHAR, round VARCHAR)
SELECT MAX(pick) FROM table_name_55 WHERE new_team = "texas rangers" AND round = "compensation-a"
What was the pick number for the compensation-a round, for player Frank Catalanotto?
CREATE TABLE table_name_93 (pick VARCHAR, round VARCHAR, player VARCHAR)
SELECT pick FROM table_name_93 WHERE round = "compensation-a" AND player = "frank catalanotto"
Which new team has a compensation-a round, and Frank Catalanotto as a player?
CREATE TABLE table_name_27 (new_team VARCHAR, round VARCHAR, player VARCHAR)
SELECT new_team FROM table_name_27 WHERE round = "compensation-a" AND player = "frank catalanotto"
What was the free agent class, with a pick less than 38?
CREATE TABLE table_name_22 (free_agent_class VARCHAR, pick INTEGER)
SELECT free_agent_class FROM table_name_22 WHERE pick < 38
What is the score of the away team when the home team is Footscray?
CREATE TABLE table_name_95 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_95 WHERE home_team = "footscray"
What's listed as the Issue Price (BU) [Clarification Needed] with a Mintage (Proof) of 29,586?
CREATE TABLE table_name_57 (issue_price__bu_ VARCHAR, _clarification_needed_ VARCHAR, mintage__proof_ VARCHAR)
SELECT issue_price__bu_[_clarification_needed_] FROM table_name_57 WHERE mintage__proof_ = "29,586"
Who is the Artist with an Issue Price (BU) [Clarification Needed] of n/a along with a Year larger than 2004, and Mintage (Proof) of 25,000?
CREATE TABLE table_name_53 (artist VARCHAR, mintage__proof_ VARCHAR, year VARCHAR, issue_price__bu_ VARCHAR, _clarification_needed_ VARCHAR)
SELECT artist FROM table_name_53 WHERE issue_price__bu_[_clarification_needed_] = "n/a" AND year > 2004 AND mintage__proof_ = "25,000"
What's the average Year with an Issue Price (Proof) of $49.95, and Artist of W.H.J. Blakemore?
CREATE TABLE table_name_19 (year INTEGER, issue_price__proof_ VARCHAR, artist VARCHAR)
SELECT AVG(year) FROM table_name_19 WHERE issue_price__proof_ = "$49.95" AND artist = "w.h.j. blakemore"
What's the Issue Price (BU) [Clarification Needed] with a Year larger than 2002 and Mintage (Proof) of 50,000?
CREATE TABLE table_name_35 (issue_price__bu_ VARCHAR, _clarification_needed_ VARCHAR, year VARCHAR, mintage__proof_ VARCHAR)
SELECT issue_price__bu_[_clarification_needed_] FROM table_name_35 WHERE year > 2002 AND mintage__proof_ = "50,000"
Who was the winner when the runner-up was Chemnitzer FC II?
CREATE TABLE table_name_86 (winners VARCHAR, runners_up VARCHAR)
SELECT winners FROM table_name_86 WHERE runners_up = "chemnitzer fc ii"
Name the preliminary average for utah
CREATE TABLE table_name_34 (preliminary_average VARCHAR, state VARCHAR)
SELECT preliminary_average FROM table_name_34 WHERE state = "utah"
How many tournament titles for texas with over 0 total?
CREATE TABLE table_name_89 (tournament VARCHAR, total VARCHAR, team VARCHAR)
SELECT COUNT(tournament) FROM table_name_89 WHERE total > 0 AND team = "texas"
How many tournament titles for iowa state with 3 total titles?
CREATE TABLE table_name_90 (tournament INTEGER, total VARCHAR, team VARCHAR)
SELECT MAX(tournament) FROM table_name_90 WHERE total = 3 AND team = "iowa state"
what is the country when the bie recognised is no and years(s) is 2014?
CREATE TABLE table_name_83 (country VARCHAR, bie_recognised VARCHAR, year_s_ VARCHAR)
SELECT country FROM table_name_83 WHERE bie_recognised = "no" AND year_s_ = "2014"
what is the type when the bie recognised is yes and year(s) is 1960?
CREATE TABLE table_name_62 (type VARCHAR, bie_recognised VARCHAR, year_s_ VARCHAR)
SELECT type FROM table_name_62 WHERE bie_recognised = "yes" AND year_s_ = "1960"
what is the type when the bie recognised is yes, festival name is floriade and the year(s) is 2002?
CREATE TABLE table_name_45 (type VARCHAR, year_s_ VARCHAR, bie_recognised VARCHAR, festival_name VARCHAR)
SELECT type FROM table_name_45 WHERE bie_recognised = "yes" AND festival_name = "floriade" AND year_s_ = "2002"
what is the year(s) when the city is kunming?
CREATE TABLE table_name_59 (year_s_ VARCHAR, city VARCHAR)
SELECT year_s_ FROM table_name_59 WHERE city = "kunming"
what is the type when the year(s) is 1982?
CREATE TABLE table_name_23 (type VARCHAR, year_s_ VARCHAR)
SELECT type FROM table_name_23 WHERE year_s_ = "1982"