question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
What team 2 has lokomotiva as team 1? | CREATE TABLE table_name_16 (team_2 VARCHAR, team_1 VARCHAR) | SELECT team_2 FROM table_name_16 WHERE team_1 = "lokomotiva" |
What team 1 has sloga jugomagnat as team 2? | CREATE TABLE table_name_99 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_99 WHERE team_2 = "sloga jugomagnat" |
What 2nd leg has pelister as team 1? | CREATE TABLE table_name_7 (team_1 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_7 WHERE team_1 = "pelister" |
What 1st leg has 11 oktomvri as team 2? | CREATE TABLE table_name_78 (team_2 VARCHAR) | SELECT 1 AS st_leg FROM table_name_78 WHERE team_2 = "11 oktomvri" |
What is the total against on 15/10/1999? | CREATE TABLE table_name_39 (against INTEGER, date VARCHAR) | SELECT SUM(against) FROM table_name_39 WHERE date = "15/10/1999" |
What status is on 21/08/1999? | CREATE TABLE table_name_66 (status VARCHAR, date VARCHAR) | SELECT status FROM table_name_66 WHERE date = "21/08/1999" |
What opposing teams playing on 11/04/1999? | CREATE TABLE table_name_63 (opposing_teams VARCHAR, date VARCHAR) | SELECT opposing_teams FROM table_name_63 WHERE date = "11/04/1999" |
What co-singer has sukhwinder singh as the composer? | CREATE TABLE table_name_26 (co_singer VARCHAR, composer VARCHAR) | SELECT co_singer FROM table_name_26 WHERE composer = "sukhwinder singh" |
What is the away when the home is 3-2, and the season is 1959-60? | CREATE TABLE table_name_61 (away VARCHAR, home VARCHAR, season VARCHAR) | SELECT away FROM table_name_61 WHERE home = "3-2" AND season = "1959-60" |
What team has a league of bundesliga, and an away of 3-2? | CREATE TABLE table_name_32 (teams VARCHAR, league VARCHAR, away VARCHAR) | SELECT teams FROM table_name_32 WHERE league = "bundesliga" AND away = "3-2" |
What teams has a home of 5-0? | CREATE TABLE table_name_58 (teams VARCHAR, home VARCHAR) | SELECT teams FROM table_name_58 WHERE home = "5-0" |
What teams has a home of 1-0, in the season 1988-89? | CREATE TABLE table_name_27 (teams VARCHAR, home VARCHAR, season VARCHAR) | SELECT teams FROM table_name_27 WHERE home = "1-0" AND season = "1988-89" |
What is the score of player brian watts, who has a to par of 5? | CREATE TABLE table_name_5 (score VARCHAR, to_par VARCHAR, player VARCHAR) | SELECT score FROM table_name_5 WHERE to_par = 5 AND player = "brian watts" |
What is the highest to par of player len mattiace, who has a t7 place and a score of 73-74=147? | CREATE TABLE table_name_83 (to_par INTEGER, player VARCHAR, place VARCHAR, score VARCHAR) | SELECT MAX(to_par) FROM table_name_83 WHERE place = "t7" AND score = 73 - 74 = 147 AND player = "len mattiace" |
What is the place of the player from the United States with a score of 74-72=146? | CREATE TABLE table_name_87 (place VARCHAR, country VARCHAR, score VARCHAR) | SELECT place FROM table_name_87 WHERE country = "united states" AND score = 74 - 72 = 146 |
What country has a 76-71=147 score? | CREATE TABLE table_name_8 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_8 WHERE score = 76 - 71 = 147 |
What is the most draws when less than 154 goals were conceded, and less than 36 games played? | CREATE TABLE table_name_74 (draws INTEGER, goals_conceded VARCHAR, games_played VARCHAR) | SELECT MAX(draws) FROM table_name_74 WHERE goals_conceded < 154 AND games_played < 36 |
What is the maximum goals score with less than 13 wins, greater than 86 goals were conceded, and more than 32 games lost? | CREATE TABLE table_name_87 (goals_scored INTEGER, loses VARCHAR, wins VARCHAR, goals_conceded VARCHAR) | SELECT MAX(goals_scored) FROM table_name_87 WHERE wins < 13 AND goals_conceded > 86 AND loses > 32 |
How many games have been played when there are 13 wins and 45 goals were conceded? | CREATE TABLE table_name_58 (games_played VARCHAR, wins VARCHAR, goals_conceded VARCHAR) | SELECT games_played FROM table_name_58 WHERE wins = 13 AND goals_conceded = 45 |
What is Character Kerry Vincent's Tenure? | CREATE TABLE table_name_79 (tenure VARCHAR, character VARCHAR) | SELECT tenure FROM table_name_79 WHERE character = "kerry vincent" |
What Rodger Corser Episode has a Rank of senior sergeant? | CREATE TABLE table_name_31 (episodes VARCHAR, rank VARCHAR, actor_actress VARCHAR) | SELECT episodes FROM table_name_31 WHERE rank = "senior sergeant" AND actor_actress = "rodger corser" |
What Character has a Rank of intelligence officer? | CREATE TABLE table_name_3 (character VARCHAR, rank VARCHAR) | SELECT character FROM table_name_3 WHERE rank = "intelligence officer" |
What is the Rank of the Character with Tenure of 2011? | CREATE TABLE table_name_2 (rank VARCHAR, tenure VARCHAR) | SELECT rank FROM table_name_2 WHERE tenure = "2011" |
What Actor/Actress a Tenure of 2008–2011 played Stella Dagostino? | CREATE TABLE table_name_88 (actor_actress VARCHAR, tenure VARCHAR, character VARCHAR) | SELECT actor_actress FROM table_name_88 WHERE tenure = "2008–2011" AND character = "stella dagostino" |
What is Jolene Anderson's Rank? | CREATE TABLE table_name_52 (rank VARCHAR, actor_actress VARCHAR) | SELECT rank FROM table_name_52 WHERE actor_actress = "jolene anderson" |
What neon has an Argon of 4.203? | CREATE TABLE table_name_89 (neon VARCHAR, argon VARCHAR) | SELECT neon FROM table_name_89 WHERE argon = "4.203" |
What krypton has an argon of 20.85? | CREATE TABLE table_name_18 (krypton VARCHAR, argon VARCHAR) | SELECT krypton FROM table_name_18 WHERE argon = "20.85" |
What argon has a neon of 10.5? | CREATE TABLE table_name_51 (argon VARCHAR, neon VARCHAR) | SELECT argon FROM table_name_51 WHERE neon = "10.5" |
What neon has a krypton of 213? | CREATE TABLE table_name_61 (neon VARCHAR, krypton VARCHAR) | SELECT neon FROM table_name_61 WHERE krypton = "213" |
Wha argon has helium of 1.0000684? | CREATE TABLE table_name_54 (argon VARCHAR, helium VARCHAR) | SELECT argon FROM table_name_54 WHERE helium = "1.0000684" |
What was the date of the victory when the Axis Unit was 5./jg 3? | CREATE TABLE table_name_45 (date__ddmmyyyy_ VARCHAR, axis_unit VARCHAR) | SELECT date__ddmmyyyy_ FROM table_name_45 WHERE axis_unit = "5./jg 3" |
What was the date of the victory when the Soviet Unit was 73 giap, and the Enemy Aircraft was bf.109g-? w.nr.? | CREATE TABLE table_name_74 (date__ddmmyyyy_ VARCHAR, soviet_unit VARCHAR, enemy_aircraft VARCHAR) | SELECT date__ddmmyyyy_ FROM table_name_74 WHERE soviet_unit = "73 giap" AND enemy_aircraft = "bf.109g-? w.nr.?" |
What was the aircraft flown when the axis unit was luftwaffe (**) and the enemy aircraft was ju.88? | CREATE TABLE table_name_40 (aircraft_flown VARCHAR, axis_unit VARCHAR, enemy_aircraft VARCHAR) | SELECT aircraft_flown FROM table_name_40 WHERE axis_unit = "luftwaffe (**)" AND enemy_aircraft = "ju.88" |
What was the enemy aircraft on 14.09.1942, when the Soviet Unit was 437 iap? | CREATE TABLE table_name_46 (enemy_aircraft VARCHAR, soviet_unit VARCHAR, date__ddmmyyyy_ VARCHAR) | SELECT enemy_aircraft FROM table_name_46 WHERE soviet_unit = "437 iap" AND date__ddmmyyyy_ = "14.09.1942" |
What Reserved for (SC / ST /None) with a Name of goverdhan? | CREATE TABLE table_name_31 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR) | SELECT reserved_for___sc___st__none_ FROM table_name_31 WHERE name = "goverdhan" |
What Number of electorates (2009) has a District of mathura, and a Name of mant? | CREATE TABLE table_name_56 (number_of_electorates__2009_ INTEGER, district VARCHAR, name VARCHAR) | SELECT MIN(number_of_electorates__2009_) FROM table_name_56 WHERE district = "mathura" AND name = "mant" |
What is the largest Number of electorates (2009) with a Constituency number of total:? | CREATE TABLE table_name_41 (number_of_electorates__2009_ INTEGER, constituency_number VARCHAR) | SELECT MAX(number_of_electorates__2009_) FROM table_name_41 WHERE constituency_number = "total:" |
Which inhabitants have 2009 as the election, with cremona as the municipality? | CREATE TABLE table_name_42 (inhabitants VARCHAR, election VARCHAR, municipality VARCHAR) | SELECT inhabitants FROM table_name_42 WHERE election = 2009 AND municipality = "cremona" |
Which inhabitants have lega lombarda as the party, with an election greater than 2010? | CREATE TABLE table_name_26 (inhabitants VARCHAR, party VARCHAR, election VARCHAR) | SELECT inhabitants FROM table_name_26 WHERE party = "lega lombarda" AND election > 2010 |
What is the lowest election that has cinisello balsamo as the municipality? | CREATE TABLE table_name_4 (election INTEGER, municipality VARCHAR) | SELECT MIN(election) FROM table_name_4 WHERE municipality = "cinisello balsamo" |
What is the average election that has monza as the municipality? | CREATE TABLE table_name_30 (election INTEGER, municipality VARCHAR) | SELECT AVG(election) FROM table_name_30 WHERE municipality = "monza" |
Whate place has 18 points with lost less than 8? | CREATE TABLE table_name_12 (place VARCHAR, points VARCHAR, lost VARCHAR) | SELECT COUNT(place) FROM table_name_12 WHERE points = 18 AND lost < 8 |
What is the average of lost for place less than 10, less than 23 points, and goals conceded less than 26 for the Chorrillo team? | CREATE TABLE table_name_21 (lost INTEGER, goals_conceded VARCHAR, team VARCHAR, place VARCHAR, points VARCHAR) | SELECT AVG(lost) FROM table_name_21 WHERE place < 10 AND points < 23 AND team = "chorrillo" AND goals_conceded < 26 |
When goals conceded is greater than 17 with 37 points, what is the greatest played? | CREATE TABLE table_name_51 (played INTEGER, points VARCHAR, goals_conceded VARCHAR) | SELECT MAX(played) FROM table_name_51 WHERE points = 37 AND goals_conceded > 17 |
What is the total points for a place less than 2 with a played greater than 18? | CREATE TABLE table_name_16 (points INTEGER, place VARCHAR, played VARCHAR) | SELECT SUM(points) FROM table_name_16 WHERE place < 2 AND played > 18 |
When goals scored is more than 18, draw is less than 4, and goals conceded is more than 24, what is the sum of played? | CREATE TABLE table_name_33 (played VARCHAR, goals_conceded VARCHAR, goals_scored VARCHAR, draw VARCHAR) | SELECT COUNT(played) FROM table_name_33 WHERE goals_scored > 18 AND draw < 4 AND goals_conceded > 24 |
What is the total rank for New Zealand, when less than 1 bronze medals were won? | CREATE TABLE table_name_56 (rank INTEGER, nation VARCHAR, bronze VARCHAR) | SELECT SUM(rank) FROM table_name_56 WHERE nation = "new zealand" AND bronze < 1 |
What is the sum of sliver medals when there were 2 gold medals, less than 15 total medals, and the rank is greater than 5? | CREATE TABLE table_name_88 (silver INTEGER, rank VARCHAR, gold VARCHAR, total VARCHAR) | SELECT SUM(silver) FROM table_name_88 WHERE gold = 2 AND total < 15 AND rank > 5 |
What is the total rank for the Netherlands when more than 2 silver medals were won? | CREATE TABLE table_name_8 (rank VARCHAR, nation VARCHAR, silver VARCHAR) | SELECT COUNT(rank) FROM table_name_8 WHERE nation = "netherlands" AND silver > 2 |
What is the total medal count when there are more than 1 gold and more than 2 silver medals won and the rank is less than 1? | CREATE TABLE table_name_15 (total VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR) | SELECT total FROM table_name_15 WHERE gold > 1 AND silver > 2 AND rank < 2 |
What is the average medal total when the rank is less than 5 and less than 7 bronze medals were won? | CREATE TABLE table_name_64 (total INTEGER, rank VARCHAR, bronze VARCHAR) | SELECT AVG(total) FROM table_name_64 WHERE rank < 5 AND bronze < 7 |
Who did Tony Oakey win against when he had type of w pts 12? | CREATE TABLE table_name_54 (opponent VARCHAR, result VARCHAR, type VARCHAR) | SELECT opponent FROM table_name_54 WHERE result = "win" AND type = "w pts 12" |
What was Tony Oakey's Rd., Time when he fought against hastings rasani? | CREATE TABLE table_name_48 (rd VARCHAR, _time VARCHAR, opponent VARCHAR) | SELECT rd, _time FROM table_name_48 WHERE opponent = "hastings rasani" |
What is the Position of the Player with a Height of 2.11? | CREATE TABLE table_name_11 (position VARCHAR, height VARCHAR) | SELECT position FROM table_name_11 WHERE height = 2.11 |
What is the Current Club of the PG/SG player with a Height of less than 1.9500000000000002? | CREATE TABLE table_name_87 (current_club VARCHAR, height VARCHAR, position VARCHAR) | SELECT current_club FROM table_name_87 WHERE height < 1.9500000000000002 AND position = "pg/sg" |
What is the Position of the Player from the Toronto Raptors? | CREATE TABLE table_name_78 (position VARCHAR, current_club VARCHAR) | SELECT position FROM table_name_78 WHERE current_club = "toronto raptors" |
What Elected has Assembled of 23 january 1559? | CREATE TABLE table_name_44 (elected VARCHAR, assembled VARCHAR) | SELECT elected FROM table_name_44 WHERE assembled = "23 january 1559" |
What Assembled has Elected of 1562/63? | CREATE TABLE table_name_30 (assembled VARCHAR, elected VARCHAR) | SELECT assembled FROM table_name_30 WHERE elected = "1562/63" |
Which shooter was the olympic bronze medalist? | CREATE TABLE table_name_75 (shooter VARCHAR, total VARCHAR) | SELECT shooter FROM table_name_75 WHERE total = "olympic bronze medalist" |
What event did the shooter, who had 29 total points, compete in? | CREATE TABLE table_name_31 (event VARCHAR, total VARCHAR) | SELECT event FROM table_name_31 WHERE total = "29" |
Who got 13 score points at wc kerrville? | CREATE TABLE table_name_16 (shooter VARCHAR, score_points VARCHAR, event VARCHAR) | SELECT shooter FROM table_name_16 WHERE score_points = "13" AND event = "wc kerrville" |
What event did the shooter, who had 10 score points, compete in? | CREATE TABLE table_name_81 (event VARCHAR, score_points VARCHAR) | SELECT event FROM table_name_81 WHERE score_points = "10" |
Which Mark has an Athlete of tatyana lebedeva? | CREATE TABLE table_name_84 (mark VARCHAR, athlete VARCHAR) | SELECT mark FROM table_name_84 WHERE athlete = "tatyana lebedeva" |
Which Mark has an Athlete of heike drechsler? | CREATE TABLE table_name_17 (mark VARCHAR, athlete VARCHAR) | SELECT mark FROM table_name_17 WHERE athlete = "heike drechsler" |
Which Date has a Venue of bucharest? | CREATE TABLE table_name_3 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_3 WHERE venue = "bucharest" |
Which Goals For has a Team of congleton town, and a Lost larger than 11? | CREATE TABLE table_name_27 (goals_for INTEGER, team VARCHAR, lost VARCHAR) | SELECT MAX(goals_for) FROM table_name_27 WHERE team = "congleton town" AND lost > 11 |
Which Goal Difference has Drawn larger than 10, and a Team of lancaster city? | CREATE TABLE table_name_21 (goal_difference VARCHAR, drawn VARCHAR, team VARCHAR) | SELECT goal_difference FROM table_name_21 WHERE drawn > 10 AND team = "lancaster city" |
What date was the 200m breaststroke event? | CREATE TABLE table_name_53 (date VARCHAR, event VARCHAR) | SELECT date FROM table_name_53 WHERE event = "200m breaststroke" |
What time was the 50m freestyle event? | CREATE TABLE table_name_26 (time VARCHAR, event VARCHAR) | SELECT time FROM table_name_26 WHERE event = "50m freestyle" |
What meet had a 400m individual medley meet? | CREATE TABLE table_name_56 (meet VARCHAR, event VARCHAR) | SELECT meet FROM table_name_56 WHERE event = "400m individual medley" |
How much Total has a Player of todd hamilton, and a To par smaller than 15? | CREATE TABLE table_name_55 (total VARCHAR, player VARCHAR, to_par VARCHAR) | SELECT COUNT(total) FROM table_name_55 WHERE player = "todd hamilton" AND to_par < 15 |
Which Year(s) won has a Total larger than 295? | CREATE TABLE table_name_31 (year_s__won VARCHAR, total INTEGER) | SELECT year_s__won FROM table_name_31 WHERE total > 295 |
Which Country has a Finish of t32, and a Year(s) won of 1996? | CREATE TABLE table_name_19 (country VARCHAR, finish VARCHAR, year_s__won VARCHAR) | SELECT country FROM table_name_19 WHERE finish = "t32" AND year_s__won = "1996" |
How many totals does pádraig harrington have? | CREATE TABLE table_name_83 (total VARCHAR, player VARCHAR) | SELECT COUNT(total) FROM table_name_83 WHERE player = "pádraig harrington" |
What is the highest to par with a place of t8 and West Germany as the country? | CREATE TABLE table_name_37 (to_par INTEGER, place VARCHAR, country VARCHAR) | SELECT MAX(to_par) FROM table_name_37 WHERE place = "t8" AND country = "west germany" |
Who was the player for England when the to par is 7? | CREATE TABLE table_name_43 (player VARCHAR, to_par VARCHAR, country VARCHAR) | SELECT player FROM table_name_43 WHERE to_par = 7 AND country = "england" |
Who was the player for Japan when the to par was smaller than 7? | CREATE TABLE table_name_57 (player VARCHAR, to_par VARCHAR, country VARCHAR) | SELECT player FROM table_name_57 WHERE to_par < 7 AND country = "japan" |
What is the average to par for a score of 78-67-73=218? | CREATE TABLE table_name_2 (to_par INTEGER, score VARCHAR) | SELECT AVG(to_par) FROM table_name_2 WHERE score = 78 - 67 - 73 = 218 |
What did Sam Torrance score? | CREATE TABLE table_name_49 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_49 WHERE player = "sam torrance" |
Which Year(s) won has a Total of 289? | CREATE TABLE table_name_71 (year_s__won VARCHAR, total VARCHAR) | SELECT year_s__won FROM table_name_71 WHERE total = 289 |
Which country has a Year(s) won in 1964? | CREATE TABLE table_name_37 (country VARCHAR, year_s__won VARCHAR) | SELECT country FROM table_name_37 WHERE year_s__won = "1964" |
Which year al geiberger is in? | CREATE TABLE table_name_50 (year_s__won VARCHAR, player VARCHAR) | SELECT year_s__won FROM table_name_50 WHERE player = "al geiberger" |
Which To par has a Year(s) won of 1964? | CREATE TABLE table_name_89 (to_par VARCHAR, year_s__won VARCHAR) | SELECT to_par FROM table_name_89 WHERE year_s__won = "1964" |
Which Total has a Finish of t59? | CREATE TABLE table_name_81 (total INTEGER, finish VARCHAR) | SELECT MIN(total) FROM table_name_81 WHERE finish = "t59" |
which To par has a Country of united states, and a Player of dave stockton? | CREATE TABLE table_name_42 (to_par VARCHAR, country VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_42 WHERE country = "united states" AND player = "dave stockton" |
Which player has $450 and a score of 76-74-74-72=296? | CREATE TABLE table_name_67 (player VARCHAR, money___$__ VARCHAR, score VARCHAR) | SELECT player FROM table_name_67 WHERE money___$__ = "450" AND score = 76 - 74 - 74 - 72 = 296 |
Who is the 1st member of the parliament assembled on 5 April 1614? | CREATE TABLE table_name_41 (assembled VARCHAR) | SELECT 1 AS st_member FROM table_name_41 WHERE assembled = "5 april 1614" |
What is the assembled date of the parliament dissolved on 9 February 1611 and elected in 1606? | CREATE TABLE table_name_60 (assembled VARCHAR, dissolved VARCHAR, elected VARCHAR) | SELECT assembled FROM table_name_60 WHERE dissolved = "9 february 1611" AND elected = "1606" |
Who is the 1st member elected in 1620/21? | CREATE TABLE table_name_82 (elected VARCHAR) | SELECT 1 AS st_member FROM table_name_82 WHERE elected = "1620/21" |
What is the assembled date of the parliament elected in 1620/21? | CREATE TABLE table_name_47 (assembled VARCHAR, elected VARCHAR) | SELECT assembled FROM table_name_47 WHERE elected = "1620/21" |
What's the statue for an against above 22? | CREATE TABLE table_name_68 (status VARCHAR, against INTEGER) | SELECT status FROM table_name_68 WHERE against > 22 |
What's the status for an against below 22 with an opposing team of Australia? | CREATE TABLE table_name_86 (status VARCHAR, against VARCHAR, opposing_teams VARCHAR) | SELECT status FROM table_name_86 WHERE against < 22 AND opposing_teams = "australia" |
What's the against on 17/01/1976? | CREATE TABLE table_name_74 (against INTEGER, date VARCHAR) | SELECT MIN(against) FROM table_name_74 WHERE date = "17/01/1976" |
Which ranking has money of $82 and Al Watrous as the player? | CREATE TABLE table_name_64 (place VARCHAR, money___$__ VARCHAR, player VARCHAR) | SELECT place FROM table_name_64 WHERE money___$__ = 82 AND player = "al watrous" |
What is the score for Jock Hutchison? | CREATE TABLE table_name_89 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_89 WHERE player = "jock hutchison" |
What is the lowest par for Bobby Cruickshank? | CREATE TABLE table_name_9 (to_par INTEGER, player VARCHAR) | SELECT MIN(to_par) FROM table_name_9 WHERE player = "bobby cruickshank" |
What is the Country of the Player with a To par of –1? | CREATE TABLE table_name_69 (country VARCHAR, to_par VARCHAR) | SELECT country FROM table_name_69 WHERE to_par = "–1" |
Which is the highest Rd 1 has a Province of utrecht and a Rd 4 larger than 0? | CREATE TABLE table_name_70 (rd_1 INTEGER, province VARCHAR, rd_4 VARCHAR) | SELECT MAX(rd_1) FROM table_name_70 WHERE province = "utrecht" AND rd_4 > 0 |
What Rd 3 has a Rd 2 1 of 0+1? | CREATE TABLE table_name_95 (rd_3 VARCHAR, rd_2_1 VARCHAR) | SELECT rd_3 FROM table_name_95 WHERE rd_2_1 = "0+1" |
Which Position has Goals against larger than 32, and points larger than 30? | CREATE TABLE table_name_22 (position VARCHAR, goals_against VARCHAR, points VARCHAR) | SELECT position FROM table_name_22 WHERE goals_against > 32 AND points > 30 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.