answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT COUNT(attendance) FROM table_name_67 WHERE away_team = "middlesbrough" | CREATE TABLE table_name_67 (attendance VARCHAR, away_team VARCHAR) | How many people attended the Away team of middlesbrough? |
SELECT score FROM table_name_98 WHERE away_team = "middlesbrough" | CREATE TABLE table_name_98 (score VARCHAR, away_team VARCHAR) | Which Score has an Away team of middlesbrough? |
SELECT years_as_tallest FROM table_name_81 WHERE street_address = "01.0 10 light street" | CREATE TABLE table_name_81 (years_as_tallest VARCHAR, street_address VARCHAR) | WHAT IS THE YEARS AS TALLEST WITH 01.0 10 light street? |
SELECT SUM(floors) FROM table_name_57 WHERE street_address = "01.0 10 light street" | CREATE TABLE table_name_57 (floors INTEGER, street_address VARCHAR) | WHAT IS THE FLOOR NUMBERS WITH 01.0 10 light street? |
SELECT years_as_tallest FROM table_name_10 WHERE floors < 24 AND street_address = "05.0 210 north charles street" | CREATE TABLE table_name_10 (years_as_tallest VARCHAR, floors VARCHAR, street_address VARCHAR) | WHAT IS THE YEAR'S TALLEST VALUE WITH FLOORS LESS THAN 24, AND 05.0 210 north charles street? |
SELECT name FROM table_name_63 WHERE street_address = "01.0 10 light street" | CREATE TABLE table_name_63 (name VARCHAR, street_address VARCHAR) | WHAT IS THE NAME WITH 01.0 10 light street? |
SELECT name FROM table_name_20 WHERE height = "m (ft 1in)" | CREATE TABLE table_name_20 (name VARCHAR, height VARCHAR) | What is the Name of the Player with a Height of m (ft 1in)? |
SELECT weight FROM table_name_43 WHERE name = "tatyana gubina" | CREATE TABLE table_name_43 (weight VARCHAR, name VARCHAR) | What is Tatyana Gubina's Weight? |
SELECT pos FROM table_name_86 WHERE name = "alyona klimenko" | CREATE TABLE table_name_86 (pos VARCHAR, name VARCHAR) | What is Alyona Klimenko's Pos.? |
SELECT third_place FROM table_name_23 WHERE total > 2 AND rank < 2 | CREATE TABLE table_name_23 (third_place VARCHAR, total VARCHAR, rank VARCHAR) | How many third places has a total greater than 2 and a rank less than 2? |
SELECT r_bacon FROM table_name_98 WHERE county = "passaic" | CREATE TABLE table_name_98 (r_bacon VARCHAR, county VARCHAR) | What is the number for R Bacon in Passaic County? |
SELECT d_shulman FROM table_name_9 WHERE c_abate = "728 (43%)" | CREATE TABLE table_name_9 (d_shulman VARCHAR, c_abate VARCHAR) | What is the number for D. Shulman if C. Abate has 728 (43%) |
SELECT county FROM table_name_4 WHERE c_abate = "728 (43%)" | CREATE TABLE table_name_4 (county VARCHAR, c_abate VARCHAR) | Which county has 728 (43%) listed under C. Abate? |
SELECT d_shulman FROM table_name_12 WHERE county = "warren" | CREATE TABLE table_name_12 (d_shulman VARCHAR, county VARCHAR) | What are the numbers for D. Shulman in Warren County? |
SELECT county FROM table_name_51 WHERE precincts = "90/90" | CREATE TABLE table_name_51 (county VARCHAR, precincts VARCHAR) | Which County has Precincts of 90/90? |
SELECT county FROM table_name_92 WHERE r_bacon = "438 (4%)" | CREATE TABLE table_name_92 (county VARCHAR, r_bacon VARCHAR) | Which county has 438 (4%) listed under R. Bacon? |
SELECT format FROM table_name_57 WHERE album = "pacific ocean blue" AND year = 1991 | CREATE TABLE table_name_57 (format VARCHAR, album VARCHAR, year VARCHAR) | What is the format of the album Pacific Ocean Blue in 1991? |
SELECT artist FROM table_name_38 WHERE catalog__number = "zk 34354" | CREATE TABLE table_name_38 (artist VARCHAR, catalog__number VARCHAR) | Who is the artist with catalog number ZK 34354? |
SELECT height FROM table_name_19 WHERE name = "james stanton" | CREATE TABLE table_name_19 (height VARCHAR, name VARCHAR) | How tall is player James Stanton? |
SELECT name FROM table_name_58 WHERE club = "sydney university lions" | CREATE TABLE table_name_58 (name VARCHAR, club VARCHAR) | Which player is on the roster for the Sydney University Lions? |
SELECT height FROM table_name_63 WHERE name = "james stanton" | CREATE TABLE table_name_63 (height VARCHAR, name VARCHAR) | What is the height of player James Stanton? |
SELECT MAX(draft) FROM table_name_89 WHERE round > 2 AND nationality = "united states" AND pick < 113 | CREATE TABLE table_name_89 (draft INTEGER, pick VARCHAR, round VARCHAR, nationality VARCHAR) | What is the highest draft after round 2, is from the United States and has picked less than 113? |
SELECT AVG(draft) FROM table_name_45 WHERE pick > 42 AND player = "grant eakin" AND round > 8 | CREATE TABLE table_name_45 (draft INTEGER, round VARCHAR, pick VARCHAR, player VARCHAR) | What is the average draft with a pick larger than 42, and player Grant Eakin after round 8? |
SELECT venue FROM table_name_9 WHERE competition = "2000 afc asian cup qualification" | CREATE TABLE table_name_9 (venue VARCHAR, competition VARCHAR) | What venue was the 2000 AFC Asian Cup qualification held at? |
SELECT MIN(goals) FROM table_name_40 WHERE matches < 29 | CREATE TABLE table_name_40 (goals INTEGER, matches INTEGER) | What were the lowest goals when the matches were smaller than 29? |
SELECT MIN(matches) FROM table_name_42 WHERE goals > 36 | CREATE TABLE table_name_42 (matches INTEGER, goals INTEGER) | What is the lowest match for goals larger than 36? |
SELECT SUM(sno) FROM table_name_53 WHERE completion_schedule = "2013" | CREATE TABLE table_name_53 (sno INTEGER, completion_schedule VARCHAR) | For the 2013 completion schedule, what is the total S.no.? |
SELECT completion_schedule FROM table_name_96 WHERE state = "himachal pradesh" AND total_capacity__mw_ = 800 | CREATE TABLE table_name_96 (completion_schedule VARCHAR, state VARCHAR, total_capacity__mw_ VARCHAR) | What is the completion schedule for himachal pradesh state with a total capacity (MW) of 800? |
SELECT MIN(sno) FROM table_name_9 WHERE state = "jammu & kashmir" AND completion_schedule = "2016" | CREATE TABLE table_name_9 (sno INTEGER, state VARCHAR, completion_schedule VARCHAR) | When the completion schedule is 2016 for the state of jammu & kashmir, what is the smallest S.no.? |
SELECT 2009 FROM table_name_32 WHERE 2012 = "a" AND 2011 = "1r" AND tournament = "shanghai masters" | CREATE TABLE table_name_32 (tournament VARCHAR) | What is the 2009 value of the shanghai masters, which was A in 2012 and 1r in 2011? |
SELECT 2011 FROM table_name_34 WHERE 2008 = "a" AND 2012 = "a" AND 2009 = "a" AND tournament = "paris masters" | CREATE TABLE table_name_34 (tournament VARCHAR) | What is the 2011 value of the paris masters, which had A in 2008, A in 2012, A in 2009? |
SELECT 2012 FROM table_name_45 WHERE tournament = "hamburg masters" | CREATE TABLE table_name_45 (tournament VARCHAR) | What is the 2012 of the hamburg masters? |
SELECT 2008 FROM table_name_30 WHERE tournament = "hamburg masters" | CREATE TABLE table_name_30 (tournament VARCHAR) | What is the 2008 value of the hamburg masters? |
SELECT 2009 FROM table_name_19 WHERE 2012 = "lq" AND 2011 = "2r" AND 2008 = "lq" | CREATE TABLE table_name_19 (Id VARCHAR) | What is the 2009 value with lq in 2012, 2r in 2011, and lq in 2008? |
SELECT 2010 FROM table_name_97 WHERE 2012 = "a" AND tournament = "monte carlo masters" | CREATE TABLE table_name_97 (tournament VARCHAR) | What is the 2010 value of the monte carlo masters, which had A in 2012? |
SELECT COUNT(quantity) FROM table_name_93 WHERE drg_number_s_ = "e 62 01–e 62 05" | CREATE TABLE table_name_93 (quantity VARCHAR, drg_number_s_ VARCHAR) | What is the quantity when the DRG was E 62 01–E 62 05? |
SELECT opponent_in_the_final FROM table_name_88 WHERE partnering = "graydon oliver" | CREATE TABLE table_name_88 (opponent_in_the_final VARCHAR, partnering VARCHAR) | Which Opponent in the final has a Partnering of graydon oliver? |
SELECT score FROM table_name_63 WHERE partnering = "dmitry tursunov" | CREATE TABLE table_name_63 (score VARCHAR, partnering VARCHAR) | which Score has a Partnering of dmitry tursunov? |
SELECT score FROM table_name_17 WHERE opponent_in_the_final = "chris haggard robbie koenig" | CREATE TABLE table_name_17 (score VARCHAR, opponent_in_the_final VARCHAR) | Which Score has an Opponent in the final of chris haggard robbie koenig? |
SELECT partnering FROM table_name_11 WHERE score = "7–6 7 , 6–1" | CREATE TABLE table_name_11 (partnering VARCHAR, score VARCHAR) | Which Partnering has a Score of 7–6 7 , 6–1? |
SELECT surface FROM table_name_92 WHERE tournament = "valencia , spain" | CREATE TABLE table_name_92 (surface VARCHAR, tournament VARCHAR) | Name the Surface that of Tournament of valencia , spain? |
SELECT opponent_in_the_final FROM table_name_52 WHERE date = "july 4, 2005" | CREATE TABLE table_name_52 (opponent_in_the_final VARCHAR, date VARCHAR) | Name the Opponent in the final on july 4, 2005? |
SELECT result_f_a FROM table_name_55 WHERE league_position = "1st" AND date = "21 february 2009" | CREATE TABLE table_name_55 (result_f_a VARCHAR, league_position VARCHAR, date VARCHAR) | What was the Result F–A on 21 February 2009, when the league position was 1st? |
SELECT college_junior_club_team__league_ FROM table_name_99 WHERE player = "john westin" | CREATE TABLE table_name_99 (college_junior_club_team__league_ VARCHAR, player VARCHAR) | What club does John Westin play for? |
SELECT round FROM table_name_58 WHERE position = "left wing" | CREATE TABLE table_name_58 (round VARCHAR, position VARCHAR) | In what round was a left wing drafted? |
SELECT player FROM table_name_30 WHERE round = 5 | CREATE TABLE table_name_30 (player VARCHAR, round VARCHAR) | What player was drafted in Round 5? |
SELECT finish FROM table_name_1 WHERE year_s__won = "1991" | CREATE TABLE table_name_1 (finish VARCHAR, year_s__won VARCHAR) | Where did the player who won in 1991 finish? |
SELECT player FROM table_name_24 WHERE country = "scotland" | CREATE TABLE table_name_24 (player VARCHAR, country VARCHAR) | Which player is from scotland? |
SELECT lyrics__l____music__m_ FROM table_name_60 WHERE draw = 5 | CREATE TABLE table_name_60 (lyrics__l____music__m_ VARCHAR, draw VARCHAR) | What are the Lyrics (l) / Music (m) when the draw was 5? |
SELECT score FROM table_name_11 WHERE competition = "friendly" | CREATE TABLE table_name_11 (score VARCHAR, competition VARCHAR) | What score has friendly as the competition? |
SELECT home_team FROM table_name_6 WHERE date = "15 november 1986" AND away_team = "chelmsford city" | CREATE TABLE table_name_6 (home_team VARCHAR, date VARCHAR, away_team VARCHAR) | Playing against Chelmsford City on 15 November 1986, who was the home team? |
SELECT tie_no FROM table_name_21 WHERE away_team = "lincoln city" | CREATE TABLE table_name_21 (tie_no VARCHAR, away_team VARCHAR) | When Lincoln City was the away team what is the tie number? |
SELECT date FROM table_name_95 WHERE away_team = "rochdale" | CREATE TABLE table_name_95 (date VARCHAR, away_team VARCHAR) | When was the game played that had Rochdale as the away team? |
SELECT tie_no FROM table_name_52 WHERE home_team = "scunthorpe united" | CREATE TABLE table_name_52 (tie_no VARCHAR, home_team VARCHAR) | Scunthorpe United as the home team has what tie number? |
SELECT score FROM table_name_12 WHERE date = "6 december 1986" | CREATE TABLE table_name_12 (score VARCHAR, date VARCHAR) | The game played on 6 December 1986 had what score? |
SELECT type FROM table_name_56 WHERE quantity = "124" | CREATE TABLE table_name_56 (type VARCHAR, quantity VARCHAR) | WHAT IS THE TYPE WITH 124? |
SELECT score FROM table_name_32 WHERE total = "28:42" | CREATE TABLE table_name_32 (score VARCHAR, total VARCHAR) | What is Score, when Total is "28:42"? |
SELECT date FROM table_name_49 WHERE set_1 = "20:22" | CREATE TABLE table_name_49 (date VARCHAR, set_1 VARCHAR) | What is Date, when Set 1 is "20:22"? |
SELECT set_1 FROM table_name_48 WHERE set_2 = "21:18" | CREATE TABLE table_name_48 (set_1 VARCHAR, set_2 VARCHAR) | What is Set 1, when Set 2 is "21:18"? |
SELECT set_2 FROM table_name_81 WHERE total = "52:44" | CREATE TABLE table_name_81 (set_2 VARCHAR, total VARCHAR) | What is Set 2, when Total is "52:44"? |
SELECT away_team FROM table_name_57 WHERE tie_no = "4" | CREATE TABLE table_name_57 (away_team VARCHAR, tie_no VARCHAR) | What is the away team with a 4 tie no.? |
SELECT date FROM table_name_52 WHERE away_team = "southampton" | CREATE TABLE table_name_52 (date VARCHAR, away_team VARCHAR) | What is the date southampton was the away team? |
SELECT score FROM table_name_94 WHERE home_team = "tottenham hotspur" | CREATE TABLE table_name_94 (score VARCHAR, home_team VARCHAR) | What is the score of the home team tottenham hotspur? |
SELECT score FROM table_name_36 WHERE date = "16 december 1987" | CREATE TABLE table_name_36 (score VARCHAR, date VARCHAR) | What was the score of the game on 16 december 1987? |
SELECT home_team FROM table_name_16 WHERE away_team = "hereford united" | CREATE TABLE table_name_16 (home_team VARCHAR, away_team VARCHAR) | Who played against the away team hereford united? |
SELECT home_team FROM table_name_4 WHERE away_team = "hereford united" | CREATE TABLE table_name_4 (home_team VARCHAR, away_team VARCHAR) | Who played against away team hereford united? |
SELECT clubs FROM table_name_59 WHERE position_in_1959_1960 = "1" | CREATE TABLE table_name_59 (clubs VARCHAR, position_in_1959_1960 VARCHAR) | Which club was in Position 1 in 1959-1960? |
SELECT season_joined_league FROM table_name_28 WHERE settlements = "évora" | CREATE TABLE table_name_28 (season_joined_league VARCHAR, settlements VARCHAR) | In which season did the évora settlements join the league? |
SELECT position_in_1959_1960 FROM table_name_45 WHERE seasons_at_this_level = "14 seasons" | CREATE TABLE table_name_45 (position_in_1959_1960 VARCHAR, seasons_at_this_level VARCHAR) | What was the position in 1959-1960 for the club that had 14 seasons at this level? |
SELECT position_in_1959_1960 FROM table_name_19 WHERE clubs = "sporting de braga" | CREATE TABLE table_name_19 (position_in_1959_1960 VARCHAR, clubs VARCHAR) | What was the position in 1959-1960 for the Sporting De Braga club? |
SELECT season_joined_league FROM table_name_54 WHERE seasons_at_this_level = "15 seasons" | CREATE TABLE table_name_54 (season_joined_league VARCHAR, seasons_at_this_level VARCHAR) | What is the "season joined league" for the club that had 15 seasons at this level? |
SELECT country FROM table_name_79 WHERE score = 71 - 66 - 72 - 72 = 281 | CREATE TABLE table_name_79 (country VARCHAR, score VARCHAR) | What country has a score of 71-66-72-72=281? |
SELECT SUM(money___) AS £__ FROM table_name_90 WHERE player = "payne stewart" | CREATE TABLE table_name_90 (money___ INTEGER, player VARCHAR) | What is the total amount of money that Payne Stewart has? |
SELECT country FROM table_name_92 WHERE player = "nick faldo" | CREATE TABLE table_name_92 (country VARCHAR, player VARCHAR) | What country has player Nick Faldo? |
SELECT to_par FROM table_name_40 WHERE score = 64 - 73 - 74 - 69 = 280 | CREATE TABLE table_name_40 (to_par VARCHAR, score VARCHAR) | What is the to par for the score 64-73-74-69=280? |
SELECT MIN(rank) FROM table_name_89 WHERE carriers = "china eastern airlines, korean air" AND passengers > 97 OFFSET 055 | CREATE TABLE table_name_89 (rank INTEGER, carriers VARCHAR, passengers VARCHAR) | What is the lowest rank for China Eastern Airlines, Korean Air with more passengers than 97,055? |
SELECT MIN(rank) FROM table_name_45 WHERE passengers > 73 OFFSET 754 | CREATE TABLE table_name_45 (rank INTEGER, passengers INTEGER) | What is the smallest rank for passengers more than 73,754? |
SELECT carriers FROM table_name_19 WHERE rank = 20 | CREATE TABLE table_name_19 (carriers VARCHAR, rank VARCHAR) | Which carrier is ranked 20? |
SELECT MAX(rank) FROM table_name_4 WHERE passengers < 124 OFFSET 296 | CREATE TABLE table_name_4 (rank INTEGER, passengers INTEGER) | What is the highest rank when there are fewer than 124,296 passengers? |
SELECT 2013 FROM table_name_76 WHERE tournament = "grand slam tournaments" | CREATE TABLE table_name_76 (tournament VARCHAR) | What's the 2013 result for the grand slam tournaments? |
SELECT 2010 FROM table_name_20 WHERE 2006 = "a" | CREATE TABLE table_name_20 (Id VARCHAR) | What's the 2010 result when 2006 is a? |
SELECT tournament FROM table_name_47 WHERE 2003 = "a" | CREATE TABLE table_name_47 (tournament VARCHAR) | What tournament has a 2003 of a? |
SELECT 2007 FROM table_name_83 WHERE 2003 = "a" | CREATE TABLE table_name_83 (Id VARCHAR) | What's the 2007 result when 2003 is a? |
SELECT 2011 FROM table_name_25 WHERE 2010 = "2r" AND 2013 = "w" | CREATE TABLE table_name_25 (Id VARCHAR) | What's the 2011 result when 2010 is 2r and 2013 is w? |
SELECT 2005 FROM table_name_64 WHERE 2001 = "sf" | CREATE TABLE table_name_64 (Id VARCHAR) | What's the 2005 result when 2001 is sf? |
SELECT binibining_pilipinas_world FROM table_name_72 WHERE second_runner_up = "sonia santiago" | CREATE TABLE table_name_72 (binibining_pilipinas_world VARCHAR, second_runner_up VARCHAR) | Which Binibining Pilipinas-World has a Second runner-up of sonia santiago? |
SELECT year FROM table_name_54 WHERE binibining_pilipinas_international = "alma concepcion" | CREATE TABLE table_name_54 (year VARCHAR, binibining_pilipinas_international VARCHAR) | Which Year has a Binibining Pilipinas International of alma concepcion? |
SELECT binibining_pilipinas_international FROM table_name_24 WHERE binibining_pilipinas_world = "sharmaine gutierrez" | CREATE TABLE table_name_24 (binibining_pilipinas_international VARCHAR, binibining_pilipinas_world VARCHAR) | Which Binibining Pilipinas International has a Binibining Pilipinas-World of sharmaine gutierrez? |
SELECT result FROM table_name_9 WHERE site = "rice stadium • houston, tx" | CREATE TABLE table_name_9 (result VARCHAR, site VARCHAR) | Which Result has a Site of rice stadium • houston, tx? |
SELECT opponent FROM table_name_29 WHERE site = "razorback stadium • fayetteville, ar" AND date = "october 7, 1967" | CREATE TABLE table_name_29 (opponent VARCHAR, site VARCHAR, date VARCHAR) | What Opponent has a Site of razorback stadium • fayetteville, ar, and a Date of october 7, 1967? |
SELECT opponent FROM table_name_63 WHERE site = "war memorial stadium • little rock, ar" AND result = "l6–7" | CREATE TABLE table_name_63 (opponent VARCHAR, site VARCHAR, result VARCHAR) | What Opponent has a Site of war memorial stadium • little rock, ar, and a Result of l6–7? |
SELECT result FROM table_name_86 WHERE date = "october 14, 1967" | CREATE TABLE table_name_86 (result VARCHAR, date VARCHAR) | What Result has a Date of october 14, 1967? |
SELECT attendance FROM table_name_13 WHERE result = "l12–21" | CREATE TABLE table_name_13 (attendance VARCHAR, result VARCHAR) | What Attendance has a Result of l12–21? |
SELECT site FROM table_name_83 WHERE attendance = "53,000" AND date = "october 21, 1967" | CREATE TABLE table_name_83 (site VARCHAR, attendance VARCHAR, date VARCHAR) | What Site has Attendance of 53,000, and a Date of october 21, 1967? |
SELECT region FROM table_name_51 WHERE format_s_ = "cd" AND label = "toshiba emi" | CREATE TABLE table_name_51 (region VARCHAR, format_s_ VARCHAR, label VARCHAR) | What region is the toshiba emi label with a cd format? |
SELECT date FROM table_name_68 WHERE catalog = "asw 28033" | CREATE TABLE table_name_68 (date VARCHAR, catalog VARCHAR) | What is the dage of catalog asw 28033? |
SELECT date FROM table_name_70 WHERE region = "japan" | CREATE TABLE table_name_70 (date VARCHAR, region VARCHAR) | What is the date with a Japan region? |
SELECT region FROM table_name_72 WHERE format_s_ = "lp" AND date = "4 august 2008" | CREATE TABLE table_name_72 (region VARCHAR, format_s_ VARCHAR, date VARCHAR) | What region has a lp format on 4 August 2008? |
SELECT region FROM table_name_4 WHERE date = "11 august 2008" | CREATE TABLE table_name_4 (region VARCHAR, date VARCHAR) | What region is on 11 August 2008? |
SELECT AVG(pos) FROM table_name_93 WHERE h_a_n = "neutral" AND inn > 2 | CREATE TABLE table_name_93 (pos INTEGER, h_a_n VARCHAR, inn VARCHAR) | What is the position with a neutral H/A/N and more than 2 innings? |
Subsets and Splits