answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT round_1_ + _2a_points FROM table_name_61 WHERE horse = "poncorde"
Name the round 1 +2A points for horse of poncorde
CREATE TABLE table_name_61 (round_1_ VARCHAR, _2a_points VARCHAR, horse VARCHAR)
SELECT country FROM table_name_74 WHERE player = "nick faldo"
What Country has a Player of nick faldo?
CREATE TABLE table_name_74 (country VARCHAR, player VARCHAR)
SELECT AVG(wins) FROM table_name_66 WHERE top_25 < 0
What is the average wins has Top-25 less than 0?
CREATE TABLE table_name_66 (wins INTEGER, top_25 INTEGER)
SELECT COUNT(enrollment) FROM table_name_32 WHERE school = "indianapolis tindley"
How much Enrollment has a School of indianapolis tindley?
CREATE TABLE table_name_32 (enrollment VARCHAR, school VARCHAR)
SELECT AVG(2007) FROM table_name_6 WHERE 2009 < 20 AND 2006 = 2.8
What is the average 2007 value for a 2006 of 2.8 and 2009 under 20?
CREATE TABLE table_name_6 (Id VARCHAR)
SELECT title FROM table_23399481_4 WHERE written_by = "Michael Gans & Richard Register"
What is the title of the episode/s written by Michael Gans & Richard Register?
CREATE TABLE table_23399481_4 (title VARCHAR, written_by VARCHAR)
SELECT T1.name_first, T1.name_last, T2.player_id FROM player AS T1 JOIN manager_award AS T2 ON T1.player_id = T2.player_id GROUP BY T2.player_id ORDER BY COUNT(*) DESC LIMIT 1
What are the manager's first name, last name and id who won the most manager award?
CREATE TABLE player (name_first VARCHAR, name_last VARCHAR, player_id VARCHAR); CREATE TABLE manager_award (player_id VARCHAR)
SELECT capacity FROM table_name_25 WHERE stadium = "ernst-abbe-sportfeld"
What is the Capacity of Ernst-Abbe-Sportfeld?
CREATE TABLE table_name_25 (capacity VARCHAR, stadium VARCHAR)
SELECT AVG(year) FROM table_name_73 WHERE chassis = "veritas rs" AND points > 0
What is the average Year with a Veritas rs chassis and more than 0 points?
CREATE TABLE table_name_73 (year INTEGER, chassis VARCHAR, points VARCHAR)
SELECT COUNT(attendance) FROM table_26842217_8 WHERE site = "Wallace Wade Stadium • Durham, NC"
How many times was the site wallace wade stadium • durham, nc?
CREATE TABLE table_26842217_8 (attendance VARCHAR, site VARCHAR)
SELECT longitude FROM table_18600760_15 WHERE latitude = "47.985154"
What is the longitude with a latitude of 47.985154?
CREATE TABLE table_18600760_15 (longitude VARCHAR, latitude VARCHAR)
SELECT game_site FROM table_26401898_2 WHERE final_score = "L 26–42"
Name the game site for l 26–42
CREATE TABLE table_26401898_2 (game_site VARCHAR, final_score VARCHAR)
SELECT round_of_32 FROM table_17427004_7 WHERE athlete = "Nabil Kassel"
Who did Nabil Kassel face in the Round of 32?
CREATE TABLE table_17427004_7 (round_of_32 VARCHAR, athlete VARCHAR)
SELECT MAX(Champions) AS league FROM table_name_48 WHERE total = 6 AND position = "midfielder"
What is the most Champions League assists for those with a total of 6 and position of Midfielder?
CREATE TABLE table_name_48 (Champions INTEGER, total VARCHAR, position VARCHAR)
SELECT 445 FROM table_name_46 WHERE nationality = "poland" AND name = "anna rogowska"
What is the 4.45 for Anna Rogowska from Poland?
CREATE TABLE table_name_46 (nationality VARCHAR, name VARCHAR)
SELECT player FROM table_name_78 WHERE round < 6 AND pick = 69
What is Player, when Round is less than 6, and when Pick is "69"?
CREATE TABLE table_name_78 (player VARCHAR, round VARCHAR, pick VARCHAR)
SELECT class FROM table_name_96 WHERE chassis = "viper" AND driver = "shaun jones"
Driver Shaun Jones with a viper as a chassis is in what class?
CREATE TABLE table_name_96 (class VARCHAR, chassis VARCHAR, driver VARCHAR)
SELECT _number FROM table_16907214_1 WHERE hardcover = "ISBN 0-441-01400-3"
isbn 0-441-01400-3 is book number?
CREATE TABLE table_16907214_1 (_number VARCHAR, hardcover VARCHAR)
SELECT score FROM table_name_46 WHERE opponent = "detroit pistons"
What was the score when the opponent was Detroit Pistons?
CREATE TABLE table_name_46 (score VARCHAR, opponent VARCHAR)
SELECT nhl_team FROM table_1965650_4 WHERE college_junior_club_team = "Sudbury Wolves (OHA)"
What's the NHL team that drafted the player from Sudbury Wolves (OHA)?
CREATE TABLE table_1965650_4 (nhl_team VARCHAR, college_junior_club_team VARCHAR)
SELECT SUM(mintage) FROM table_name_75 WHERE artist = "steve hepburn"
What is the sum of Artist Steve Hepburn's Mintage?
CREATE TABLE table_name_75 (mintage INTEGER, artist VARCHAR)
SELECT place FROM table_name_77 WHERE country = "united states" AND player = "john daly"
Where is john daly of united states from?
CREATE TABLE table_name_77 (place VARCHAR, country VARCHAR, player VARCHAR)
SELECT wickets FROM table_28797906_3 WHERE economy = "3.64"
How many wickets was there when the economy was 3.64?
CREATE TABLE table_28797906_3 (wickets VARCHAR, economy VARCHAR)
SELECT original_air_date FROM table_13183076_3 WHERE written_by = "Peter Ocko"
What is the Original air date for the episode written by Peter Ocko?
CREATE TABLE table_13183076_3 (original_air_date VARCHAR, written_by VARCHAR)
SELECT position FROM table_14038363_1 WHERE player = "Maksim Botin"
What is Maksim Botin's position?
CREATE TABLE table_14038363_1 (position VARCHAR, player VARCHAR)
SELECT bore FROM table_name_8 WHERE designation = "12-pdr heavy"
What is the bore of the boat howitzers with a 12-pdr heavy designation?
CREATE TABLE table_name_8 (bore VARCHAR, designation VARCHAR)
SELECT MAX(first_prize___) AS $__ FROM table_name_49 WHERE year = 1997
What was the top first place prize in 1997?
CREATE TABLE table_name_49 (first_prize___ INTEGER, year VARCHAR)
SELECT venue FROM table_name_12 WHERE date = "26 jan 2005"
What is the Venue on 26 jan 2005
CREATE TABLE table_name_12 (venue VARCHAR, date VARCHAR)
SELECT MIN(losses) FROM table_18703133_1 WHERE points = 23
Name the least amount of losses for 23 points
CREATE TABLE table_18703133_1 (losses INTEGER, points VARCHAR)
SELECT result FROM table_name_75 WHERE date = "october 12, 2005"
What is the result foe October 12, 2005?
CREATE TABLE table_name_75 (result VARCHAR, date VARCHAR)
SELECT COUNT(attendance) FROM table_name_47 WHERE week < 5 AND opponent = "seattle seahawks"
What was the total Attendance in weeks previous of 5, playing the Seattle Seahawks?
CREATE TABLE table_name_47 (attendance VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT state FROM table_name_36 WHERE association_agreement = "2010-05-01 (saa)"
Which state has a 2010-05-01 (saa) association agreement?
CREATE TABLE table_name_36 (state VARCHAR, association_agreement VARCHAR)
SELECT home_team AS score FROM table_name_27 WHERE home_team = "st kilda"
What is the home team score for St Kilda's home team?
CREATE TABLE table_name_27 (home_team VARCHAR)
SELECT written_by FROM table_27823359_1 WHERE season__number = "23"
Who wrote episode 23 in the season?
CREATE TABLE table_27823359_1 (written_by VARCHAR, season__number VARCHAR)
SELECT date FROM table_name_21 WHERE visitor = "boston"
What date has boston as the visitor?
CREATE TABLE table_name_21 (date VARCHAR, visitor VARCHAR)
SELECT laps FROM table_name_3 WHERE driver = "fernando alonso"
How many laps did Fernando Alonso do?
CREATE TABLE table_name_3 (laps VARCHAR, driver VARCHAR)
SELECT final_position FROM table_name_87 WHERE ties = "0" AND wins = "5"
What is the final position with ties of 0, and wins of 5?
CREATE TABLE table_name_87 (final_position VARCHAR, ties VARCHAR, wins VARCHAR)
SELECT record FROM table_name_68 WHERE high_rebounds = "tyson chandler (6)"
What is Record, when High Rebounds is "Tyson Chandler (6)"?
CREATE TABLE table_name_68 (record VARCHAR, high_rebounds VARCHAR)
SELECT away_team AS score FROM table_name_24 WHERE away_team = "st kilda"
What is the St Kilda Away team score?
CREATE TABLE table_name_24 (away_team VARCHAR)
SELECT nationality FROM table_name_55 WHERE round = 10
What is round 10's nationality?
CREATE TABLE table_name_55 (nationality VARCHAR, round VARCHAR)
SELECT MAX(crowd) FROM table_name_98 WHERE home_team = "melbourne"
What is the largest crowd when melbourne plays at home?
CREATE TABLE table_name_98 (crowd INTEGER, home_team VARCHAR)
SELECT horse_1 FROM table_name_32 WHERE rider_1 = "rené guzmán" AND association = "mulchén"
Which horse was Horse 1 when rené guzmán raced with the mulchén association?
CREATE TABLE table_name_32 (horse_1 VARCHAR, rider_1 VARCHAR, association VARCHAR)
SELECT home_team FROM table_name_71 WHERE venue = "junction oval"
Which home team's venue is junction oval?
CREATE TABLE table_name_71 (home_team VARCHAR, venue VARCHAR)
SELECT SUM(year) FROM table_name_41 WHERE outcome = "runner-up" AND championship = "world darts championship"
Tell me the sum of Year for outcome of runner-up for world darts championship
CREATE TABLE table_name_41 (year INTEGER, outcome VARCHAR, championship VARCHAR)
SELECT opponent FROM table_11406866_2 WHERE tv = "ABC" AND game_site = "Tampa Stadium"
who is the opponent where tv is abc and game site is tampa stadium
CREATE TABLE table_11406866_2 (opponent VARCHAR, tv VARCHAR, game_site VARCHAR)
SELECT player FROM table_name_32 WHERE country = "united states" AND total > 145
Who was the player from the United States, with a total larger than 145?
CREATE TABLE table_name_32 (player VARCHAR, country VARCHAR, total VARCHAR)
SELECT season FROM table_175980_2 WHERE finale = "May 25, 2004"
What seasons had a finale on May 25, 2004?
CREATE TABLE table_175980_2 (season VARCHAR, finale VARCHAR)
SELECT gname FROM Video_games WHERE gtype = "Collectible card game"
Show all video games with type Collectible card game.
CREATE TABLE Video_games (gname VARCHAR, gtype VARCHAR)
SELECT regular_season___preseason FROM table_name_70 WHERE date = "august 25, 2007"
What type of regular season/preseason game was played on August 25, 2007?
CREATE TABLE table_name_70 (regular_season___preseason VARCHAR, date VARCHAR)
SELECT MAX(silver) FROM table_name_75 WHERE rank = "19" AND gold < 2
What is the hioghest amount of silver medals for a nation ranked higher than 19 and less than 2 gold medals?
CREATE TABLE table_name_75 (silver INTEGER, rank VARCHAR, gold VARCHAR)
SELECT week FROM table_24814477_2 WHERE opponent = "Amsterdam Admirals"
What week did the Galaxy play the Amsterdam Admirals?
CREATE TABLE table_24814477_2 (week VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_32 WHERE to_par = "–7" AND player = "justin leonard"
What is Justin Leonard with a To par of –7's Score?
CREATE TABLE table_name_32 (score VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT COUNT(song_choice) FROM table_12310814_1 WHERE original_artist = "Anna Nalick"
What's the total number of songs originally performed by Anna Nalick?
CREATE TABLE table_12310814_1 (song_choice VARCHAR, original_artist VARCHAR)
SELECT drawn FROM table_name_12 WHERE tries_for = "58"
What is the drawn number when there are 58 tries?
CREATE TABLE table_name_12 (drawn VARCHAR, tries_for VARCHAR)
SELECT chapter FROM table_name_5 WHERE charter_range = "1906-1991"
Which chapter was active from 1906-1991?
CREATE TABLE table_name_5 (chapter VARCHAR, charter_range VARCHAR)
SELECT away_team AS score FROM table_name_86 WHERE away_team = "south melbourne"
What is the away team score for South Melbourne?
CREATE TABLE table_name_86 (away_team VARCHAR)
SELECT grid FROM table_name_9 WHERE points = "14"
What was the grid number of the team and driver with 14 points?
CREATE TABLE table_name_9 (grid VARCHAR, points VARCHAR)
SELECT pim FROM table_name_42 WHERE gf = "55"
What's the P.I.M. for the G.F. of 55?
CREATE TABLE table_name_42 (pim VARCHAR, gf VARCHAR)
SELECT date FROM table_name_69 WHERE record = "39–54"
On what date was the record 39–54?
CREATE TABLE table_name_69 (date VARCHAR, record VARCHAR)
SELECT AVG(grid) FROM table_name_85 WHERE driver = "marco andretti" AND fin_pos > 19
What is the average grid for Marco Andretti with a finishing position higher than 19?
CREATE TABLE table_name_85 (grid INTEGER, driver VARCHAR, fin_pos VARCHAR)
SELECT name FROM table_name_21 WHERE time = 56.07
Who had a time of 56.07?
CREATE TABLE table_name_21 (name VARCHAR, time VARCHAR)
SELECT COUNT(frequency_mhz) FROM table_name_19 WHERE call_sign = "kgrj" AND erp_w > 21 OFFSET 500
What is the total frequency mhz of the kgrj call sign, which has an erp w greater than 21,500?
CREATE TABLE table_name_19 (frequency_mhz VARCHAR, call_sign VARCHAR, erp_w VARCHAR)
SELECT MAX(points) FROM table_name_19 WHERE position < 3 AND lost < 1
What is the highest number of points for a position less than 3 and less than 1 loss?
CREATE TABLE table_name_19 (points INTEGER, position VARCHAR, lost VARCHAR)
SELECT city__town FROM table_name_34 WHERE year_founded = 1860
In what City/town was their institution founded in 1860?
CREATE TABLE table_name_34 (city__town VARCHAR, year_founded VARCHAR)
SELECT races FROM table_name_47 WHERE points = "8"
How many races did he do in the year he had 8 points?
CREATE TABLE table_name_47 (races VARCHAR, points VARCHAR)
SELECT partially_deleted FROM table_name_65 WHERE name = "fibers public supply wells"
Where is the partially deleted site of fibers public supply wells located?
CREATE TABLE table_name_65 (partially_deleted VARCHAR, name VARCHAR)
SELECT MAX(region) FROM table_name_43 WHERE name = "saint-flavien" AND area__km_2__ > 67.56
What is the highest region of Saint-Flavien with an area larger than 67.56?
CREATE TABLE table_name_43 (region INTEGER, name VARCHAR, area__km_2__ VARCHAR)
SELECT score FROM table_name_82 WHERE player = "seve ballesteros"
What Seve Ballesteros's score?
CREATE TABLE table_name_82 (score VARCHAR, player VARCHAR)
SELECT position FROM table_name_61 WHERE name = "moose goheen"
What is the Position of moose goheen?
CREATE TABLE table_name_61 (position VARCHAR, name VARCHAR)
SELECT series FROM table_name_55 WHERE date = "april 16"
What is the series score of the game on April 16?
CREATE TABLE table_name_55 (series VARCHAR, date VARCHAR)
SELECT COUNT(average) FROM table_28628309_6 WHERE totals = "105-161"
How many items appear in the average column when the totals were 105-161?
CREATE TABLE table_28628309_6 (average VARCHAR, totals VARCHAR)
SELECT 2009 FROM table_name_56 WHERE 2011 = "1r" AND tournament = "australian open"
What's the 2009 of the Australian Open having a 1R in 2011?
CREATE TABLE table_name_56 (tournament VARCHAR)
SELECT time FROM table_name_95 WHERE release_date = "6/6/77" AND song_title = "way down"
Tell me the time for 6/6/77 release date and song title of way down
CREATE TABLE table_name_95 (time VARCHAR, release_date VARCHAR, song_title VARCHAR)
SELECT away_team AS score FROM table_name_50 WHERE away_team = "south melbourne"
What was South Melbourne's score as the away team?
CREATE TABLE table_name_50 (away_team VARCHAR)
SELECT COUNT(pick__number) FROM table_name_87 WHERE position = "center" AND round < 6
What was the pick # for a center picked before round 6?
CREATE TABLE table_name_87 (pick__number VARCHAR, position VARCHAR, round VARCHAR)
SELECT opponent FROM table_name_12 WHERE october < 31 AND game > 7
What is Opponent, when October is less than 31, and when Game is greater than 7?
CREATE TABLE table_name_12 (opponent VARCHAR, october VARCHAR, game VARCHAR)
SELECT semifinalists FROM table_name_9 WHERE surface = "hard (i)"
what is the semifinalists when the surface is hard (i)?
CREATE TABLE table_name_9 (semifinalists VARCHAR, surface VARCHAR)
SELECT COUNT(year) FROM table_27441210_13 WHERE country = "Belgium"
How many years was the country Belgium?
CREATE TABLE table_27441210_13 (year VARCHAR, country VARCHAR)
SELECT record FROM table_name_82 WHERE date = "december 25"
On December 25, what was the record?
CREATE TABLE table_name_82 (record VARCHAR, date VARCHAR)
SELECT outcome FROM table_name_84 WHERE partner = "kateryna bondarenko"
What was the Outcome of the match with Partner Kateryna Bondarenko?
CREATE TABLE table_name_84 (outcome VARCHAR, partner VARCHAR)
SELECT surface FROM table_name_94 WHERE opponent = "roger federer"
What was the surface for the opponent Roger Federer?
CREATE TABLE table_name_94 (surface VARCHAR, opponent VARCHAR)
SELECT edition FROM table_name_34 WHERE partner = "magdalena maleeva"
What edition had magdalena maleeva as partner?
CREATE TABLE table_name_34 (edition VARCHAR, partner VARCHAR)
SELECT nation FROM table_name_27 WHERE silver > 0 AND rank = "1"
What nation has more than 0 silver medals and is ranked 1?
CREATE TABLE table_name_27 (nation VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT builder FROM table_name_44 WHERE lot_no = 30702
What builder has lot number 30702?
CREATE TABLE table_name_44 (builder VARCHAR, lot_no VARCHAR)
SELECT MAX(round) FROM table_name_58 WHERE race_title = "korean grand prix"
What is the largest round with a Race Title of korean grand prix?
CREATE TABLE table_name_58 (round INTEGER, race_title VARCHAR)
SELECT player FROM table_name_62 WHERE score = 70 - 75 = 145
Who is the player with a 70-75=145 score?
CREATE TABLE table_name_62 (player VARCHAR, score VARCHAR)
SELECT COUNT(population__2011_census_) FROM table_14325808_1 WHERE area__km²_ = "132.79"
How many places according to the 2011 census of whatever population have an area of 132.79 kilometers squared?
CREATE TABLE table_14325808_1 (population__2011_census_ VARCHAR, area__km²_ VARCHAR)
SELECT time FROM table_name_43 WHERE res = "draw"
When there was a draw, what was the time?
CREATE TABLE table_name_43 (time VARCHAR, res VARCHAR)
SELECT award FROM table_name_40 WHERE category = "music video acting award"
Which Award has a Category of music video acting award?
CREATE TABLE table_name_40 (award VARCHAR, category VARCHAR)
SELECT podiums FROM table_name_87 WHERE wins = "0" AND fl = "0" AND points = "35"
What is the number of podiums with 0 wins, 0 F.L. and 35 points?
CREATE TABLE table_name_87 (podiums VARCHAR, points VARCHAR, wins VARCHAR, fl VARCHAR)
SELECT swimsuit FROM table_17521433_1 WHERE country = "Illinois"
What was the swimsuit score for Illinois?
CREATE TABLE table_17521433_1 (swimsuit VARCHAR, country VARCHAR)
SELECT COUNT(total) FROM table_name_94 WHERE gold = 0 AND bronze > 1 AND silver < 1
How many totals have 0 as Gold, a bronze greater than 1, and a silver less than 1?
CREATE TABLE table_name_94 (total VARCHAR, silver VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT height__f_ FROM table_23670057_6 WHERE player = "Steffen Hamann"
Name the height for steffen hamann
CREATE TABLE table_23670057_6 (height__f_ VARCHAR, player VARCHAR)
SELECT total_non_qatar FROM table_26214389_3 WHERE grand_total = 5814
If the grand total is 5814, what is the total non qatar?
CREATE TABLE table_26214389_3 (total_non_qatar VARCHAR, grand_total VARCHAR)
SELECT date FROM table_name_25 WHERE loss = "politte (0-2)"
What was the date of the game that had a loss of Politte (0-2)?
CREATE TABLE table_name_25 (date VARCHAR, loss VARCHAR)
SELECT governor FROM table_name_4 WHERE took_office = "january 13, 1877"
Which governor took office on January 13, 1877
CREATE TABLE table_name_4 (governor VARCHAR, took_office VARCHAR)
SELECT born___died FROM table_name_1 WHERE notable_for = "professional wrestling"
The person that was notable for professional wrestling had a Born-Died of what year?
CREATE TABLE table_name_1 (born___died VARCHAR, notable_for VARCHAR)
SELECT join_date FROM table_26466528_1 WHERE location = "North Canton"
Name when north canton joined
CREATE TABLE table_26466528_1 (join_date VARCHAR, location VARCHAR)
SELECT T1.Accelerate FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id = T2.MakeId WHERE T2.Make = 'amc hornet sportabout (sw)'
What is the accelerate of the car make amc hornet sportabout (sw)?
CREATE TABLE CARS_DATA (Accelerate VARCHAR, Id VARCHAR); CREATE TABLE CAR_NAMES (MakeId VARCHAR, Make VARCHAR)
SELECT AVG(total) FROM table_name_16 WHERE tally = "0-8"
What is the average total of the 0-8 tally?
CREATE TABLE table_name_16 (total INTEGER, tally VARCHAR)