Unnamed: 0
int64
0
60k
input
stringlengths
76
562
answer
stringlengths
18
557
43,000
<question>: How many drafts featured fred hoaglin? <context>: CREATE TABLE table_name_42 (overall VARCHAR, player VARCHAR)
SELECT COUNT(overall) FROM table_name_42 WHERE player = "fred hoaglin"
43,001
<question>: What round did the player from delta st. get picked? <context>: CREATE TABLE table_name_84 (round VARCHAR, school_club_team VARCHAR)
SELECT round FROM table_name_84 WHERE school_club_team = "delta st."
43,002
<question>: What is the highest overall number for someone from round 16? <context>: CREATE TABLE table_name_51 (overall INTEGER, round VARCHAR)
SELECT MAX(overall) FROM table_name_51 WHERE round = 16
43,003
<question>: What was the average crowd size when Melbourne was the home team? <context>: CREATE TABLE table_name_9 (crowd INTEGER, home_team VARCHAR)
SELECT AVG(crowd) FROM table_name_9 WHERE home_team = "melbourne"
43,004
<question>: What was North Melbourne's score when they were the home team? <context>: CREATE TABLE table_name_52 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_52 WHERE away_team = "north melbourne"
43,005
<question>: What was Hawthorn's score as the away team? <context>: CREATE TABLE table_name_96 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_96 WHERE away_team = "hawthorn"
43,006
<question>: Who was the away team at the game at Lake Oval? <context>: CREATE TABLE table_name_57 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_57 WHERE venue = "lake oval"
43,007
<question>: Which stadium held the game that 65,677 people attended? <context>: CREATE TABLE table_name_21 (stadium VARCHAR, attendance VARCHAR)
SELECT stadium FROM table_name_21 WHERE attendance = "65,677"
43,008
<question>: What was the attendance of the game on October 17, 2004? <context>: CREATE TABLE table_name_41 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_41 WHERE date = "october 17, 2004"
43,009
<question>: Which week was the October 17, 2004 game played? <context>: CREATE TABLE table_name_76 (week VARCHAR, date VARCHAR)
SELECT week FROM table_name_76 WHERE date = "october 17, 2004"
43,010
<question>: What was the Browns record after they played the game at the Paul Brown stadium? <context>: CREATE TABLE table_name_41 (record VARCHAR, stadium VARCHAR)
SELECT record FROM table_name_41 WHERE stadium = "paul brown stadium"
43,011
<question>: Which player went to Gonzaga? <context>: CREATE TABLE table_name_80 (player VARCHAR, school_country VARCHAR)
SELECT player FROM table_name_80 WHERE school_country = "gonzaga"
43,012
<question>: Which Rams opponent had a record of 2-3? <context>: CREATE TABLE table_name_87 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_87 WHERE record = "2-3"
43,013
<question>: What is the number of podiums for the races of 13/15? <context>: CREATE TABLE table_name_97 (podiums VARCHAR, races_† VARCHAR)
SELECT podiums FROM table_name_97 WHERE races_† = "13/15"
43,014
<question>: How many wins are there for the Races of 12/12? <context>: CREATE TABLE table_name_36 (wins VARCHAR, races_† VARCHAR)
SELECT wins FROM table_name_36 WHERE races_† = "12/12"
43,015
<question>: What is the fastest lap for a season smaller than 1979? <context>: CREATE TABLE table_name_99 (fastest_laps VARCHAR, season INTEGER)
SELECT fastest_laps FROM table_name_99 WHERE season < 1979
43,016
<question>: For the 12/12 races, what is the fastest lap? <context>: CREATE TABLE table_name_95 (fastest_laps VARCHAR, races_† VARCHAR)
SELECT fastest_laps FROM table_name_95 WHERE races_† = "12/12"
43,017
<question>: What was the largest crowd where Carlton was the away team? <context>: CREATE TABLE table_name_64 (crowd INTEGER, away_team VARCHAR)
SELECT MAX(crowd) FROM table_name_64 WHERE away_team = "carlton"
43,018
<question>: Which team's home is the Arden Street Oval? <context>: CREATE TABLE table_name_56 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_56 WHERE venue = "arden street oval"
43,019
<question>: What was the lowest attendance at a Fitzroy match? <context>: CREATE TABLE table_name_68 (crowd INTEGER, home_team VARCHAR)
SELECT MIN(crowd) FROM table_name_68 WHERE home_team = "fitzroy"
43,020
<question>: What is the current club with more than 368 apps and a debut year earlier than 1994? <context>: CREATE TABLE table_name_51 (current_club VARCHAR, apps VARCHAR, debut_year VARCHAR)
SELECT current_club FROM table_name_51 WHERE apps > 368 AND debut_year < 1994
43,021
<question>: What is the all-time rank associated with a rank less than 9 and a debut in 1994? <context>: CREATE TABLE table_name_55 (time VARCHAR, rank VARCHAR, debut_year VARCHAR)
SELECT -time AS rank FROM table_name_55 WHERE rank < 9 AND debut_year = 1994
43,022
<question>: Which tournament was played on clay and there was a score of 4–6, 6–1, 6–4? <context>: CREATE TABLE table_name_52 (tournament VARCHAR, surface VARCHAR, score VARCHAR)
SELECT tournament FROM table_name_52 WHERE surface = "clay" AND score = "4–6, 6–1, 6–4"
43,023
<question>: What is the score for the match where albert montañés was the partner? <context>: CREATE TABLE table_name_60 (score VARCHAR, partner VARCHAR)
SELECT score FROM table_name_60 WHERE partner = "albert montañés"
43,024
<question>: What is the score for the match where the opponent in the final was james cerretani todd perry? <context>: CREATE TABLE table_name_5 (score VARCHAR, opponents_in_the_final VARCHAR)
SELECT score FROM table_name_5 WHERE opponents_in_the_final = "james cerretani todd perry"
43,025
<question>: What is the date when the opponent in the final is gastón etlis martín rodríguez? <context>: CREATE TABLE table_name_22 (date VARCHAR, opponents_in_the_final VARCHAR)
SELECT date FROM table_name_22 WHERE opponents_in_the_final = "gastón etlis martín rodríguez"
43,026
<question>: What was the score for the match were the opponent in the final was james cerretani todd perry? <context>: CREATE TABLE table_name_95 (score VARCHAR, opponents_in_the_final VARCHAR)
SELECT score FROM table_name_95 WHERE opponents_in_the_final = "james cerretani todd perry"
43,027
<question>: Who is Birmingham City's outgoing manager? <context>: CREATE TABLE table_name_12 (outgoing_manager VARCHAR, team VARCHAR)
SELECT outgoing_manager FROM table_name_12 WHERE team = "birmingham city"
43,028
<question>: What is the name of the replacement manager for the Bolton Wanderers? <context>: CREATE TABLE table_name_2 (replaced_by VARCHAR, team VARCHAR)
SELECT replaced_by FROM table_name_2 WHERE team = "bolton wanderers"
43,029
<question>: How was Sammy Lee's team doing on the table before being replaced? <context>: CREATE TABLE table_name_49 (position_in_table VARCHAR, outgoing_manager VARCHAR)
SELECT position_in_table FROM table_name_49 WHERE outgoing_manager = "sammy lee"
43,030
<question>: Which team hired Gary Megson as the replacement manager? <context>: CREATE TABLE table_name_63 (team VARCHAR, replaced_by VARCHAR)
SELECT team FROM table_name_63 WHERE replaced_by = "gary megson"
43,031
<question>: What was the date of the match played at MCG? <context>: CREATE TABLE table_name_86 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_86 WHERE venue = "mcg"
43,032
<question>: What was Carlton's score as the home team? <context>: CREATE TABLE table_name_65 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_65 WHERE home_team = "carlton"
43,033
<question>: What home team plays at Princes Park? <context>: CREATE TABLE table_name_62 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_62 WHERE venue = "princes park"
43,034
<question>: WHAT WAS COLLINGWOOD'S LOWEST CROWD NUMBER WHEN PLAYING AS THE AWAY TEAM? <context>: CREATE TABLE table_name_21 (crowd INTEGER, away_team VARCHAR)
SELECT MIN(crowd) FROM table_name_21 WHERE away_team = "collingwood"
43,035
<question>: WHAT WAS ESSENDON'S HIGHEST CROWD NUMBER WHEN PLAYING AS THE AWAY TEAM? <context>: CREATE TABLE table_name_85 (crowd INTEGER, away_team VARCHAR)
SELECT MAX(crowd) FROM table_name_85 WHERE away_team = "essendon"
43,036
<question>: WHAT DID HAWTHORN SCORE AT ITS AWAY GAME? <context>: CREATE TABLE table_name_50 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_50 WHERE away_team = "hawthorn"
43,037
<question>: Who was the opponent on November 26, 1989? <context>: CREATE TABLE table_name_86 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_86 WHERE date = "november 26, 1989"
43,038
<question>: What was the result on October 29, 1989? <context>: CREATE TABLE table_name_41 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_41 WHERE date = "october 29, 1989"
43,039
<question>: What was the result on October 1, 1989? <context>: CREATE TABLE table_name_15 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_15 WHERE date = "october 1, 1989"
43,040
<question>: What is the highest number of losses that a team who had an away record of 1-6 and more than 4 wins had? <context>: CREATE TABLE table_name_6 (losses INTEGER, away VARCHAR, wins VARCHAR)
SELECT MAX(losses) FROM table_name_6 WHERE away = "1-6" AND wins > 4
43,041
<question>: What is the home team's score at corio oval? <context>: CREATE TABLE table_name_66 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_66 WHERE venue = "corio oval"
43,042
<question>: What network is in the language of Bengali? <context>: CREATE TABLE table_name_88 (service VARCHAR, language VARCHAR)
SELECT service FROM table_name_88 WHERE language = "bengali"
43,043
<question>: What network has an origin in India, a genre of general, and broadcasts in Bengali? <context>: CREATE TABLE table_name_20 (network VARCHAR, language VARCHAR, origin_of_programming VARCHAR, genre VARCHAR)
SELECT network FROM table_name_20 WHERE origin_of_programming = "india" AND genre = "general" AND language = "bengali"
43,044
<question>: What language does the Ary Digital network broadcast in? <context>: CREATE TABLE table_name_98 (language VARCHAR, network VARCHAR)
SELECT language FROM table_name_98 WHERE network = "ary digital"
43,045
<question>: What is the average crowd for Carlton? <context>: CREATE TABLE table_name_59 (crowd INTEGER, away_team VARCHAR)
SELECT AVG(crowd) FROM table_name_59 WHERE away_team = "carlton"
43,046
<question>: How many points did Carlton score? <context>: CREATE TABLE table_name_41 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_41 WHERE away_team = "carlton"
43,047
<question>: What was the largest crowd for North Melbourne <context>: CREATE TABLE table_name_98 (crowd INTEGER, home_team VARCHAR)
SELECT MAX(crowd) FROM table_name_98 WHERE home_team = "north melbourne"
43,048
<question>: What is the score for Footscray? <context>: CREATE TABLE table_name_6 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_6 WHERE away_team = "footscray"
43,049
<question>: What is the result of week 5? <context>: CREATE TABLE table_name_33 (result VARCHAR, week VARCHAR)
SELECT result FROM table_name_33 WHERE week = 5
43,050
<question>: What is the name of the gun with a shoulder that measures 10.688 (.420)? <context>: CREATE TABLE table_name_45 (name VARCHAR, shoulder VARCHAR)
SELECT name FROM table_name_45 WHERE shoulder = "10.688 (.420)"
43,051
<question>: What is the shoulder measurement of the gun with a length of 57.85 (2.278)? <context>: CREATE TABLE table_name_36 (shoulder VARCHAR, length VARCHAR)
SELECT shoulder FROM table_name_36 WHERE length = "57.85 (2.278)"
43,052
<question>: What is the neck measurement of the gun with a shoulder measurement of 10.688 (.420)? <context>: CREATE TABLE table_name_16 (neck VARCHAR, shoulder VARCHAR)
SELECT neck FROM table_name_16 WHERE shoulder = "10.688 (.420)"
43,053
<question>: What is the length of the gun that has a shoulder measurement of 12.18 (.480)? <context>: CREATE TABLE table_name_35 (length VARCHAR, shoulder VARCHAR)
SELECT length FROM table_name_35 WHERE shoulder = "12.18 (.480)"
43,054
<question>: What bullet does the gun with a shoulder measurement of 12.5 (.491)? <context>: CREATE TABLE table_name_51 (bullet VARCHAR, shoulder VARCHAR)
SELECT bullet FROM table_name_51 WHERE shoulder = "12.5 (.491)"
43,055
<question>: What was the attendance for the game held on September 18, 1994, with a week less than 5? <context>: CREATE TABLE table_name_25 (attendance VARCHAR, week VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_25 WHERE week < 5 AND date = "september 18, 1994"
43,056
<question>: What was the average attendance when the opponent was at Philadelphia Eagles and the week was later than week 6? <context>: CREATE TABLE table_name_34 (attendance INTEGER, week VARCHAR, opponent VARCHAR)
SELECT AVG(attendance) FROM table_name_34 WHERE week > 6 AND opponent = "at philadelphia eagles"
43,057
<question>: What was the attendance for the game on October 30, 1994 for a week after week 2? <context>: CREATE TABLE table_name_54 (attendance VARCHAR, week VARCHAR, date VARCHAR)
SELECT COUNT(attendance) FROM table_name_54 WHERE week > 2 AND date = "october 30, 1994"
43,058
<question>: What is the title of the episode that aired on September 25, 2005? <context>: CREATE TABLE table_name_23 (title VARCHAR, podcast_date VARCHAR)
SELECT title FROM table_name_23 WHERE podcast_date = "september 25, 2005"
43,059
<question>: What is the run time of the episode that aired on September 4, 2005? <context>: CREATE TABLE table_name_66 (run_time VARCHAR, podcast_date VARCHAR)
SELECT run_time FROM table_name_66 WHERE podcast_date = "september 4, 2005"
43,060
<question>: What is the historical reference of the episode that aired on October 23, 2005? <context>: CREATE TABLE table_name_38 (historical_references VARCHAR, podcast_date VARCHAR)
SELECT historical_references FROM table_name_38 WHERE podcast_date = "october 23, 2005"
43,061
<question>: What is the date of the episode that is before 307, run time equals 5:48 and has P.T. Barnum as the topic? <context>: CREATE TABLE table_name_92 (podcast_date VARCHAR, run_time VARCHAR, episode_number VARCHAR, historical_references VARCHAR)
SELECT podcast_date FROM table_name_92 WHERE episode_number < 307 AND historical_references = "p.t. barnum" AND run_time = "5:48"
43,062
<question>: What is the topic of the episode that runs 6:07? <context>: CREATE TABLE table_name_7 (historical_references VARCHAR, run_time VARCHAR)
SELECT historical_references FROM table_name_7 WHERE run_time = "6:07"
43,063
<question>: What is the episode number of the episode that aired on August 8, 2005? <context>: CREATE TABLE table_name_17 (episode_number VARCHAR, podcast_date VARCHAR)
SELECT episode_number FROM table_name_17 WHERE podcast_date = "august 8, 2005"
43,064
<question>: What day is south melbourne the away side? <context>: CREATE TABLE table_name_21 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_21 WHERE away_team = "south melbourne"
43,065
<question>: Did the fighter beat Ryo Takigawa? <context>: CREATE TABLE table_name_62 (res VARCHAR, opponent VARCHAR)
SELECT res FROM table_name_62 WHERE opponent = "ryo takigawa"
43,066
<question>: What is the incident number of the incident that occurred in Dantewada, Chattisgarh? <context>: CREATE TABLE table_name_8 (incident_no VARCHAR, place VARCHAR)
SELECT incident_no FROM table_name_8 WHERE place = "dantewada, chattisgarh"
43,067
<question>: WHich province has an IATA of UYN? <context>: CREATE TABLE table_name_12 (province VARCHAR, iata VARCHAR)
SELECT province FROM table_name_12 WHERE iata = "uyn"
43,068
<question>: Which city has an ICAO of ZSXZ? <context>: CREATE TABLE table_name_61 (city VARCHAR, icao VARCHAR)
SELECT city FROM table_name_61 WHERE icao = "zsxz"
43,069
<question>: Which province is Luogang International Airport located in? <context>: CREATE TABLE table_name_63 (province VARCHAR, airport VARCHAR)
SELECT province FROM table_name_63 WHERE airport = "luogang international airport"
43,070
<question>: WHich province has an IATA of WNZ? <context>: CREATE TABLE table_name_7 (province VARCHAR, iata VARCHAR)
SELECT province FROM table_name_7 WHERE iata = "wnz"
43,071
<question>: What is the IATA for Korla Airport. <context>: CREATE TABLE table_name_33 (iata VARCHAR, airport VARCHAR)
SELECT iata FROM table_name_33 WHERE airport = "korla airport"
43,072
<question>: In what division did they place 4th? <context>: CREATE TABLE table_name_27 (division VARCHAR, position VARCHAR)
SELECT division FROM table_name_27 WHERE position = "4th"
43,073
<question>: What was the top scorer in the 1890-91 season? <context>: CREATE TABLE table_name_31 (top_scorer VARCHAR, season VARCHAR)
SELECT top_scorer FROM table_name_31 WHERE season = "1890-91"
43,074
<question>: Which position has a player at Arizona state? <context>: CREATE TABLE table_name_95 (position VARCHAR, school_club_team VARCHAR)
SELECT position FROM table_name_95 WHERE school_club_team = "arizona state"
43,075
<question>: Which school/club has a pick smaller than 196, a round higher than 5 and has Blake Miller? <context>: CREATE TABLE table_name_25 (school_club_team VARCHAR, player VARCHAR, pick VARCHAR, round VARCHAR)
SELECT school_club_team FROM table_name_25 WHERE pick < 196 AND round > 5 AND player = "blake miller"
43,076
<question>: What is the average round at which is the position of Tight End and Randy Bethel? <context>: CREATE TABLE table_name_56 (round INTEGER, position VARCHAR, player VARCHAR)
SELECT AVG(round) FROM table_name_56 WHERE position = "tight end" AND player = "randy bethel"
43,077
<question>: What day did they play the New Orleans Saints? <context>: CREATE TABLE table_name_35 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_35 WHERE opponent = "new orleans saints"
43,078
<question>: What was coach Dick Bennett's overall win percentage? <context>: CREATE TABLE table_name_5 (overall_win_percentage VARCHAR, coach VARCHAR)
SELECT overall_win_percentage FROM table_name_5 WHERE coach = "dick bennett"
43,079
<question>: What are the notes for the shirt that said Pavv before 2005? <context>: CREATE TABLE table_name_57 (notes VARCHAR, shirt_printing VARCHAR, year VARCHAR)
SELECT notes FROM table_name_57 WHERE shirt_printing = "pavv" AND year < 2005
43,080
<question>: What are the notes for the shirt that said Pavv after 2007? <context>: CREATE TABLE table_name_31 (notes VARCHAR, shirt_printing VARCHAR, year VARCHAR)
SELECT notes FROM table_name_31 WHERE shirt_printing = "pavv" AND year > 2007
43,081
<question>: What is the average of all the years when the notes are “electronics brand?” <context>: CREATE TABLE table_name_36 (year INTEGER, notes VARCHAR)
SELECT AVG(year) FROM table_name_36 WHERE notes = "electronics brand"
43,082
<question>: What are the notes for the shirt that says 名品+1 in the kit supplied by Rapido? <context>: CREATE TABLE table_name_85 (notes VARCHAR, kit_supplier VARCHAR, shirt_printing VARCHAR)
SELECT notes FROM table_name_85 WHERE kit_supplier = "rapido" AND shirt_printing = "名品+1"
43,083
<question>: What is the largest crowd at Lake Oval? <context>: CREATE TABLE table_name_52 (crowd INTEGER, venue VARCHAR)
SELECT MAX(crowd) FROM table_name_52 WHERE venue = "lake oval"
43,084
<question>: What was the home team for the game with more than 25,000 crowd? <context>: CREATE TABLE table_name_70 (home_team VARCHAR, crowd INTEGER)
SELECT home_team FROM table_name_70 WHERE crowd > 25 OFFSET 000
43,085
<question>: What was the score for Footscray when they were the away team? <context>: CREATE TABLE table_name_66 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_66 WHERE away_team = "footscray"
43,086
<question>: What is the result from March 14, 2007? <context>: CREATE TABLE table_name_26 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_26 WHERE date = "march 14, 2007"
43,087
<question>: How many goals have a result of 0-1 on march 28, 2007? <context>: CREATE TABLE table_name_48 (goals VARCHAR, result VARCHAR, date VARCHAR)
SELECT COUNT(goals) FROM table_name_48 WHERE result = "0-1" AND date = "march 28, 2007"
43,088
<question>: What venue has a Result of 3-0? <context>: CREATE TABLE table_name_73 (venue VARCHAR, result VARCHAR)
SELECT venue FROM table_name_73 WHERE result = "3-0"
43,089
<question>: What was Collingwood's score as the home team? <context>: CREATE TABLE table_name_54 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_54 WHERE home_team = "collingwood"
43,090
<question>: What venue features carlton as the home side? <context>: CREATE TABLE table_name_40 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_40 WHERE home_team = "carlton"
43,091
<question>: What day is collingwood the home side? <context>: CREATE TABLE table_name_79 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_79 WHERE home_team = "collingwood"
43,092
<question>: The event that has a record of 1-0 is none of the above. <context>: CREATE TABLE table_name_71 (event VARCHAR, record VARCHAR)
SELECT event FROM table_name_71 WHERE record = "1-0"
43,093
<question>: What year was Leon Blevins picked? <context>: CREATE TABLE table_name_81 (year INTEGER, name VARCHAR)
SELECT SUM(year) FROM table_name_81 WHERE name = "leon blevins"
43,094
<question>: What year was Jordan Hill picked overall number 8? <context>: CREATE TABLE table_name_70 (year INTEGER, overall_pick VARCHAR, name VARCHAR)
SELECT MIN(year) FROM table_name_70 WHERE overall_pick = "8" AND name = "jordan hill"
43,095
<question>: In 1981 which team picked overall 148? <context>: CREATE TABLE table_name_8 (team VARCHAR, year VARCHAR, overall_pick VARCHAR)
SELECT team FROM table_name_8 WHERE year = 1981 AND overall_pick = "148"
43,096
<question>: How many people attended the game on December 2, 1951? <context>: CREATE TABLE table_name_69 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_69 WHERE date = "december 2, 1951"
43,097
<question>: What venue does st kilda play at as the away team? <context>: CREATE TABLE table_name_30 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_30 WHERE away_team = "st kilda"
43,098
<question>: What is melbourne's home team score? <context>: CREATE TABLE table_name_97 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_97 WHERE home_team = "melbourne"
43,099
<question>: How many games is collingwood the home side? <context>: CREATE TABLE table_name_4 (crowd VARCHAR, home_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_4 WHERE home_team = "collingwood"