answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT affiliation FROM table_name_28 WHERE pick__number < 32 | CREATE TABLE table_name_28 (affiliation VARCHAR, pick__number INTEGER) | What affiliations have Pick #s under 32? |
SELECT player FROM table_name_2 WHERE position = "f" | CREATE TABLE table_name_2 (player VARCHAR, position VARCHAR) | What players have a position of F? |
SELECT goals FROM table_name_63 WHERE caps = "73" | CREATE TABLE table_name_63 (goals VARCHAR, caps VARCHAR) | How many goals were scored when there were 73 caps? |
SELECT build_year FROM table_name_44 WHERE total_production = 150 | CREATE TABLE table_name_44 (build_year VARCHAR, total_production VARCHAR) | Tell me the build year for total production of 150 |
SELECT power_output_οΌkwοΌ FROM table_name_38 WHERE total_production = 100 | CREATE TABLE table_name_38 (power_output_οΌkwοΌ VARCHAR, total_production VARCHAR) | Tell me the power output for total production of 100 |
SELECT total_production FROM table_name_72 WHERE model = "nd5" | CREATE TABLE table_name_72 (total_production VARCHAR, model VARCHAR) | Name the total production for model nd5 |
SELECT nationality FROM table_name_85 WHERE position_s_ = "guard" AND season_s_ = "2006" | CREATE TABLE table_name_85 (nationality VARCHAR, position_s_ VARCHAR, season_s_ VARCHAR) | What is the nationality of the player who played guard in 2006? |
SELECT SUM(bp_2nd_comp__) AS Λc_ FROM table_name_33 WHERE bp_azeo__Λc_ = 57.5 | CREATE TABLE table_name_33 (bp_2nd_comp__ INTEGER, bp_azeo__Λc_ VARCHAR) | Tell me the sum of bp 2nd comp with bp azeo of 57.5 |
SELECT rider FROM table_name_24 WHERE laps = 18 AND time = "+25.165" | CREATE TABLE table_name_24 (rider VARCHAR, laps VARCHAR, time VARCHAR) | Which rider went 18 laps ending +25.165 behind the leader? |
SELECT result FROM table_name_1 WHERE year > 2002 | CREATE TABLE table_name_1 (result VARCHAR, year INTEGER) | What is the result for a year later than 2002? |
SELECT result FROM table_name_56 WHERE year = 1999 | CREATE TABLE table_name_56 (result VARCHAR, year VARCHAR) | What is the result for the year 1999? |
SELECT engine FROM table_name_88 WHERE team = "dhg tom's racing" | CREATE TABLE table_name_88 (engine VARCHAR, team VARCHAR) | Tell me the engine for dhg tom's racing |
SELECT team FROM table_name_21 WHERE driver = "toshihiro kaneishi" | CREATE TABLE table_name_21 (team VARCHAR, driver VARCHAR) | Name the team for toshihiro kaneishi |
SELECT AVG(year) FROM table_name_14 WHERE chinese_title = "ζη¬ε₯³η" | CREATE TABLE table_name_14 (year INTEGER, chinese_title VARCHAR) | I want the average year of ζη¬ε₯³η |
SELECT role FROM table_name_38 WHERE year = 2005 | CREATE TABLE table_name_38 (role VARCHAR, year VARCHAR) | Tell me the role for 2005 |
SELECT AVG(year) FROM table_name_65 WHERE english_title = "my queen" | CREATE TABLE table_name_65 (year INTEGER, english_title VARCHAR) | Tell me the average year for my queen |
SELECT singles_w_l FROM table_name_7 WHERE years_played > 1 AND highest_singles_ranking = "1346" | CREATE TABLE table_name_7 (singles_w_l VARCHAR, years_played VARCHAR, highest_singles_ranking VARCHAR) | Tell me singles W-L that has years larger than 1 and highest singles ranking of 1346 |
SELECT best_finish FROM table_name_10 WHERE top_10s > 0 AND scoring_average = 73.04 | CREATE TABLE table_name_10 (best_finish VARCHAR, top_10s VARCHAR, scoring_average VARCHAR) | When the Top 10s is larger than 0 and the scoring average 73.04, what is the best finish? |
SELECT result FROM table_name_54 WHERE venue = "praterstadion, vienna" AND competition = "euro 1980 qualifier" | CREATE TABLE table_name_54 (result VARCHAR, venue VARCHAR, competition VARCHAR) | Tell me the score of praterstadion, vienna, and competition of euro 1980 qualifier |
SELECT score FROM table_name_37 WHERE date = "28 march 1979" | CREATE TABLE table_name_37 (score VARCHAR, date VARCHAR) | I want the score for 28 march 1979 |
SELECT score FROM table_name_72 WHERE date = "30 april 1977" | CREATE TABLE table_name_72 (score VARCHAR, date VARCHAR) | I want the score for 30 april 1977 |
SELECT event FROM table_name_38 WHERE competition = "world championships" AND year < 2011 | CREATE TABLE table_name_38 (event VARCHAR, competition VARCHAR, year VARCHAR) | What competition was the World Championships before 2011? |
SELECT event FROM table_name_56 WHERE venue = "erfurt, germany" | CREATE TABLE table_name_56 (event VARCHAR, venue VARCHAR) | What event took place in Erfurt, Germany? |
SELECT team_nickname FROM table_name_21 WHERE enrollment > 42 OFFSET 326 | CREATE TABLE table_name_21 (team_nickname VARCHAR, enrollment INTEGER) | Name the team nickname for enrollment more than 42,326 |
SELECT points_against FROM table_name_9 WHERE lost = "3" | CREATE TABLE table_name_9 (points_against VARCHAR, lost VARCHAR) | With the lost of 3, how many points? |
SELECT points_against FROM table_name_38 WHERE matches = "16" | CREATE TABLE table_name_38 (points_against VARCHAR, matches VARCHAR) | How many against points for 16 matches? |
SELECT points_for FROM table_name_36 WHERE points_against = "51" | CREATE TABLE table_name_36 (points_for VARCHAR, points_against VARCHAR) | The 51 points against, how many are for? |
SELECT points_for FROM table_name_36 WHERE played_in = "total" | CREATE TABLE table_name_36 (points_for VARCHAR, played_in VARCHAR) | For the played in, what are the total points? |
SELECT country FROM table_name_69 WHERE team = "eurasia astana" | CREATE TABLE table_name_69 (country VARCHAR, team VARCHAR) | What country is the Eurasia Astana team from? |
SELECT 2008 FROM table_name_38 WHERE 2012 = "4r" AND 2009 = "a" | CREATE TABLE table_name_38 (Id VARCHAR) | Tell me the 2008 for 2012 of 4r and 2009 of a |
SELECT 2008 FROM table_name_69 WHERE 2011 = "olympic games" | CREATE TABLE table_name_69 (Id VARCHAR) | Tell me the 2008 of 2001 olympic games |
SELECT tournament FROM table_name_26 WHERE 2009 = "atp masters series" | CREATE TABLE table_name_26 (tournament VARCHAR) | Tell me the tournament of 2009 of atp masters series |
SELECT 2011 FROM table_name_73 WHERE tournament = "monte carlo masters" | CREATE TABLE table_name_73 (tournament VARCHAR) | Tell me the 2011 tournament of monte carlo masters |
SELECT 2011 FROM table_name_40 WHERE 2012 = "2r" AND 2010 = "2r" AND 2009 = "2r" | CREATE TABLE table_name_40 (Id VARCHAR) | Tell me the 2011 with 2012 of 2r |
SELECT MAX(round) FROM table_name_55 WHERE position = "running back" AND college = "california" | CREATE TABLE table_name_55 (round INTEGER, position VARCHAR, college VARCHAR) | What was the latest round with a running back from a California college? |
SELECT result FROM table_name_36 WHERE date = "november 25, 1973" | CREATE TABLE table_name_36 (result VARCHAR, date VARCHAR) | What were the results for november 25, 1973? |
SELECT opponent FROM table_name_60 WHERE week = 14 | CREATE TABLE table_name_60 (opponent VARCHAR, week VARCHAR) | Which Opponent had a week of 14? |
SELECT date FROM table_name_22 WHERE opponent = "new orleans saints" | CREATE TABLE table_name_22 (date VARCHAR, opponent VARCHAR) | Tell me the date for new orleans saints |
SELECT result FROM table_name_46 WHERE week = 4 | CREATE TABLE table_name_46 (result VARCHAR, week VARCHAR) | Tell me the result for week of 4 |
SELECT MIN(week) FROM table_name_50 WHERE result = "w 10-3" | CREATE TABLE table_name_50 (week INTEGER, result VARCHAR) | Tell me the lowest week for w 10-3 |
SELECT AVG(heat_rank) FROM table_name_48 WHERE lane = 2 AND time < 27.66 | CREATE TABLE table_name_48 (heat_rank INTEGER, lane VARCHAR, time VARCHAR) | Tell me the average heat rank with a lane of 2 and time less than 27.66 |
SELECT MAX(overall_rank) FROM table_name_37 WHERE lane < 8 AND time < 27.16 | CREATE TABLE table_name_37 (overall_rank INTEGER, lane VARCHAR, time VARCHAR) | Tell me the highest overall rank for lane less than 8 and time less than 27.16 |
SELECT COUNT(time) FROM table_name_68 WHERE swimmer = "luke hall" AND overall_rank > 105 | CREATE TABLE table_name_68 (time VARCHAR, swimmer VARCHAR, overall_rank VARCHAR) | Tell me the total number of time for luke hall overall rank being larger than 105 |
SELECT left_team FROM table_name_60 WHERE name = "josh vanlandingham" | CREATE TABLE table_name_60 (left_team VARCHAR, name VARCHAR) | Tell me the left team for josh vanlandingham |
SELECT name FROM table_name_86 WHERE goals < 7 AND rank < 7 AND appearances > 8 | CREATE TABLE table_name_86 (name VARCHAR, appearances VARCHAR, goals VARCHAR, rank VARCHAR) | Who had less than 7 goals, was ranked under 7, and had more than 8 appearances? |
SELECT SUM(rank) FROM table_name_5 WHERE name = "fernando cavenaghi" AND appearances < 7 | CREATE TABLE table_name_5 (rank INTEGER, name VARCHAR, appearances VARCHAR) | What was the sum of ranks of those called Fernando Cavenaghi who appeared less than 7. |
SELECT COUNT(appearances) FROM table_name_95 WHERE goals = 5 AND rank < 7 | CREATE TABLE table_name_95 (appearances VARCHAR, goals VARCHAR, rank VARCHAR) | How many appearances were made by people that had 5 goals and less than 7 rank? |
SELECT surface FROM table_name_85 WHERE partner = "vania king" | CREATE TABLE table_name_85 (surface VARCHAR, partner VARCHAR) | What was the surface for the game that had a partner of vania king? |
SELECT partner FROM table_name_80 WHERE date = "october 20, 2013" | CREATE TABLE table_name_80 (partner VARCHAR, date VARCHAR) | Who was the partner for the game on October 20, 2013? |
SELECT name FROM table_name_29 WHERE round = "e" | CREATE TABLE table_name_29 (name VARCHAR, round VARCHAR) | Tell me the name for round of e |
SELECT team_1 FROM table_name_74 WHERE name = "preliminary final" | CREATE TABLE table_name_74 (team_1 VARCHAR, name VARCHAR) | Name the team one for preliminary final |
SELECT team_1 FROM table_name_64 WHERE round = "3" | CREATE TABLE table_name_64 (team_1 VARCHAR, round VARCHAR) | Name the team 1 for round 3 |
SELECT round FROM table_name_36 WHERE match = "2nd elimination final" | CREATE TABLE table_name_36 (round VARCHAR, match VARCHAR) | Name the round for 2nd elimination final |
SELECT MAX(grid) FROM table_name_32 WHERE driver = "alexander wurz" AND laps < 58 | CREATE TABLE table_name_32 (grid INTEGER, driver VARCHAR, laps VARCHAR) | In less than 58 laps, what is the highest grid for Alexander Wurz? |
SELECT COUNT(laps) FROM table_name_24 WHERE grid = 19 | CREATE TABLE table_name_24 (laps VARCHAR, grid VARCHAR) | What is the total laps for grid 19? |
SELECT winning_driver FROM table_name_98 WHERE winning_team = "mobilecast impul" AND circuit = "twin ring motegi" | CREATE TABLE table_name_98 (winning_driver VARCHAR, winning_team VARCHAR, circuit VARCHAR) | Name the winning driver for mobilecast impul and twin ring motegi |
SELECT winning_driver FROM table_name_24 WHERE round = 7 | CREATE TABLE table_name_24 (winning_driver VARCHAR, round VARCHAR) | Name the winning driver for round 7 |
SELECT COUNT(total) FROM table_name_25 WHERE gold = 3 AND rank < 3 | CREATE TABLE table_name_25 (total VARCHAR, gold VARCHAR, rank VARCHAR) | Name the number of total for 3 gold and rank less than 3 |
SELECT name FROM table_name_19 WHERE investigation = "thrombus imaging" | CREATE TABLE table_name_19 (name VARCHAR, investigation VARCHAR) | Tell me the naame of Investigation of thrombus imaging |
SELECT name FROM table_name_68 WHERE route_of_administration = "iv" AND investigation = "thrombus imaging" | CREATE TABLE table_name_68 (name VARCHAR, route_of_administration VARCHAR, investigation VARCHAR) | Tell me the name for Investigation of thrombus imaging and Route of administration of iv |
SELECT in_vitro___in_vivo FROM table_name_96 WHERE route_of_administration = "iv" AND investigation = "somatostatin receptor imaging" | CREATE TABLE table_name_96 (in_vitro___in_vivo VARCHAR, route_of_administration VARCHAR, investigation VARCHAR) | Tell me the in-vitro for Route of administration of iv and Investigation of somatostatin receptor imaging |
SELECT SUM(pick__number) FROM table_name_37 WHERE position = "d" AND player = "tim regan" | CREATE TABLE table_name_37 (pick__number INTEGER, position VARCHAR, player VARCHAR) | The player is Tim Regan and the pick # is position of d, what's the sum? |
SELECT position FROM table_name_66 WHERE pick__number = 16 | CREATE TABLE table_name_66 (position VARCHAR, pick__number VARCHAR) | The position that has a pick # of 16 is what? |
SELECT MIN(pick__number) FROM table_name_39 WHERE player = "damani ralph" | CREATE TABLE table_name_39 (pick__number INTEGER, player VARCHAR) | Damani Ralph is associated with which lowest pick #? |
SELECT COUNT(pick__number) FROM table_name_5 WHERE mls_team = "chicago fire" | CREATE TABLE table_name_5 (pick__number VARCHAR, mls_team VARCHAR) | Chicago fire has a total of a total of how many #s? |
SELECT score__l__ = _score_in_legs, __s__ = _score_in_sets FROM table_name_51 WHERE year < 2012 | CREATE TABLE table_name_51 (score__l__ VARCHAR, _score_in_legs VARCHAR, __s__ VARCHAR, _score_in_sets VARCHAR, year INTEGER) | Tell me the score for score in legs and year less than 2012 |
SELECT championship FROM table_name_30 WHERE outcome = "runner-up" AND year = 2010 | CREATE TABLE table_name_30 (championship VARCHAR, outcome VARCHAR, year VARCHAR) | Tell me the championship for runner-up outcome of 2010 |
SELECT outcome FROM table_name_12 WHERE championship = "premier league darts" | CREATE TABLE table_name_12 (outcome VARCHAR, championship VARCHAR) | Tell me the outcome for premier league darts |
SELECT SUM(year) FROM table_name_41 WHERE outcome = "runner-up" AND championship = "world darts championship" | CREATE TABLE table_name_41 (year INTEGER, outcome VARCHAR, championship VARCHAR) | Tell me the sum of Year for outcome of runner-up for world darts championship |
SELECT COUNT(points_won) FROM table_name_74 WHERE year = "2007" AND total_matches > 5 | CREATE TABLE table_name_74 (points_won VARCHAR, year VARCHAR, total_matches VARCHAR) | In 2007, how many points were won when more than 5 matches were played? |
SELECT AVG(total_matches) FROM table_name_73 WHERE points__percentage > 33.3 AND year = "2007" | CREATE TABLE table_name_73 (total_matches INTEGER, points__percentage VARCHAR, year VARCHAR) | In 2007, what is the average total matches with points % larger than 33.3? |
SELECT player FROM table_name_74 WHERE school_club_team = "georgia tech" | CREATE TABLE table_name_74 (player VARCHAR, school_club_team VARCHAR) | Which player attended school at Georgia Tech? |
SELECT position FROM table_name_87 WHERE player = "ed stokes" | CREATE TABLE table_name_87 (position VARCHAR, player VARCHAR) | What position does Ed Stokes hold? |
SELECT school_club_team FROM table_name_93 WHERE player = "michael stewart" | CREATE TABLE table_name_93 (school_club_team VARCHAR, player VARCHAR) | What is Michael Stewart's school or club team? |
SELECT tournament FROM table_name_8 WHERE date = "may 29, 2010" | CREATE TABLE table_name_8 (tournament VARCHAR, date VARCHAR) | What tournament was played on May 29, 2010? |
SELECT surface FROM table_name_50 WHERE partner = "paula ormaechea" | CREATE TABLE table_name_50 (surface VARCHAR, partner VARCHAR) | What was the surface made of in the contest where Paula Ormaechea was the partner? |
SELECT method FROM table_name_1 WHERE record = "4-2" | CREATE TABLE table_name_1 (method VARCHAR, record VARCHAR) | Tell me the method with a record of 4-2 |
SELECT record FROM table_name_78 WHERE opponent = "yukiya naito" | CREATE TABLE table_name_78 (record VARCHAR, opponent VARCHAR) | Tell me the record for yukiya naito |
SELECT record FROM table_name_25 WHERE opponent = "kazuhiro nakamura" | CREATE TABLE table_name_25 (record VARCHAR, opponent VARCHAR) | Tell me the record for kazuhiro nakamura |
SELECT method FROM table_name_60 WHERE opponent = "stanislav nuschik" | CREATE TABLE table_name_60 (method VARCHAR, opponent VARCHAR) | Tell me the method for stanislav nuschik |
SELECT res FROM table_name_88 WHERE event = "ifl: los angeles" | CREATE TABLE table_name_88 (res VARCHAR, event VARCHAR) | What was the Result of IFL: Los Angeles? |
SELECT event FROM table_name_4 WHERE res = "win" AND opponent = "shane ott" | CREATE TABLE table_name_4 (event VARCHAR, res VARCHAR, opponent VARCHAR) | Which Event resulted in a Win for Opponent, Shane Ott? |
SELECT crystal_structure FROM table_name_67 WHERE no_of_cu_o_planes_in_unit_cell = 3 AND t_c__k_ = 110 | CREATE TABLE table_name_67 (crystal_structure VARCHAR, no_of_cu_o_planes_in_unit_cell VARCHAR, t_c__k_ VARCHAR) | Which crystal structures has a Tc(K) of 110 and the number of Cu-O planes in the unit cell is 3? |
SELECT gold FROM table_name_46 WHERE total > 33 | CREATE TABLE table_name_46 (gold VARCHAR, total INTEGER) | Name the gold with total larger than 33 |
SELECT MIN(gold) FROM table_name_54 WHERE nation = "tanzania" AND bronze < 0 | CREATE TABLE table_name_54 (gold INTEGER, nation VARCHAR, bronze VARCHAR) | Name the fewest gold for tanzania with bronze less than 0 |
SELECT opponent FROM table_name_17 WHERE week = 10 | CREATE TABLE table_name_17 (opponent VARCHAR, week VARCHAR) | Who is the opponent for week 10? |
SELECT MAX(gold) FROM table_name_81 WHERE total > 32 | CREATE TABLE table_name_81 (gold INTEGER, total INTEGER) | For countries that won more than 32 gold medals, what was the highest number of golds? |
SELECT fourth_place FROM table_name_36 WHERE year = 2010 | CREATE TABLE table_name_36 (fourth_place VARCHAR, year VARCHAR) | Tell me fourth place for year of 2010 |
SELECT result FROM table_name_81 WHERE competition = "2010 fifa world cup qualification" | CREATE TABLE table_name_81 (result VARCHAR, competition VARCHAR) | Tell me the result for 2010 fifa world cup qualification |
SELECT date FROM table_name_85 WHERE competition = "2010 fifa world cup qualification" | CREATE TABLE table_name_85 (date VARCHAR, competition VARCHAR) | Tell me the date for 2010 fifa world cup qualification |
SELECT surface FROM table_name_34 WHERE date = "november 28, 2010" | CREATE TABLE table_name_34 (surface VARCHAR, date VARCHAR) | Tell me the surface for november 28, 2010 |
SELECT tournament FROM table_name_99 WHERE surface = "hard" AND score = "6β1, 6β2" | CREATE TABLE table_name_99 (tournament VARCHAR, surface VARCHAR, score VARCHAR) | Tell me the tournament with a hard surface for 6β1, 6β2 |
SELECT date FROM table_name_87 WHERE score = "6β3, 6β2" | CREATE TABLE table_name_87 (date VARCHAR, score VARCHAR) | Tell me the date for 6β3, 6β2 |
SELECT date FROM table_name_8 WHERE opponent_in_the_final = "johanna konta" | CREATE TABLE table_name_8 (date VARCHAR, opponent_in_the_final VARCHAR) | Tell me the date for johanna konta |
SELECT time FROM table_name_42 WHERE rank > 3 AND rider = "brian finch" | CREATE TABLE table_name_42 (time VARCHAR, rank VARCHAR, rider VARCHAR) | What is the time value for the rider Brian Finch and a rank greater than 3? |
SELECT result FROM table_name_40 WHERE director = "sergio leone" AND project = "once upon a time in the west" | CREATE TABLE table_name_40 (result VARCHAR, director VARCHAR, project VARCHAR) | What result does the project Once Upon A Time In The West, directed by Sergio Leone have? |
SELECT year FROM table_name_92 WHERE project = "bulworth" | CREATE TABLE table_name_92 (year VARCHAR, project VARCHAR) | What year was Bulworth nominated? |
SELECT AVG(year) FROM table_name_16 WHERE project = "the untouchables" | CREATE TABLE table_name_16 (year INTEGER, project VARCHAR) | What is the average Year for the project The Untouchables? |
SELECT section FROM table_name_29 WHERE position = "8th" AND season = "2003" | CREATE TABLE table_name_29 (section VARCHAR, position VARCHAR, season VARCHAR) | Tell me the section for position of 8th and season of 2003 |
SELECT date FROM table_name_35 WHERE week = 17 | CREATE TABLE table_name_35 (date VARCHAR, week VARCHAR) | What is the date of week 17? |
Subsets and Splits