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