answer
stringlengths
18
557
index
int64
1
78.6k
question
stringlengths
12
244
context
stringlengths
27
489
SELECT pages FROM table_name_69 WHERE date = "1987-08"
8,801
How many pages does the story from 1987-08 have?
CREATE TABLE table_name_69 (pages VARCHAR, date VARCHAR)
SELECT story AS code FROM table_name_38 WHERE date = "2002-12"
8,802
What is the story code of the story published on 2002-12?
CREATE TABLE table_name_38 (story VARCHAR, date VARCHAR)
SELECT winning_driver FROM table_name_12 WHERE winning_car = "wolf wr3"
8,803
Which driver drove car Wolf WR3?
CREATE TABLE table_name_12 (winning_driver VARCHAR, winning_car VARCHAR)
SELECT winning_driver FROM table_name_66 WHERE winning_car = "mclaren m23" AND circuit = "snetterton"
8,804
Which driver drove car McLaren M23 at the Snetterton Circuit?
CREATE TABLE table_name_66 (winning_driver VARCHAR, winning_car VARCHAR, circuit VARCHAR)
SELECT winning_car FROM table_name_35 WHERE circuit = "oulton park" AND winning_driver = "tony trimmer"
8,805
What car did Tony Trimmer drive at the Oulton Park Circuit?
CREATE TABLE table_name_35 (winning_car VARCHAR, circuit VARCHAR, winning_driver VARCHAR)
SELECT date FROM table_name_69 WHERE name = "international gold cup"
8,806
What date did the International Gold Cup take place?
CREATE TABLE table_name_69 (date VARCHAR, name VARCHAR)
SELECT theme FROM table_name_6 WHERE days < 148 AND series = "season 3"
8,807
What's the theme for a series of season 3 with smaller than 148 days?
CREATE TABLE table_name_6 (theme VARCHAR, days VARCHAR, series VARCHAR)
SELECT home_team AS score FROM table_name_96 WHERE away_team = "collingwood"
8,808
What is the home team score when the away team is Collingwood?
CREATE TABLE table_name_96 (home_team VARCHAR, away_team VARCHAR)
SELECT crowd FROM table_name_57 WHERE away_team = "geelong"
8,809
What is the crowd size when Geelong is the away team?
CREATE TABLE table_name_57 (crowd VARCHAR, away_team VARCHAR)
SELECT MAX(crowd) FROM table_name_33 WHERE away_team = "geelong"
8,810
What is the highest crowd population when the away team is Geelong?
CREATE TABLE table_name_33 (crowd INTEGER, away_team VARCHAR)
SELECT away_team FROM table_name_82 WHERE venue = "arden street oval"
8,811
What away team plays at Arden Street Oval?
CREATE TABLE table_name_82 (away_team VARCHAR, venue VARCHAR)
SELECT name FROM table_name_56 WHERE pressure = "985hpa (29.09inhg)"
8,812
Which name has a pressure of 985hpa (29.09inhg)?
CREATE TABLE table_name_56 (name VARCHAR, pressure VARCHAR)
SELECT dates_active FROM table_name_75 WHERE name = "07"
8,813
What dates was the storm called 07 active?
CREATE TABLE table_name_75 (dates_active VARCHAR, name VARCHAR)
SELECT MAX(metres) FROM table_name_33 WHERE finalized = "2015" AND floors < 40 AND feet > 509
8,814
Which building was built in 2015, has less than 40 floors and is larger than 509 feet?
CREATE TABLE table_name_33 (metres INTEGER, feet VARCHAR, finalized VARCHAR, floors VARCHAR)
SELECT MAX(floors) FROM table_name_97 WHERE metres > 220
8,815
What is the highest floor for the building measuring 220 meters?
CREATE TABLE table_name_97 (floors INTEGER, metres INTEGER)
SELECT COUNT(total) FROM table_name_24 WHERE year_built = 2010
8,816
How many entries feature a year built of 2010?
CREATE TABLE table_name_24 (total VARCHAR, year_built VARCHAR)
SELECT numbers FROM table_name_34 WHERE model = "lc" AND year_built = 2009
8,817
What are the numbers for lc models built in 2009?
CREATE TABLE table_name_34 (numbers VARCHAR, model VARCHAR, year_built VARCHAR)
SELECT opponent FROM table_name_2 WHERE record = "5-2"
8,818
Who has a Record of 5-2?
CREATE TABLE table_name_2 (opponent VARCHAR, record VARCHAR)
SELECT report FROM table_name_78 WHERE race_name = "champion spark plug 300"
8,819
For the race Champion Spark Plug 300, what is the report?
CREATE TABLE table_name_78 (report VARCHAR, race_name VARCHAR)
SELECT winning_team FROM table_name_15 WHERE winning_driver = "emerson fittipaldi" AND pole_position = "michael andretti" AND circuit = "cleveland burke lakefront airport"
8,820
For the race held at the Cleveland Burke Lakefront Airport circuit, with winning driver Emerson Fittipaldi and pole position Michael Andretti, what was the winning team?
CREATE TABLE table_name_15 (winning_team VARCHAR, circuit VARCHAR, winning_driver VARCHAR, pole_position VARCHAR)
SELECT AVG(fatalities) FROM table_name_84 WHERE epicenter = "damghan"
8,821
What is the average number of deaths for earthquakes centered in Damghan?
CREATE TABLE table_name_84 (fatalities INTEGER, epicenter VARCHAR)
SELECT home_team AS score FROM table_name_42 WHERE away_team = "richmond"
8,822
What was the score of the home team when Richmond was the away team?
CREATE TABLE table_name_42 (home_team VARCHAR, away_team VARCHAR)
SELECT result FROM table_name_33 WHERE score = "48-12" AND city = "perth"
8,823
What was the result of the match that took place in Perth, featuring a score of 48-12?
CREATE TABLE table_name_33 (result VARCHAR, score VARCHAR, city VARCHAR)
SELECT result FROM table_name_81 WHERE score = "48-12" AND city = "penrith"
8,824
What was the result of the match in Penrith that featured a score of 48-12?
CREATE TABLE table_name_81 (result VARCHAR, score VARCHAR, city VARCHAR)
SELECT home_team AS score FROM table_name_51 WHERE away_team = "st kilda"
8,825
What is the home team score when st kilda is the away team?
CREATE TABLE table_name_51 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_64 WHERE away_team = "st kilda"
8,826
What is the home team score when st kilda is the away team?
CREATE TABLE table_name_64 (home_team VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_62 WHERE home_team = "fitzroy"
8,827
What venue featured fitzroy as the home squad?
CREATE TABLE table_name_62 (venue VARCHAR, home_team VARCHAR)
SELECT home_team AS score FROM table_name_26 WHERE venue = "brunswick street oval"
8,828
What is the home team score at brunswick street oval?
CREATE TABLE table_name_26 (home_team VARCHAR, venue VARCHAR)
SELECT nationality FROM table_name_85 WHERE position = "guard" AND school_country = "ucla"
8,829
What nationality is the guard from ucla?
CREATE TABLE table_name_85 (nationality VARCHAR, position VARCHAR, school_country VARCHAR)
SELECT position FROM table_name_29 WHERE player = "farmar, jordan jordan farmar"
8,830
What position is played by farmar, jordan jordan farmar?
CREATE TABLE table_name_29 (position VARCHAR, player VARCHAR)
SELECT region FROM table_name_30 WHERE venue = "william r. johnson coliseum"
8,831
What region is William R. Johnson Coliseum in?
CREATE TABLE table_name_30 (region VARCHAR, venue VARCHAR)
SELECT host FROM table_name_78 WHERE city = "nashville"
8,832
What was the host for the round in Nashville?
CREATE TABLE table_name_78 (host VARCHAR, city VARCHAR)
SELECT host FROM table_name_12 WHERE venue = "hammons student center"
8,833
What was the host of the round at Hammons Student Center?
CREATE TABLE table_name_12 (host VARCHAR, venue VARCHAR)
SELECT city FROM table_name_76 WHERE venue = "university gym (gold mine)"
8,834
What city is University Gym (Gold Mine) in?
CREATE TABLE table_name_76 (city VARCHAR, venue VARCHAR)
SELECT city FROM table_name_20 WHERE region = "east" AND state = "north carolina" AND host = "university of richmond"
8,835
What city in the east region in North Carolina was the round where the University of Richmond was the host?
CREATE TABLE table_name_20 (city VARCHAR, host VARCHAR, region VARCHAR, state VARCHAR)
SELECT host FROM table_name_62 WHERE state = "texas" AND venue = "montagne center"
8,836
What was the host of the round in the Montagne Center in Texas?
CREATE TABLE table_name_62 (host VARCHAR, state VARCHAR, venue VARCHAR)
SELECT venue FROM table_name_90 WHERE date = "august 16, 2006"
8,837
Which venue had a match played on August 16, 2006?
CREATE TABLE table_name_90 (venue VARCHAR, date VARCHAR)
SELECT competition FROM table_name_78 WHERE date = "april 2, 2006"
8,838
Which match was played on April 2, 2006?
CREATE TABLE table_name_78 (competition VARCHAR, date VARCHAR)
SELECT constructor FROM table_name_58 WHERE rounds = "5"
8,839
Who is the Constructor for round 5?
CREATE TABLE table_name_58 (constructor VARCHAR, rounds VARCHAR)
SELECT rounds FROM table_name_75 WHERE motorcycle = "mv agusta f4 1000 mt"
8,840
Which round has the mv agusta f4 1000 mt?
CREATE TABLE table_name_75 (rounds VARCHAR, motorcycle VARCHAR)
SELECT team FROM table_name_46 WHERE constructor = "yamaha"
8,841
Who does Yamaha Construct for?
CREATE TABLE table_name_46 (team VARCHAR, constructor VARCHAR)
SELECT rider FROM table_name_31 WHERE rounds = "7" AND motorcycle = "ducati 999 rs"
8,842
Who is riding the Ducati 999 RS in Round 7?
CREATE TABLE table_name_31 (rider VARCHAR, rounds VARCHAR, motorcycle VARCHAR)
SELECT constructor FROM table_name_56 WHERE team = "trac racing team"
8,843
Who is the Constructor for the Trac Racing Team?
CREATE TABLE table_name_56 (constructor VARCHAR, team VARCHAR)
SELECT away_team AS score FROM table_name_80 WHERE home_team = "richmond"
8,844
What was the away team score when Richmond was the home team?
CREATE TABLE table_name_80 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_15 WHERE venue = "brunswick street oval"
8,845
What was the away team score for the game played at the Brunswick Street Oval?
CREATE TABLE table_name_15 (away_team VARCHAR, venue VARCHAR)
SELECT venue FROM table_name_89 WHERE away_team = "hawthorn"
8,846
Where did Hawthorn play as the away team?
CREATE TABLE table_name_89 (venue VARCHAR, away_team VARCHAR)
SELECT rank FROM table_name_43 WHERE nationality = "poland" AND time = "1:50.12"
8,847
What rank did Poland receive with a time of 1:50.12?
CREATE TABLE table_name_43 (rank VARCHAR, nationality VARCHAR, time VARCHAR)
SELECT MIN(overall) FROM table_name_58 WHERE school_club_team = "arizona state"
8,848
What is arizona state overall lowest?
CREATE TABLE table_name_58 (overall INTEGER, school_club_team VARCHAR)
SELECT MIN(lost) FROM table_name_76 WHERE played > 3 AND _percentage_won < 75 AND drawn = 0 AND points = 56
8,849
What are the fewest losses for a player lower than 3, with wins fewer than 75%, 0 draws and 56 points?
CREATE TABLE table_name_76 (lost INTEGER, points VARCHAR, drawn VARCHAR, played VARCHAR, _percentage_won VARCHAR)
SELECT COUNT(tries) FROM table_name_73 WHERE played > 2 AND lost < 0
8,850
How many tries for the player whose number is greater than 2 and losses are smaller than 0?
CREATE TABLE table_name_73 (tries VARCHAR, played VARCHAR, lost VARCHAR)
SELECT SUM(tries) FROM table_name_81 WHERE played > 16
8,851
What is the number of tries for the player who is larger than 16?
CREATE TABLE table_name_81 (tries INTEGER, played INTEGER)
SELECT MIN(drawn) FROM table_name_83 WHERE played > 2 AND _percentage_won > 100
8,852
What is the smallest draws for a player larger than 2 with a 100% wins?
CREATE TABLE table_name_83 (drawn INTEGER, played VARCHAR, _percentage_won VARCHAR)
SELECT AVG(drawn) FROM table_name_86 WHERE tries > 1 AND _percentage_won < 56.15 AND played > 16
8,853
What is the average draws for a player larger than 16 with more than 1 tries and a win percentage smaller than 56.15%?
CREATE TABLE table_name_86 (drawn INTEGER, played VARCHAR, tries VARCHAR, _percentage_won VARCHAR)
SELECT 2011 FROM table_name_22 WHERE tournament = "wimbledon"
8,854
What was the 2011 Wimbledon result?
CREATE TABLE table_name_22 (tournament VARCHAR)
SELECT 2011 FROM table_name_59 WHERE 2007 = "f" AND tournament = "us open"
8,855
What was the result of the 2011 US Open when the 2007 was F?
CREATE TABLE table_name_59 (tournament VARCHAR)
SELECT 2007 FROM table_name_16 WHERE 2011 = "f" AND 2009 = "w"
8,856
What was the result in 2007 when the 2011 was F and 2009 was W?
CREATE TABLE table_name_16 (Id VARCHAR)
SELECT tournament FROM table_name_67 WHERE 2009 = "w"
8,857
Which tournament had the result of a W in 2009?
CREATE TABLE table_name_67 (tournament VARCHAR)
SELECT tournament FROM table_name_58 WHERE 2009 = "grand slams"
8,858
Which 2009 tournament had Grand Slams?
CREATE TABLE table_name_58 (tournament VARCHAR)
SELECT tournament FROM table_name_61 WHERE 2009 = "f" AND 2010 = "f"
8,859
Which tournament had the result with 2009 was F and 2010 was F?
CREATE TABLE table_name_61 (tournament VARCHAR)
SELECT date FROM table_name_54 WHERE home_team = "hawthorn"
8,860
What was the date of the game when Hawthorn was the home team?
CREATE TABLE table_name_54 (date VARCHAR, home_team VARCHAR)
SELECT season FROM table_name_48 WHERE margin = 10
8,861
Which season had a margin of 10?
CREATE TABLE table_name_48 (season VARCHAR, margin VARCHAR)
SELECT 1954 FROM table_name_28 WHERE 1969 = "a" AND tournament = "australian championships"
8,862
What did the Tournament of Australian Championships, with an A in 1969, get in 1954?
CREATE TABLE table_name_28 (tournament VARCHAR)
SELECT 1951 FROM table_name_25 WHERE tournament = "sr"
8,863
What did the Tournament of SR get in 1951?
CREATE TABLE table_name_25 (tournament VARCHAR)
SELECT 1956 AS _1968 FROM table_name_31 WHERE 1969 = "qf"
8,864
What did the tournament with a QF in 1969 get in 1956-1968?
CREATE TABLE table_name_31 (Id VARCHAR)
SELECT 1949 FROM table_name_22 WHERE 1945 = "a"
8,865
What did the tournament that got an A in 1945 get in 1949?
CREATE TABLE table_name_22 (Id VARCHAR)
SELECT date FROM table_name_65 WHERE home_team = "geelong"
8,866
When did Geelong play as the home team?
CREATE TABLE table_name_65 (date VARCHAR, home_team VARCHAR)
SELECT crowd FROM table_name_56 WHERE away_team = "north melbourne"
8,867
When North Melbourne played as the away team, what was the crowd numbers?
CREATE TABLE table_name_56 (crowd VARCHAR, away_team VARCHAR)
SELECT COUNT(round) FROM table_name_95 WHERE player = "honester davidson"
8,868
How many rounds did Honester Davidson play?
CREATE TABLE table_name_95 (round VARCHAR, player VARCHAR)
SELECT school_club_team FROM table_name_15 WHERE overall = 21
8,869
What School or Club team has an overall score of 21?
CREATE TABLE table_name_15 (school_club_team VARCHAR, overall VARCHAR)
SELECT COUNT(overall) FROM table_name_86 WHERE round < 1
8,870
What total number of Overalls has a round that was smaller than 1?
CREATE TABLE table_name_86 (overall VARCHAR, round INTEGER)
SELECT player FROM table_name_33 WHERE position = "kicker"
8,871
What player is a kicker?
CREATE TABLE table_name_33 (player VARCHAR, position VARCHAR)
SELECT position FROM table_name_17 WHERE overall < 410 AND round < 5 AND school_club_team = "oklahoma state"
8,872
What position and school/club team of Oklahoma state has an overall less than 410 and a round smaller than 5?
CREATE TABLE table_name_17 (position VARCHAR, school_club_team VARCHAR, overall VARCHAR, round VARCHAR)
SELECT player FROM table_name_43 WHERE position = "forward" AND school_country = "kentucky"
8,873
Which player plays forward and is from Kentucky?
CREATE TABLE table_name_43 (player VARCHAR, position VARCHAR, school_country VARCHAR)
SELECT away_team FROM table_name_4 WHERE venue = "punt road oval"
8,874
What team was the away team for the venue punt road oval?
CREATE TABLE table_name_4 (away_team VARCHAR, venue VARCHAR)
SELECT MAX(rank) FROM table_name_3 WHERE opposition = "westmeath"
8,875
What is the highest ranked player who opposed Westmeath?
CREATE TABLE table_name_3 (rank INTEGER, opposition VARCHAR)
SELECT county FROM table_name_67 WHERE player = "tony o'sullivan"
8,876
What is Tony O'Sullivan's county?
CREATE TABLE table_name_67 (county VARCHAR, player VARCHAR)
SELECT network FROM table_name_71 WHERE language = "punjabi"
8,877
What Network has Punjabi as the Language?
CREATE TABLE table_name_71 (network VARCHAR, language VARCHAR)
SELECT genre FROM table_name_16 WHERE language = "hindi" AND network = "star gold"
8,878
What Genre has Hindi as the Language and Star Gold as the Network?
CREATE TABLE table_name_16 (genre VARCHAR, language VARCHAR, network VARCHAR)
SELECT origin_of_programming FROM table_name_98 WHERE network = "ndtv india"
8,879
What is the Origin of Programming for the Network NDTV India?
CREATE TABLE table_name_98 (origin_of_programming VARCHAR, network VARCHAR)
SELECT origin_of_programming FROM table_name_43 WHERE network = "mtv india"
8,880
What is the Origin of Programming for the Network MTV India?
CREATE TABLE table_name_43 (origin_of_programming VARCHAR, network VARCHAR)
SELECT language FROM table_name_28 WHERE network = "ptc punjabi"
8,881
What is the Language for Network PTC Punjabi?
CREATE TABLE table_name_28 (language VARCHAR, network VARCHAR)
SELECT genre FROM table_name_93 WHERE network = "zee tv"
8,882
What Genre has the Network Zee TV?
CREATE TABLE table_name_93 (genre VARCHAR, network VARCHAR)
SELECT home_team FROM table_name_74 WHERE venue = "junction oval"
8,883
What team was the home team at the venue junction oval?
CREATE TABLE table_name_74 (home_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_33 WHERE home_team = "south melbourne"
8,884
What away team played when the home team was south melbourne?
CREATE TABLE table_name_33 (away_team VARCHAR, home_team VARCHAR)
SELECT home_team FROM table_name_36 WHERE away_team = "richmond"
8,885
What team was the home team when Richmond was the away team?
CREATE TABLE table_name_36 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_45 WHERE home_team = "geelong"
8,886
What was the score when geelong was the away team?
CREATE TABLE table_name_45 (home_team VARCHAR)
SELECT cb_cw FROM table_name_89 WHERE year = 1982
8,887
What was the CB CW for the year of 1982?
CREATE TABLE table_name_89 (cb_cw VARCHAR, year VARCHAR)
SELECT MAX(year) FROM table_name_8 WHERE bb_cw = "78"
8,888
What is the most current year that had a BB CW of 78?
CREATE TABLE table_name_8 (year INTEGER, bb_cw VARCHAR)
SELECT home_team AS score FROM table_name_52 WHERE home_team = "north melbourne"
8,889
What was the North Melbourne's score when they played as the home team?
CREATE TABLE table_name_52 (home_team VARCHAR)
SELECT AVG(crowd) FROM table_name_54 WHERE home_team = "st kilda"
8,890
What was the attendance at the St Kilda home game?
CREATE TABLE table_name_54 (crowd INTEGER, home_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_58 WHERE venue = "junction oval"
8,891
What was the attendance when the VFL played Junction Oval?
CREATE TABLE table_name_58 (crowd VARCHAR, venue VARCHAR)
SELECT venue FROM table_name_95 WHERE away_team = "melbourne"
8,892
Where did Melbourne play as the away team?
CREATE TABLE table_name_95 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_82 WHERE home_team = "fitzroy"
8,893
What is Fitzroy's home field?
CREATE TABLE table_name_82 (venue VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_5 WHERE venue = "punt road oval"
8,894
Who was the away team at punt road oval?
CREATE TABLE table_name_5 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_62 WHERE venue = "victoria park"
8,895
What was the away team score at victoria park?
CREATE TABLE table_name_62 (away_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_42 WHERE venue = "arden street oval"
8,896
Who was the home team in the game played at arden street oval?
CREATE TABLE table_name_42 (home_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_21 WHERE away_team = "st kilda"
8,897
What was St Kilda's away team score?
CREATE TABLE table_name_21 (away_team VARCHAR)
SELECT away_team FROM table_name_13 WHERE home_team = "south melbourne"
8,898
Who was home team South Melbourne's opponent?
CREATE TABLE table_name_13 (away_team VARCHAR, home_team VARCHAR)
SELECT music FROM table_name_99 WHERE score = "13 (5, 4, 4)"
8,899
What was the music for the team who earned a score of 13 (5, 4, 4)?
CREATE TABLE table_name_99 (music VARCHAR, score VARCHAR)
SELECT music FROM table_name_7 WHERE result = "eliminated"
8,900
What was the music of the team that was eliminated?
CREATE TABLE table_name_7 (music VARCHAR, result VARCHAR)