question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
Name the most attendance for october 11 | CREATE TABLE table_name_75 (attendance INTEGER, date VARCHAR) | SELECT MAX(attendance) FROM table_name_75 WHERE date = "october 11" |
Name the visitor for october 19 | CREATE TABLE table_name_52 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_52 WHERE date = "october 19" |
The highest year for the series titled dragon laws ii: kidnapped is what? | CREATE TABLE table_name_12 (year INTEGER, series_title VARCHAR) | SELECT MAX(year) FROM table_name_12 WHERE series_title = "dragon laws ii: kidnapped" |
The series titled dragon laws i: the undercover has what role? | CREATE TABLE table_name_73 (role VARCHAR, series_title VARCHAR) | SELECT role FROM table_name_73 WHERE series_title = "dragon laws i: the undercover" |
Which athlete has the fastest time of 15.82? | CREATE TABLE table_name_7 (athlete VARCHAR, fastest_time__s_ VARCHAR) | SELECT athlete FROM table_name_7 WHERE fastest_time__s_ = 15.82 |
What is the total number of years that an entrant had more than 0 points? | CREATE TABLE table_name_87 (year VARCHAR, points INTEGER) | SELECT COUNT(year) FROM table_name_87 WHERE points > 0 |
Name the total number of years for brm straight-4 | CREATE TABLE table_name_65 (year VARCHAR, engine VARCHAR) | SELECT COUNT(year) FROM table_name_65 WHERE engine = "brm straight-4" |
Name the total number of points for chassis of bmw t269 (f2) | CREATE TABLE table_name_2 (points VARCHAR, chassis VARCHAR) | SELECT COUNT(points) FROM table_name_2 WHERE chassis = "bmw t269 (f2)" |
Whats the highest Promotions that has a Team of Pallacanestro Messina, along with Relegations larger than 0? | CREATE TABLE table_name_43 (promotions INTEGER, team VARCHAR, relegations VARCHAR) | SELECT MAX(promotions) FROM table_name_43 WHERE team = "pallacanestro messina" AND relegations > 0 |
What are the lowest points with a Chassis of zakspeed 841, and a Year smaller than 1985? | CREATE TABLE table_name_32 (points INTEGER, chassis VARCHAR, year VARCHAR) | SELECT MIN(points) FROM table_name_32 WHERE chassis = "zakspeed 841" AND year < 1985 |
What is the lowest year with tyres in g and less than 0 points? | CREATE TABLE table_name_32 (year INTEGER, tyres VARCHAR, points VARCHAR) | SELECT MIN(year) FROM table_name_32 WHERE tyres = "g" AND points < 0 |
Which year has an Engine(s) of yamaha v8? | CREATE TABLE table_name_6 (year VARCHAR, engine_s_ VARCHAR) | SELECT year FROM table_name_6 WHERE engine_s_ = "yamaha v8" |
What are the average points with a Chassis of zakspeed 881? | CREATE TABLE table_name_40 (points INTEGER, chassis VARCHAR) | SELECT AVG(points) FROM table_name_40 WHERE chassis = "zakspeed 881" |
Which League has a Venue of martin luther king, jr. recreation center? | CREATE TABLE table_name_95 (league VARCHAR, venue VARCHAR) | SELECT league FROM table_name_95 WHERE venue = "martin luther king, jr. recreation center" |
Which Championships (Years) have a League of milb, florida state league, and a Venue of ed smith stadium? | CREATE TABLE table_name_96 (championships__years_ VARCHAR, league VARCHAR, venue VARCHAR) | SELECT championships__years_ FROM table_name_96 WHERE league = "milb, florida state league" AND venue = "ed smith stadium" |
Which Sport has a League of continental basketball league, and a Venue of avalon middle school? | CREATE TABLE table_name_11 (sport VARCHAR, league VARCHAR, venue VARCHAR) | SELECT sport FROM table_name_11 WHERE league = "continental basketball league" AND venue = "avalon middle school" |
Which Venue has a Sport of baseball, Championships (Years) of 0, a League of milb, florida state league, and a Club of jupiter hammerheads? | CREATE TABLE table_name_38 (venue VARCHAR, club VARCHAR, league VARCHAR, sport VARCHAR, championships__years_ VARCHAR) | SELECT venue FROM table_name_38 WHERE sport = "baseball" AND championships__years_ = "0" AND league = "milb, florida state league" AND club = "jupiter hammerheads" |
Which club has a League of american basketball association, and a Venue of tba? | CREATE TABLE table_name_86 (club VARCHAR, league VARCHAR, venue VARCHAR) | SELECT club FROM table_name_86 WHERE league = "american basketball association" AND venue = "tba" |
Which area has Years of 1β8, a Decile smaller than 7, and a Name of waikari school? | CREATE TABLE table_name_71 (area VARCHAR, name VARCHAR, years VARCHAR, decile VARCHAR) | SELECT area FROM table_name_71 WHERE years = "1β8" AND decile < 7 AND name = "waikari school" |
What is the average decile with Years of 1β8, and an Area of waipara? | CREATE TABLE table_name_98 (decile INTEGER, years VARCHAR, area VARCHAR) | SELECT AVG(decile) FROM table_name_98 WHERE years = "1β8" AND area = "waipara" |
Which area has Years of 1β8, and a Name of broomfield school? | CREATE TABLE table_name_9 (area VARCHAR, years VARCHAR, name VARCHAR) | SELECT area FROM table_name_9 WHERE years = "1β8" AND name = "broomfield school" |
What is the smallest roll with a Decile larger than 6, and a Name of broomfield school? | CREATE TABLE table_name_40 (roll INTEGER, decile VARCHAR, name VARCHAR) | SELECT MIN(roll) FROM table_name_40 WHERE decile > 6 AND name = "broomfield school" |
Which name has a Roll of 270? | CREATE TABLE table_name_97 (name VARCHAR, roll VARCHAR) | SELECT name FROM table_name_97 WHERE roll = 270 |
Who directed the episode written by Dan Serafin and aired on July 23, 2008? | CREATE TABLE table_name_52 (directed_by VARCHAR, written_by VARCHAR, original_airdate VARCHAR) | SELECT directed_by FROM table_name_52 WHERE written_by = "dan serafin" AND original_airdate = "july 23, 2008" |
What is the title of the episode originally aired on February 2, 2008? | CREATE TABLE table_name_65 (title VARCHAR, original_airdate VARCHAR) | SELECT title FROM table_name_65 WHERE original_airdate = "february 2, 2008" |
How much money did James Seddon request? | CREATE TABLE table_name_2 (money_requested__Β£_ VARCHAR, entrepreneur_s_ VARCHAR) | SELECT money_requested__Β£_ FROM table_name_2 WHERE entrepreneur_s_ = "james seddon" |
Which Entrepreneur(s) first aired on 24 August 2006? | CREATE TABLE table_name_28 (entrepreneur_s_ VARCHAR, first_aired VARCHAR) | SELECT entrepreneur_s_ FROM table_name_28 WHERE first_aired = "24 august 2006" |
Which Entrepreneur(s) have mixalbum? | CREATE TABLE table_name_69 (entrepreneur_s_ VARCHAR, company_or_product_name VARCHAR) | SELECT entrepreneur_s_ FROM table_name_69 WHERE company_or_product_name = "mixalbum" |
How much money did Ian Chamings request? | CREATE TABLE table_name_78 (money_requested__Β£_ VARCHAR, entrepreneur_s_ VARCHAR) | SELECT money_requested__Β£_ FROM table_name_78 WHERE entrepreneur_s_ = "ian chamings" |
Which Investing Dragon(s) requested 100,000 in money and has autosafe? | CREATE TABLE table_name_74 (investing_dragon_s_ VARCHAR, money_requested__Β£_ VARCHAR, company_or_product_name VARCHAR) | SELECT investing_dragon_s_ FROM table_name_74 WHERE money_requested__Β£_ = "100,000" AND company_or_product_name = "autosafe" |
How tall is the Anqing Bridge which opened prior to 2011? | CREATE TABLE table_name_8 (height_of_bridge_structure VARCHAR, opened VARCHAR, name VARCHAR) | SELECT height_of_bridge_structure FROM table_name_8 WHERE opened < 2011 AND name = "anqing bridge" |
Where did the cable-stayed Badong Bridge open in 2005? | CREATE TABLE table_name_18 (location VARCHAR, name VARCHAR, type VARCHAR, opened VARCHAR) | SELECT location FROM table_name_18 WHERE type = "cable-stayed" AND opened = 2005 AND name = "badong bridge" |
Name the average year for janaprakal chandruang | CREATE TABLE table_name_53 (year INTEGER, performing_arts VARCHAR) | SELECT AVG(year) FROM table_name_53 WHERE performing_arts = "janaprakal chandruang" |
Name the literature for pradit prasarttong | CREATE TABLE table_name_72 (literature VARCHAR, performing_arts VARCHAR) | SELECT literature FROM table_name_72 WHERE performing_arts = "pradit prasarttong" |
What was the first year Fabrice Soulier was a runner-up? | CREATE TABLE table_name_43 (year INTEGER, runner_up VARCHAR) | SELECT MIN(year) FROM table_name_43 WHERE runner_up = "fabrice soulier" |
How many entrants were there in 2011? | CREATE TABLE table_name_21 (entrants VARCHAR, year VARCHAR) | SELECT COUNT(entrants) FROM table_name_21 WHERE year = 2011 |
What was the rank of Bobby Grim when he finished 1059 laps? | CREATE TABLE table_name_95 (rank VARCHAR, laps VARCHAR) | SELECT rank FROM table_name_95 WHERE laps = 1059 |
What is the rd., time of the match with a win result, a tko type, and Carlos Molina as the opponent? | CREATE TABLE table_name_43 (rd VARCHAR, _time VARCHAR, opponent VARCHAR, res VARCHAR, type VARCHAR) | SELECT rd, _time FROM table_name_43 WHERE res = "win" AND type = "tko" AND opponent = "carlos molina" |
What is the record of the match on 2009-07-18? | CREATE TABLE table_name_21 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_21 WHERE date = "2009-07-18" |
What is the type of the match with a win result and Michael Gomez as the opponent? | CREATE TABLE table_name_79 (type VARCHAR, res VARCHAR, opponent VARCHAR) | SELECT type FROM table_name_79 WHERE res = "win" AND opponent = "michael gomez" |
What were the goals when the caps were set at 48? | CREATE TABLE table_name_66 (goals VARCHAR, caps VARCHAR) | SELECT goals FROM table_name_66 WHERE caps = 48 |
How many caps did the player Mile Sterjovski have? | CREATE TABLE table_name_22 (caps VARCHAR, player VARCHAR) | SELECT caps FROM table_name_22 WHERE player = "mile sterjovski" |
What are the goals of Mile Sterjovski as a player? | CREATE TABLE table_name_59 (goals VARCHAR, player VARCHAR) | SELECT goals FROM table_name_59 WHERE player = "mile sterjovski" |
How many caps did Mitchell Duke have overall? | CREATE TABLE table_name_32 (caps VARCHAR, player VARCHAR) | SELECT COUNT(caps) FROM table_name_32 WHERE player = "mitchell duke" |
Which opponent has a Date of 16 february 2003? | CREATE TABLE table_name_83 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_83 WHERE date = "16 february 2003" |
Which date has an A venue with an Opponent of stoke city? | CREATE TABLE table_name_61 (date VARCHAR, venue VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_61 WHERE venue = "a" AND opponent = "stoke city" |
Which opponent has a Round of r5? | CREATE TABLE table_name_51 (opponent VARCHAR, round VARCHAR) | SELECT opponent FROM table_name_51 WHERE round = "r5" |
Which Scorers have a Venue of A, and an Opponent of arsenal? | CREATE TABLE table_name_41 (scorers VARCHAR, venue VARCHAR, opponent VARCHAR) | SELECT scorers FROM table_name_41 WHERE venue = "a" AND opponent = "arsenal" |
Which Opponent has a Round of qf replay? | CREATE TABLE table_name_22 (opponent VARCHAR, round VARCHAR) | SELECT opponent FROM table_name_22 WHERE round = "qf replay" |
Who took the loss on the April 6 game? | CREATE TABLE table_name_84 (loss VARCHAR, date VARCHAR) | SELECT loss FROM table_name_84 WHERE date = "april 6" |
What was the record after the April 15 game? | CREATE TABLE table_name_75 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_75 WHERE date = "april 15" |
Who was the opponent that led to a 10-13 record? | CREATE TABLE table_name_38 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_38 WHERE record = "10-13" |
What is the record after the April 6 game? | CREATE TABLE table_name_14 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_14 WHERE date = "april 6" |
What was the score for the April 12 game? | CREATE TABLE table_name_73 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_73 WHERE date = "april 12" |
What team has the most wins with at least 18 goals and less than 5 losses? | CREATE TABLE table_name_85 (wins INTEGER, goals_for VARCHAR, losses VARCHAR) | SELECT MAX(wins) FROM table_name_85 WHERE goals_for = 18 AND losses < 5 |
How many times has the Cornwall HC team, that has scored more than 18 goals, lost ? | CREATE TABLE table_name_12 (losses VARCHAR, team VARCHAR, goals_for VARCHAR) | SELECT COUNT(losses) FROM table_name_12 WHERE team = "cornwall hc" AND goals_for > 18 |
What is the series number that has a production code of 50021β50025? | CREATE TABLE table_name_19 (number_in_series INTEGER, production_code VARCHAR) | SELECT MAX(number_in_series) FROM table_name_19 WHERE production_code = "50021β50025" |
Which county team has jimmy finn as the player? | CREATE TABLE table_name_88 (county_team VARCHAR, player VARCHAR) | SELECT county_team FROM table_name_88 WHERE player = "jimmy finn" |
How many team numbers have john keane as the player? | CREATE TABLE table_name_93 (team_number VARCHAR, player VARCHAR) | SELECT COUNT(team_number) FROM table_name_93 WHERE player = "john keane" |
Which position has john keane as the player? | CREATE TABLE table_name_15 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_15 WHERE player = "john keane" |
What was the loss of the game when the record was 27-17? | CREATE TABLE table_name_61 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_61 WHERE record = "27-17" |
What are the smallest goals with wins smaller than 16, and a Draws larger than 14? | CREATE TABLE table_name_48 (goals_against INTEGER, wins VARCHAR, draws VARCHAR) | SELECT MIN(goals_against) FROM table_name_48 WHERE wins < 16 AND draws > 14 |
What are the average wins with a Points of 42-2, and Goals against of 67, and Played smaller than 44? | CREATE TABLE table_name_86 (wins INTEGER, played VARCHAR, points VARCHAR, goals_against VARCHAR) | SELECT AVG(wins) FROM table_name_86 WHERE points = "42-2" AND goals_against = 67 AND played < 44 |
Which average wins have a Club of barcelona atlètic, and Goals for larger than 56? | CREATE TABLE table_name_59 (wins INTEGER, club VARCHAR, goals_for VARCHAR) | SELECT AVG(wins) FROM table_name_59 WHERE club = "barcelona atlètic" AND goals_for > 56 |
Which lowest position has goals against smaller than 78, Points of 42-2, and Wins larger than 15? | CREATE TABLE table_name_63 (position INTEGER, wins VARCHAR, goals_against VARCHAR, points VARCHAR) | SELECT MIN(position) FROM table_name_63 WHERE goals_against < 78 AND points = "42-2" AND wins > 15 |
Which lowest played has a Position of 2, and Goals against larger than 53? | CREATE TABLE table_name_6 (played INTEGER, position VARCHAR, goals_against VARCHAR) | SELECT MIN(played) FROM table_name_6 WHERE position = 2 AND goals_against > 53 |
How many goal differences have Played larger than 44? | CREATE TABLE table_name_99 (goal_difference INTEGER, played INTEGER) | SELECT SUM(goal_difference) FROM table_name_99 WHERE played > 44 |
What year was the race in Vienna, Austria? | CREATE TABLE table_name_72 (year INTEGER, venue VARCHAR) | SELECT MIN(year) FROM table_name_72 WHERE venue = "vienna, austria" |
What event (Extra) in 2002 did the competitor compete in and place 8th? | CREATE TABLE table_name_80 (extra VARCHAR, year VARCHAR, result VARCHAR) | SELECT extra FROM table_name_80 WHERE year = 2002 AND result = "8th" |
Where was the Olympic Games held? | CREATE TABLE table_name_29 (venue VARCHAR, tournament VARCHAR) | SELECT venue FROM table_name_29 WHERE tournament = "olympic games" |
That is the value for Try bonus when the value for Points is 418? | CREATE TABLE table_name_82 (try_bonus VARCHAR, points_for VARCHAR) | SELECT try_bonus FROM table_name_82 WHERE points_for = "418" |
What is the Club, when the value for Played is 22, and when the value for Tries is 41? | CREATE TABLE table_name_44 (club VARCHAR, played VARCHAR, tries_for VARCHAR) | SELECT club FROM table_name_44 WHERE played = "22" AND tries_for = "41" |
What is the value for Drawn, when the value for Losing bonus is 6? | CREATE TABLE table_name_12 (drawn VARCHAR, losing_bonus VARCHAR) | SELECT drawn FROM table_name_12 WHERE losing_bonus = "6" |
What is the value for Lost, when the value for Try bonus is 2, and when the value for Losing bonus is 4? | CREATE TABLE table_name_35 (lost VARCHAR, try_bonus VARCHAR, losing_bonus VARCHAR) | SELECT lost FROM table_name_35 WHERE try_bonus = "2" AND losing_bonus = "4" |
What is the Losing bonus, when the value for Points is 43? | CREATE TABLE table_name_61 (losing_bonus VARCHAR, points VARCHAR) | SELECT losing_bonus FROM table_name_61 WHERE points = "43" |
What is the Club, when the value for Lost is 9, and when the value for Tries is 55? | CREATE TABLE table_name_8 (club VARCHAR, lost VARCHAR, tries_for VARCHAR) | SELECT club FROM table_name_8 WHERE lost = "9" AND tries_for = "55" |
What is the largest draw with 37 games from England? | CREATE TABLE table_name_65 (drawn INTEGER, nationality VARCHAR, games VARCHAR) | SELECT MAX(drawn) FROM table_name_65 WHERE nationality = "england" AND games = 37 |
How many draws have a Cambridge United career of 2008β2009 and less than 13 losses? | CREATE TABLE table_name_2 (drawn VARCHAR, cambridge_united_career VARCHAR, lost VARCHAR) | SELECT COUNT(drawn) FROM table_name_2 WHERE cambridge_united_career = "2008β2009" AND lost < 13 |
What was the record at the game when the score was 1β0? | CREATE TABLE table_name_66 (record VARCHAR, score VARCHAR) | SELECT record FROM table_name_66 WHERE score = "1β0" |
What was the score of the game when the record was 19β13β3? | CREATE TABLE table_name_92 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_92 WHERE record = "19β13β3" |
Who was the visiting team when the score was 1β3? | CREATE TABLE table_name_16 (visitor VARCHAR, score VARCHAR) | SELECT visitor FROM table_name_16 WHERE score = "1β3" |
Who was the home team when there was a record of 20β13β3? | CREATE TABLE table_name_52 (home VARCHAR, record VARCHAR) | SELECT home FROM table_name_52 WHERE record = "20β13β3" |
What was the date of the game with the record of 18β10β2? | CREATE TABLE table_name_60 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_60 WHERE record = "18β10β2" |
Visitor of minnesota has what average attendance? | CREATE TABLE table_name_30 (attendance INTEGER, visitor VARCHAR) | SELECT AVG(attendance) FROM table_name_30 WHERE visitor = "minnesota" |
Date of december 29 has what visitor? | CREATE TABLE table_name_9 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_9 WHERE date = "december 29" |
Score of 2 β 3 has what attendance? | CREATE TABLE table_name_61 (attendance VARCHAR, score VARCHAR) | SELECT attendance FROM table_name_61 WHERE score = "2 β 3" |
With a record of 48-51 for the team, the lowest 2005 attendance was listed as how many? | CREATE TABLE table_name_35 (attendance INTEGER, record VARCHAR) | SELECT MIN(attendance) FROM table_name_35 WHERE record = "48-51" |
What would be the lowest Attendance that also showed a loss of Obermueller (1-2)? | CREATE TABLE table_name_36 (attendance INTEGER, loss VARCHAR) | SELECT MIN(attendance) FROM table_name_36 WHERE loss = "obermueller (1-2)" |
What was the stadium for the game held on October 31? | CREATE TABLE table_name_61 (stadium VARCHAR, date VARCHAR) | SELECT stadium FROM table_name_61 WHERE date = "october 31" |
How many weeks in total were games played at Cleveland Browns Stadium? | CREATE TABLE table_name_81 (week VARCHAR, stadium VARCHAR) | SELECT COUNT(week) FROM table_name_81 WHERE stadium = "cleveland browns stadium" |
What was the surface on 23 October 2011? | CREATE TABLE table_name_97 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_97 WHERE date = "23 october 2011" |
Which Notre Dame coach lost 15 games? | CREATE TABLE table_name_27 (coach VARCHAR, losses VARCHAR) | SELECT coach FROM table_name_27 WHERE losses = 15 |
How many losses did Notre Dame have in 1904? | CREATE TABLE table_name_43 (losses INTEGER, years VARCHAR) | SELECT AVG(losses) FROM table_name_43 WHERE years = "1904" |
What was the winning percent of Notre Dame in 1905? | CREATE TABLE table_name_86 (pct VARCHAR, years VARCHAR) | SELECT pct FROM table_name_86 WHERE years = "1905" |
Who is the home captain that played at Edgbaston? | CREATE TABLE table_name_22 (home_captain VARCHAR, venue VARCHAR) | SELECT home_captain FROM table_name_22 WHERE venue = "edgbaston" |
Who is the home captain that played at Edgbaston? | CREATE TABLE table_name_41 (home_captain VARCHAR, venue VARCHAR) | SELECT home_captain FROM table_name_41 WHERE venue = "edgbaston" |
For the matches with home captain Graham Gooch played on the dates 3,4,5,6,7 June 1993, what was the result? | CREATE TABLE table_name_24 (result VARCHAR, home_captain VARCHAR, date VARCHAR) | SELECT result FROM table_name_24 WHERE home_captain = "graham gooch" AND date = "3,4,5,6,7 june 1993" |
What was the venue for the matches played on the dates 3,4,5,6,7 June 1993? | CREATE TABLE table_name_32 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_32 WHERE date = "3,4,5,6,7 june 1993" |
Who was the away captain for matches played at Trent Bridge? | CREATE TABLE table_name_81 (away_captain VARCHAR, venue VARCHAR) | SELECT away_captain FROM table_name_81 WHERE venue = "trent bridge" |
Which rank is Hawthorn? | CREATE TABLE table_name_32 (rank VARCHAR, club_clubs VARCHAR) | SELECT rank FROM table_name_32 WHERE club_clubs = "hawthorn" |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.