question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
text
stringlengths
114
1.06k
Which team was founded in 1970?
CREATE TABLE table_name_48 (team VARCHAR, founded VARCHAR)
SELECT team FROM table_name_48 WHERE founded = "1970"
### Context: CREATE TABLE table_name_48 (team VARCHAR, founded VARCHAR) ### Question: Which team was founded in 1970? ### Answer: SELECT team FROM table_name_48 WHERE founded = "1970"
When did acharya shree koshalendraprasadji maharaj become acharya?
CREATE TABLE table_name_12 (became_acharya_on VARCHAR, name_of_acharya VARCHAR)
SELECT became_acharya_on FROM table_name_12 WHERE name_of_acharya = "acharya shree koshalendraprasadji maharaj"
### Context: CREATE TABLE table_name_12 (became_acharya_on VARCHAR, name_of_acharya VARCHAR) ### Question: When did acharya shree koshalendraprasadji maharaj become acharya? ### Answer: SELECT became_acharya_on FROM table_name_12 WHERE name_of_acharya = "acharya shree koshalendraprasadji maharaj"
What is the term of acharya shree vasudevprasadji maharaj?
CREATE TABLE table_name_5 (term VARCHAR, name_of_acharya VARCHAR)
SELECT term FROM table_name_5 WHERE name_of_acharya = "acharya shree vasudevprasadji maharaj"
### Context: CREATE TABLE table_name_5 (term VARCHAR, name_of_acharya VARCHAR) ### Question: What is the term of acharya shree vasudevprasadji maharaj? ### Answer: SELECT term FROM table_name_5 WHERE name_of_acharya = "acharya shree vasudevprasadji maharaj"
What was the event where justin robbins had a record of 9-4-1?
CREATE TABLE table_name_54 (event VARCHAR, record VARCHAR)
SELECT event FROM table_name_54 WHERE record = "9-4-1"
### Context: CREATE TABLE table_name_54 (event VARCHAR, record VARCHAR) ### Question: What was the event where justin robbins had a record of 9-4-1? ### Answer: SELECT event FROM table_name_54 WHERE record = "9-4-1"
Where was the location where justin robbins fought against billy kidd?
CREATE TABLE table_name_1 (location VARCHAR, opponent VARCHAR)
SELECT location FROM table_name_1 WHERE opponent = "billy kidd"
### Context: CREATE TABLE table_name_1 (location VARCHAR, opponent VARCHAR) ### Question: Where was the location where justin robbins fought against billy kidd? ### Answer: SELECT location FROM table_name_1 WHERE opponent = "billy kidd"
What was the method of resolution for the fight at cage warriors 39?
CREATE TABLE table_name_87 (method VARCHAR, event VARCHAR)
SELECT method FROM table_name_87 WHERE event = "cage warriors 39"
### Context: CREATE TABLE table_name_87 (method VARCHAR, event VARCHAR) ### Question: What was the method of resolution for the fight at cage warriors 39? ### Answer: SELECT method FROM table_name_87 WHERE event = "cage warriors 39"
A total larger than 302 and playoffs of 35 also list the total of regular seasons as what?
CREATE TABLE table_name_41 (regular_season INTEGER, playoffs VARCHAR, total VARCHAR)
SELECT SUM(regular_season) FROM table_name_41 WHERE playoffs = 35 AND total > 302
### Context: CREATE TABLE table_name_41 (regular_season INTEGER, playoffs VARCHAR, total VARCHAR) ### Question: A total larger than 302 and playoffs of 35 also list the total of regular seasons as what? ### Answer: SELECT SUM(regular_season) FROM table_name_41 WHERE playoffs = 35 AND total > 302
What is the college/junior/club team (league) of lw position player mark miller, from a round greater than 4?
CREATE TABLE table_name_7 (college_junior_club_team__league_ VARCHAR, player VARCHAR, round VARCHAR, position VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_7 WHERE round > 4 AND position = "lw" AND player = "mark miller"
### Context: CREATE TABLE table_name_7 (college_junior_club_team__league_ VARCHAR, player VARCHAR, round VARCHAR, position VARCHAR) ### Question: What is the college/junior/club team (league) of lw position player mark miller, from a round greater than 4? ### Answer: SELECT college_junior_club_team__league_ FROM table_name_7 WHERE round > 4 AND position = "lw" AND player = "mark miller"
Who is the lw position player from a round greater than 10?
CREATE TABLE table_name_76 (player VARCHAR, position VARCHAR, round VARCHAR)
SELECT player FROM table_name_76 WHERE position = "lw" AND round > 10
### Context: CREATE TABLE table_name_76 (player VARCHAR, position VARCHAR, round VARCHAR) ### Question: Who is the lw position player from a round greater than 10? ### Answer: SELECT player FROM table_name_76 WHERE position = "lw" AND round > 10
Who is the player from round 8?
CREATE TABLE table_name_20 (player VARCHAR, round VARCHAR)
SELECT player FROM table_name_20 WHERE round = 8
### Context: CREATE TABLE table_name_20 (player VARCHAR, round VARCHAR) ### Question: Who is the player from round 8? ### Answer: SELECT player FROM table_name_20 WHERE round = 8
What is the nationality of the player from round 7?
CREATE TABLE table_name_14 (nationality VARCHAR, round VARCHAR)
SELECT nationality FROM table_name_14 WHERE round = 7
### Context: CREATE TABLE table_name_14 (nationality VARCHAR, round VARCHAR) ### Question: What is the nationality of the player from round 7? ### Answer: SELECT nationality FROM table_name_14 WHERE round = 7
What is the nationality of the player from round 5?
CREATE TABLE table_name_31 (nationality VARCHAR, round VARCHAR)
SELECT nationality FROM table_name_31 WHERE round = 5
### Context: CREATE TABLE table_name_31 (nationality VARCHAR, round VARCHAR) ### Question: What is the nationality of the player from round 5? ### Answer: SELECT nationality FROM table_name_31 WHERE round = 5
What state had an elected/assumed office in 2013?
CREATE TABLE table_name_98 (state VARCHAR, elected_assumed_office VARCHAR)
SELECT state FROM table_name_98 WHERE elected_assumed_office = 2013
### Context: CREATE TABLE table_name_98 (state VARCHAR, elected_assumed_office VARCHAR) ### Question: What state had an elected/assumed office in 2013? ### Answer: SELECT state FROM table_name_98 WHERE elected_assumed_office = 2013
What was the air date of 'Gary tries to do it all'?
CREATE TABLE table_name_95 (air_date VARCHAR, episode VARCHAR)
SELECT air_date FROM table_name_95 WHERE episode = "gary tries to do it all"
### Context: CREATE TABLE table_name_95 (air_date VARCHAR, episode VARCHAR) ### Question: What was the air date of 'Gary tries to do it all'? ### Answer: SELECT air_date FROM table_name_95 WHERE episode = "gary tries to do it all"
What is the location of the university that was established in 2000?
CREATE TABLE table_name_44 (location VARCHAR, established VARCHAR)
SELECT location FROM table_name_44 WHERE established = 2000
### Context: CREATE TABLE table_name_44 (location VARCHAR, established VARCHAR) ### Question: What is the location of the university that was established in 2000? ### Answer: SELECT location FROM table_name_44 WHERE established = 2000
What year was the team with the nickname pride established?
CREATE TABLE table_name_14 (established VARCHAR, nickname VARCHAR)
SELECT COUNT(established) FROM table_name_14 WHERE nickname = "pride"
### Context: CREATE TABLE table_name_14 (established VARCHAR, nickname VARCHAR) ### Question: What year was the team with the nickname pride established? ### Answer: SELECT COUNT(established) FROM table_name_14 WHERE nickname = "pride"
What is the enrollment of the university established in or after 2011?
CREATE TABLE table_name_68 (enrollment VARCHAR, established INTEGER)
SELECT enrollment FROM table_name_68 WHERE established > 2011
### Context: CREATE TABLE table_name_68 (enrollment VARCHAR, established INTEGER) ### Question: What is the enrollment of the university established in or after 2011? ### Answer: SELECT enrollment FROM table_name_68 WHERE established > 2011
What country was ole ellefsæter from?
CREATE TABLE table_name_34 (country VARCHAR, winner VARCHAR)
SELECT country FROM table_name_34 WHERE winner = "ole ellefsæter"
### Context: CREATE TABLE table_name_34 (country VARCHAR, winner VARCHAR) ### Question: What country was ole ellefsæter from? ### Answer: SELECT country FROM table_name_34 WHERE winner = "ole ellefsæter"
Who won the FIS Nordic World Ski Championships in 1972?
CREATE TABLE table_name_4 (winner VARCHAR, fis_nordic_world_ski_championships VARCHAR)
SELECT winner FROM table_name_4 WHERE fis_nordic_world_ski_championships = "1972"
### Context: CREATE TABLE table_name_4 (winner VARCHAR, fis_nordic_world_ski_championships VARCHAR) ### Question: Who won the FIS Nordic World Ski Championships in 1972? ### Answer: SELECT winner FROM table_name_4 WHERE fis_nordic_world_ski_championships = "1972"
For a country of Spain, place of t6, what is the Money ($)?
CREATE TABLE table_name_44 (money___$__ VARCHAR, place VARCHAR, country VARCHAR)
SELECT money___$__ FROM table_name_44 WHERE place = "t6" AND country = "spain"
### Context: CREATE TABLE table_name_44 (money___$__ VARCHAR, place VARCHAR, country VARCHAR) ### Question: For a country of Spain, place of t6, what is the Money ($)? ### Answer: SELECT money___$__ FROM table_name_44 WHERE place = "t6" AND country = "spain"
Which country has a to par of e?
CREATE TABLE table_name_20 (country VARCHAR, to_par VARCHAR)
SELECT country FROM table_name_20 WHERE to_par = "e"
### Context: CREATE TABLE table_name_20 (country VARCHAR, to_par VARCHAR) ### Question: Which country has a to par of e? ### Answer: SELECT country FROM table_name_20 WHERE to_par = "e"
Which player is from Australia, and has a place of t9?
CREATE TABLE table_name_35 (player VARCHAR, place VARCHAR, country VARCHAR)
SELECT player FROM table_name_35 WHERE place = "t9" AND country = "australia"
### Context: CREATE TABLE table_name_35 (player VARCHAR, place VARCHAR, country VARCHAR) ### Question: Which player is from Australia, and has a place of t9? ### Answer: SELECT player FROM table_name_35 WHERE place = "t9" AND country = "australia"
What was the place for player John Merrick?
CREATE TABLE table_name_52 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_52 WHERE player = "john merrick"
### Context: CREATE TABLE table_name_52 (place VARCHAR, player VARCHAR) ### Question: What was the place for player John Merrick? ### Answer: SELECT place FROM table_name_52 WHERE player = "john merrick"
Which country had a place of t1, as well as a score of 72-68-70-73=283?
CREATE TABLE table_name_38 (country VARCHAR, place VARCHAR, score VARCHAR)
SELECT country FROM table_name_38 WHERE place = "t1" AND score = 72 - 68 - 70 - 73 = 283
### Context: CREATE TABLE table_name_38 (country VARCHAR, place VARCHAR, score VARCHAR) ### Question: Which country had a place of t1, as well as a score of 72-68-70-73=283? ### Answer: SELECT country FROM table_name_38 WHERE place = "t1" AND score = 72 - 68 - 70 - 73 = 283
What place has jack renner as the player?
CREATE TABLE table_name_48 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_48 WHERE player = "jack renner"
### Context: CREATE TABLE table_name_48 (place VARCHAR, player VARCHAR) ### Question: What place has jack renner as the player? ### Answer: SELECT place FROM table_name_48 WHERE player = "jack renner"
What to par has The United States as the country, t8 as the place, and tommy valentine as the player?
CREATE TABLE table_name_77 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)
SELECT to_par FROM table_name_77 WHERE country = "united states" AND place = "t8" AND player = "tommy valentine"
### Context: CREATE TABLE table_name_77 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR) ### Question: What to par has The United States as the country, t8 as the place, and tommy valentine as the player? ### Answer: SELECT to_par FROM table_name_77 WHERE country = "united states" AND place = "t8" AND player = "tommy valentine"
What to par has 66 as the score?
CREATE TABLE table_name_56 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_56 WHERE score = 66
### Context: CREATE TABLE table_name_56 (to_par VARCHAR, score VARCHAR) ### Question: What to par has 66 as the score? ### Answer: SELECT to_par FROM table_name_56 WHERE score = 66
Mean of played with smaller than 7 conceded?
CREATE TABLE table_name_62 (played INTEGER, conceded INTEGER)
SELECT AVG(played) FROM table_name_62 WHERE conceded < 7
### Context: CREATE TABLE table_name_62 (played INTEGER, conceded INTEGER) ### Question: Mean of played with smaller than 7 conceded? ### Answer: SELECT AVG(played) FROM table_name_62 WHERE conceded < 7
The highest position with more than 16 points and less than 7 concedes?
CREATE TABLE table_name_40 (position INTEGER, points VARCHAR, conceded VARCHAR)
SELECT MAX(position) FROM table_name_40 WHERE points > 16 AND conceded < 7
### Context: CREATE TABLE table_name_40 (position INTEGER, points VARCHAR, conceded VARCHAR) ### Question: The highest position with more than 16 points and less than 7 concedes? ### Answer: SELECT MAX(position) FROM table_name_40 WHERE points > 16 AND conceded < 7
The highest draws with smaller than 9 played?
CREATE TABLE table_name_32 (draws INTEGER, played INTEGER)
SELECT MAX(draws) FROM table_name_32 WHERE played < 9
### Context: CREATE TABLE table_name_32 (draws INTEGER, played INTEGER) ### Question: The highest draws with smaller than 9 played? ### Answer: SELECT MAX(draws) FROM table_name_32 WHERE played < 9
Which Home Town has a Took Office of 1983, and a District larger than 15?
CREATE TABLE table_name_60 (home_town VARCHAR, took_office VARCHAR, district VARCHAR)
SELECT home_town FROM table_name_60 WHERE took_office = 1983 AND district > 15
### Context: CREATE TABLE table_name_60 (home_town VARCHAR, took_office VARCHAR, district VARCHAR) ### Question: Which Home Town has a Took Office of 1983, and a District larger than 15? ### Answer: SELECT home_town FROM table_name_60 WHERE took_office = 1983 AND district > 15
Which Senator has a Party of republican, a Home Town of houston, and a District of 7?
CREATE TABLE table_name_82 (senator VARCHAR, district VARCHAR, party VARCHAR, home_town VARCHAR)
SELECT senator FROM table_name_82 WHERE party = "republican" AND home_town = "houston" AND district = 7
### Context: CREATE TABLE table_name_82 (senator VARCHAR, district VARCHAR, party VARCHAR, home_town VARCHAR) ### Question: Which Senator has a Party of republican, a Home Town of houston, and a District of 7? ### Answer: SELECT senator FROM table_name_82 WHERE party = "republican" AND home_town = "houston" AND district = 7
Which Home Town has a Senator of dan shelley?
CREATE TABLE table_name_78 (home_town VARCHAR, senator VARCHAR)
SELECT home_town FROM table_name_78 WHERE senator = "dan shelley"
### Context: CREATE TABLE table_name_78 (home_town VARCHAR, senator VARCHAR) ### Question: Which Home Town has a Senator of dan shelley? ### Answer: SELECT home_town FROM table_name_78 WHERE senator = "dan shelley"
Which Took Office has a Party of democratic, a Home Town of victoria, and a District smaller than 18?
CREATE TABLE table_name_81 (took_office VARCHAR, district VARCHAR, party VARCHAR, home_town VARCHAR)
SELECT COUNT(took_office) FROM table_name_81 WHERE party = "democratic" AND home_town = "victoria" AND district < 18
### Context: CREATE TABLE table_name_81 (took_office VARCHAR, district VARCHAR, party VARCHAR, home_town VARCHAR) ### Question: Which Took Office has a Party of democratic, a Home Town of victoria, and a District smaller than 18? ### Answer: SELECT COUNT(took_office) FROM table_name_81 WHERE party = "democratic" AND home_town = "victoria" AND district < 18
Which Took Office has a District of 29?
CREATE TABLE table_name_8 (took_office INTEGER, district VARCHAR)
SELECT AVG(took_office) FROM table_name_8 WHERE district = 29
### Context: CREATE TABLE table_name_8 (took_office INTEGER, district VARCHAR) ### Question: Which Took Office has a District of 29? ### Answer: SELECT AVG(took_office) FROM table_name_8 WHERE district = 29
What are the average Laps on Grid 15?
CREATE TABLE table_name_88 (laps INTEGER, grid VARCHAR)
SELECT AVG(laps) FROM table_name_88 WHERE grid = 15
### Context: CREATE TABLE table_name_88 (laps INTEGER, grid VARCHAR) ### Question: What are the average Laps on Grid 15? ### Answer: SELECT AVG(laps) FROM table_name_88 WHERE grid = 15
What is the lowest number of Laps that have a Time of +24.440, and a Grid higher than 18?
CREATE TABLE table_name_39 (laps INTEGER, time VARCHAR, grid VARCHAR)
SELECT MIN(laps) FROM table_name_39 WHERE time = "+24.440" AND grid > 18
### Context: CREATE TABLE table_name_39 (laps INTEGER, time VARCHAR, grid VARCHAR) ### Question: What is the lowest number of Laps that have a Time of +24.440, and a Grid higher than 18? ### Answer: SELECT MIN(laps) FROM table_name_39 WHERE time = "+24.440" AND grid > 18
What is the highest number of Laps that have a Time of +18.366, and a Grid lower than 13?
CREATE TABLE table_name_93 (laps INTEGER, grid VARCHAR, time VARCHAR)
SELECT MAX(laps) FROM table_name_93 WHERE grid < 13 AND time = "+18.366"
### Context: CREATE TABLE table_name_93 (laps INTEGER, grid VARCHAR, time VARCHAR) ### Question: What is the highest number of Laps that have a Time of +18.366, and a Grid lower than 13? ### Answer: SELECT MAX(laps) FROM table_name_93 WHERE grid < 13 AND time = "+18.366"
What is the lowest Wins, when Season is 2011, when Podiums is 1, and when Poles is less than 0?
CREATE TABLE table_name_37 (wins INTEGER, poles VARCHAR, season VARCHAR, podiums VARCHAR)
SELECT MIN(wins) FROM table_name_37 WHERE season = "2011" AND podiums = 1 AND poles < 0
### Context: CREATE TABLE table_name_37 (wins INTEGER, poles VARCHAR, season VARCHAR, podiums VARCHAR) ### Question: What is the lowest Wins, when Season is 2011, when Podiums is 1, and when Poles is less than 0? ### Answer: SELECT MIN(wins) FROM table_name_37 WHERE season = "2011" AND podiums = 1 AND poles < 0
What is Position, when Points is greater than 7, and when Series is Toyota Racing Series?
CREATE TABLE table_name_3 (position VARCHAR, points VARCHAR, series VARCHAR)
SELECT position FROM table_name_3 WHERE points > 7 AND series = "toyota racing series"
### Context: CREATE TABLE table_name_3 (position VARCHAR, points VARCHAR, series VARCHAR) ### Question: What is Position, when Points is greater than 7, and when Series is Toyota Racing Series? ### Answer: SELECT position FROM table_name_3 WHERE points > 7 AND series = "toyota racing series"
What is the sum of Races, when Series is Toyota Racing Series, and when Podiums is greater than 3?
CREATE TABLE table_name_9 (races INTEGER, series VARCHAR, podiums VARCHAR)
SELECT SUM(races) FROM table_name_9 WHERE series = "toyota racing series" AND podiums > 3
### Context: CREATE TABLE table_name_9 (races INTEGER, series VARCHAR, podiums VARCHAR) ### Question: What is the sum of Races, when Series is Toyota Racing Series, and when Podiums is greater than 3? ### Answer: SELECT SUM(races) FROM table_name_9 WHERE series = "toyota racing series" AND podiums > 3
What is the average Podiums, when Wins is greater than 1, when Races is 2, and when Points is greater than 150?
CREATE TABLE table_name_47 (podiums INTEGER, points VARCHAR, wins VARCHAR, races VARCHAR)
SELECT AVG(podiums) FROM table_name_47 WHERE wins > 1 AND races = 2 AND points > 150
### Context: CREATE TABLE table_name_47 (podiums INTEGER, points VARCHAR, wins VARCHAR, races VARCHAR) ### Question: What is the average Podiums, when Wins is greater than 1, when Races is 2, and when Points is greater than 150? ### Answer: SELECT AVG(podiums) FROM table_name_47 WHERE wins > 1 AND races = 2 AND points > 150
What is the total number of Poles, when Position is 6th, and when Points is less than 164?
CREATE TABLE table_name_27 (poles VARCHAR, position VARCHAR, points VARCHAR)
SELECT COUNT(poles) FROM table_name_27 WHERE position = "6th" AND points < 164
### Context: CREATE TABLE table_name_27 (poles VARCHAR, position VARCHAR, points VARCHAR) ### Question: What is the total number of Poles, when Position is 6th, and when Points is less than 164? ### Answer: SELECT COUNT(poles) FROM table_name_27 WHERE position = "6th" AND points < 164
Which is the earliest founded day school to have entered the competition after 1958?
CREATE TABLE table_name_64 (founded INTEGER, day_boarding VARCHAR, year_entered_competition VARCHAR)
SELECT MIN(founded) FROM table_name_64 WHERE day_boarding = "day" AND year_entered_competition > 1958
### Context: CREATE TABLE table_name_64 (founded INTEGER, day_boarding VARCHAR, year_entered_competition VARCHAR) ### Question: Which is the earliest founded day school to have entered the competition after 1958? ### Answer: SELECT MIN(founded) FROM table_name_64 WHERE day_boarding = "day" AND year_entered_competition > 1958
How many to par in England?
CREATE TABLE table_name_93 (to_par VARCHAR, country VARCHAR)
SELECT to_par FROM table_name_93 WHERE country = "england"
### Context: CREATE TABLE table_name_93 (to_par VARCHAR, country VARCHAR) ### Question: How many to par in England? ### Answer: SELECT to_par FROM table_name_93 WHERE country = "england"
Where is David Frost from?
CREATE TABLE table_name_38 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_38 WHERE player = "david frost"
### Context: CREATE TABLE table_name_38 (place VARCHAR, player VARCHAR) ### Question: Where is David Frost from? ### Answer: SELECT place FROM table_name_38 WHERE player = "david frost"
Which country earned place T3 with a score of 70-68=138?
CREATE TABLE table_name_18 (country VARCHAR, place VARCHAR, score VARCHAR)
SELECT country FROM table_name_18 WHERE place = "t3" AND score = 70 - 68 = 138
### Context: CREATE TABLE table_name_18 (country VARCHAR, place VARCHAR, score VARCHAR) ### Question: Which country earned place T3 with a score of 70-68=138? ### Answer: SELECT country FROM table_name_18 WHERE place = "t3" AND score = 70 - 68 = 138
Which country had a score of 69-67=136?
CREATE TABLE table_name_5 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_5 WHERE score = 69 - 67 = 136
### Context: CREATE TABLE table_name_5 (country VARCHAR, score VARCHAR) ### Question: Which country had a score of 69-67=136? ### Answer: SELECT country FROM table_name_5 WHERE score = 69 - 67 = 136
How many to par for Greg Norman?
CREATE TABLE table_name_1 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_1 WHERE player = "greg norman"
### Context: CREATE TABLE table_name_1 (to_par VARCHAR, player VARCHAR) ### Question: How many to par for Greg Norman? ### Answer: SELECT to_par FROM table_name_1 WHERE player = "greg norman"
What was the high rebounds after game 14 for Denver?
CREATE TABLE table_name_74 (high_rebounds VARCHAR, game VARCHAR, team VARCHAR)
SELECT high_rebounds FROM table_name_74 WHERE game > 14 AND team = "denver"
### Context: CREATE TABLE table_name_74 (high_rebounds VARCHAR, game VARCHAR, team VARCHAR) ### Question: What was the high rebounds after game 14 for Denver? ### Answer: SELECT high_rebounds FROM table_name_74 WHERE game > 14 AND team = "denver"
What was the latest game that Sacramento played?
CREATE TABLE table_name_26 (game INTEGER, team VARCHAR)
SELECT MAX(game) FROM table_name_26 WHERE team = "sacramento"
### Context: CREATE TABLE table_name_26 (game INTEGER, team VARCHAR) ### Question: What was the latest game that Sacramento played? ### Answer: SELECT MAX(game) FROM table_name_26 WHERE team = "sacramento"
What was the record of Utah?
CREATE TABLE table_name_65 (record VARCHAR, team VARCHAR)
SELECT record FROM table_name_65 WHERE team = "utah"
### Context: CREATE TABLE table_name_65 (record VARCHAR, team VARCHAR) ### Question: What was the record of Utah? ### Answer: SELECT record FROM table_name_65 WHERE team = "utah"
What is the parent magazine of Dengeki g's festival! deluxe?
CREATE TABLE table_name_78 (parent_magazine VARCHAR, title VARCHAR)
SELECT parent_magazine FROM table_name_78 WHERE title = "dengeki g's festival! deluxe"
### Context: CREATE TABLE table_name_78 (parent_magazine VARCHAR, title VARCHAR) ### Question: What is the parent magazine of Dengeki g's festival! deluxe? ### Answer: SELECT parent_magazine FROM table_name_78 WHERE title = "dengeki g's festival! deluxe"
How often does Dengeki girl's style come out?
CREATE TABLE table_name_5 (frequency VARCHAR, parent_magazine VARCHAR)
SELECT frequency FROM table_name_5 WHERE parent_magazine = "dengeki girl's style"
### Context: CREATE TABLE table_name_5 (frequency VARCHAR, parent_magazine VARCHAR) ### Question: How often does Dengeki girl's style come out? ### Answer: SELECT frequency FROM table_name_5 WHERE parent_magazine = "dengeki girl's style"
What titles come out monthly?
CREATE TABLE table_name_72 (title VARCHAR, frequency VARCHAR)
SELECT title FROM table_name_72 WHERE frequency = "monthly"
### Context: CREATE TABLE table_name_72 (title VARCHAR, frequency VARCHAR) ### Question: What titles come out monthly? ### Answer: SELECT title FROM table_name_72 WHERE frequency = "monthly"
What is the parent magazine for Dengeki 5pb.?
CREATE TABLE table_name_42 (parent_magazine VARCHAR, title VARCHAR)
SELECT parent_magazine FROM table_name_42 WHERE title = "dengeki 5pb."
### Context: CREATE TABLE table_name_42 (parent_magazine VARCHAR, title VARCHAR) ### Question: What is the parent magazine for Dengeki 5pb.? ### Answer: SELECT parent_magazine FROM table_name_42 WHERE title = "dengeki 5pb."
What is the magazine type that ran from March 3, 2009–February 5, 2010?
CREATE TABLE table_name_94 (magazine_type VARCHAR, magazine_run VARCHAR)
SELECT magazine_type FROM table_name_94 WHERE magazine_run = "march 3, 2009–february 5, 2010"
### Context: CREATE TABLE table_name_94 (magazine_type VARCHAR, magazine_run VARCHAR) ### Question: What is the magazine type that ran from March 3, 2009–February 5, 2010? ### Answer: SELECT magazine_type FROM table_name_94 WHERE magazine_run = "march 3, 2009–february 5, 2010"
What is the frequency for the magazine that runs September 2, 2010?
CREATE TABLE table_name_62 (frequency VARCHAR, magazine_run VARCHAR)
SELECT frequency FROM table_name_62 WHERE magazine_run = "september 2, 2010"
### Context: CREATE TABLE table_name_62 (frequency VARCHAR, magazine_run VARCHAR) ### Question: What is the frequency for the magazine that runs September 2, 2010? ### Answer: SELECT frequency FROM table_name_62 WHERE magazine_run = "september 2, 2010"
What is the highest number of laps with a +1:23.297 time/retired and a grid larger than 4?
CREATE TABLE table_name_98 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
SELECT MAX(laps) FROM table_name_98 WHERE time_retired = "+1:23.297" AND grid > 4
### Context: CREATE TABLE table_name_98 (laps INTEGER, time_retired VARCHAR, grid VARCHAR) ### Question: What is the highest number of laps with a +1:23.297 time/retired and a grid larger than 4? ### Answer: SELECT MAX(laps) FROM table_name_98 WHERE time_retired = "+1:23.297" AND grid > 4
What is the time/retired with a toyota constructor and a 5 grid?
CREATE TABLE table_name_93 (time_retired VARCHAR, constructor VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_93 WHERE constructor = "toyota" AND grid = 5
### Context: CREATE TABLE table_name_93 (time_retired VARCHAR, constructor VARCHAR, grid VARCHAR) ### Question: What is the time/retired with a toyota constructor and a 5 grid? ### Answer: SELECT time_retired FROM table_name_93 WHERE constructor = "toyota" AND grid = 5
What is the average number of laps with 16 grids?
CREATE TABLE table_name_54 (laps INTEGER, grid VARCHAR)
SELECT AVG(laps) FROM table_name_54 WHERE grid = 16
### Context: CREATE TABLE table_name_54 (laps INTEGER, grid VARCHAR) ### Question: What is the average number of laps with 16 grids? ### Answer: SELECT AVG(laps) FROM table_name_54 WHERE grid = 16
What was the endowment in 2008 of the college that was established in 1961?
CREATE TABLE table_name_55 (endowment_as_of_2008 VARCHAR, established VARCHAR)
SELECT endowment_as_of_2008 FROM table_name_55 WHERE established = 1961
### Context: CREATE TABLE table_name_55 (endowment_as_of_2008 VARCHAR, established VARCHAR) ### Question: What was the endowment in 2008 of the college that was established in 1961? ### Answer: SELECT endowment_as_of_2008 FROM table_name_55 WHERE established = 1961
On what day was the attendance that had a Tie value of 40?
CREATE TABLE table_name_84 (attendance VARCHAR, tie_no VARCHAR)
SELECT attendance FROM table_name_84 WHERE tie_no = "40"
### Context: CREATE TABLE table_name_84 (attendance VARCHAR, tie_no VARCHAR) ### Question: On what day was the attendance that had a Tie value of 40? ### Answer: SELECT attendance FROM table_name_84 WHERE tie_no = "40"
Who was the home team for the away game that Canvey Island played?
CREATE TABLE table_name_6 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_6 WHERE away_team = "canvey island"
### Context: CREATE TABLE table_name_6 (home_team VARCHAR, away_team VARCHAR) ### Question: Who was the home team for the away game that Canvey Island played? ### Answer: SELECT home_team FROM table_name_6 WHERE away_team = "canvey island"
On what day was there a Home game for Gillingham?
CREATE TABLE table_name_4 (attendance VARCHAR, home_team VARCHAR)
SELECT attendance FROM table_name_4 WHERE home_team = "gillingham"
### Context: CREATE TABLE table_name_4 (attendance VARCHAR, home_team VARCHAR) ### Question: On what day was there a Home game for Gillingham? ### Answer: SELECT attendance FROM table_name_4 WHERE home_team = "gillingham"
Which Pick has an Overall larger than 308, and a Position of rb?
CREATE TABLE table_name_21 (pick INTEGER, overall VARCHAR, position VARCHAR)
SELECT MAX(pick) FROM table_name_21 WHERE overall > 308 AND position = "rb"
### Context: CREATE TABLE table_name_21 (pick INTEGER, overall VARCHAR, position VARCHAR) ### Question: Which Pick has an Overall larger than 308, and a Position of rb? ### Answer: SELECT MAX(pick) FROM table_name_21 WHERE overall > 308 AND position = "rb"
How much Overall has a Position of wr, and a College of alberta?
CREATE TABLE table_name_86 (overall INTEGER, position VARCHAR, college VARCHAR)
SELECT SUM(overall) FROM table_name_86 WHERE position = "wr" AND college = "alberta"
### Context: CREATE TABLE table_name_86 (overall INTEGER, position VARCHAR, college VARCHAR) ### Question: How much Overall has a Position of wr, and a College of alberta? ### Answer: SELECT SUM(overall) FROM table_name_86 WHERE position = "wr" AND college = "alberta"
What is indiana college's average pick?
CREATE TABLE table_name_51 (pick INTEGER, college VARCHAR)
SELECT AVG(pick) FROM table_name_51 WHERE college = "indiana"
### Context: CREATE TABLE table_name_51 (pick INTEGER, college VARCHAR) ### Question: What is indiana college's average pick? ### Answer: SELECT AVG(pick) FROM table_name_51 WHERE college = "indiana"
Which College has an Overall of 308?
CREATE TABLE table_name_46 (college VARCHAR, overall VARCHAR)
SELECT college FROM table_name_46 WHERE overall = 308
### Context: CREATE TABLE table_name_46 (college VARCHAR, overall VARCHAR) ### Question: Which College has an Overall of 308? ### Answer: SELECT college FROM table_name_46 WHERE overall = 308
What was the surface for the opponent Marcos Baghdatis?
CREATE TABLE table_name_3 (surface VARCHAR, opponent VARCHAR)
SELECT surface FROM table_name_3 WHERE opponent = "marcos baghdatis"
### Context: CREATE TABLE table_name_3 (surface VARCHAR, opponent VARCHAR) ### Question: What was the surface for the opponent Marcos Baghdatis? ### Answer: SELECT surface FROM table_name_3 WHERE opponent = "marcos baghdatis"
WHAT IS THE 8TH THAT HAS A 7TH OF AUDIO BULLYS?
CREATE TABLE table_name_61 (eighth VARCHAR, seventh VARCHAR)
SELECT eighth FROM table_name_61 WHERE seventh = "audio bullys"
### Context: CREATE TABLE table_name_61 (eighth VARCHAR, seventh VARCHAR) ### Question: WHAT IS THE 8TH THAT HAS A 7TH OF AUDIO BULLYS? ### Answer: SELECT eighth FROM table_name_61 WHERE seventh = "audio bullys"
WHAT IS THE POLL YEAR WITH A THIRD OF THE TING TINGS?
CREATE TABLE table_name_34 (poll_year VARCHAR, third VARCHAR)
SELECT poll_year FROM table_name_34 WHERE third = "the ting tings"
### Context: CREATE TABLE table_name_34 (poll_year VARCHAR, third VARCHAR) ### Question: WHAT IS THE POLL YEAR WITH A THIRD OF THE TING TINGS? ### Answer: SELECT poll_year FROM table_name_34 WHERE third = "the ting tings"
WHAT IS THE SIXTH WITH A SECOND OF WHITE LIES?
CREATE TABLE table_name_66 (sixth VARCHAR, second VARCHAR)
SELECT sixth FROM table_name_66 WHERE second = "white lies"
### Context: CREATE TABLE table_name_66 (sixth VARCHAR, second VARCHAR) ### Question: WHAT IS THE SIXTH WITH A SECOND OF WHITE LIES? ### Answer: SELECT sixth FROM table_name_66 WHERE second = "white lies"
WHAT IS THE WINNER WITH A FIFTH OF JOSS STONE?
CREATE TABLE table_name_97 (winner VARCHAR, fifth VARCHAR)
SELECT winner FROM table_name_97 WHERE fifth = "joss stone"
### Context: CREATE TABLE table_name_97 (winner VARCHAR, fifth VARCHAR) ### Question: WHAT IS THE WINNER WITH A FIFTH OF JOSS STONE? ### Answer: SELECT winner FROM table_name_97 WHERE fifth = "joss stone"
WHAT IS THE SECOND WITH A TENTH OF DAN BLACK?
CREATE TABLE table_name_65 (second VARCHAR, tenth VARCHAR)
SELECT second FROM table_name_65 WHERE tenth = "dan black"
### Context: CREATE TABLE table_name_65 (second VARCHAR, tenth VARCHAR) ### Question: WHAT IS THE SECOND WITH A TENTH OF DAN BLACK? ### Answer: SELECT second FROM table_name_65 WHERE tenth = "dan black"
What average game has January 30 as the date?
CREATE TABLE table_name_45 (game INTEGER, date VARCHAR)
SELECT AVG(game) FROM table_name_45 WHERE date = "january 30"
### Context: CREATE TABLE table_name_45 (game INTEGER, date VARCHAR) ### Question: What average game has January 30 as the date? ### Answer: SELECT AVG(game) FROM table_name_45 WHERE date = "january 30"
What score has january 19 as the date?
CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_65 WHERE date = "january 19"
### Context: CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR) ### Question: What score has january 19 as the date? ### Answer: SELECT score FROM table_name_65 WHERE date = "january 19"
What is the loaction attendance that has a game greater than 35, with January 30 as the date?
CREATE TABLE table_name_24 (location_attendance VARCHAR, game VARCHAR, date VARCHAR)
SELECT location_attendance FROM table_name_24 WHERE game > 35 AND date = "january 30"
### Context: CREATE TABLE table_name_24 (location_attendance VARCHAR, game VARCHAR, date VARCHAR) ### Question: What is the loaction attendance that has a game greater than 35, with January 30 as the date? ### Answer: SELECT location_attendance FROM table_name_24 WHERE game > 35 AND date = "january 30"
What is the highest game that has January 5 as the date?
CREATE TABLE table_name_99 (game INTEGER, date VARCHAR)
SELECT MAX(game) FROM table_name_99 WHERE date = "january 5"
### Context: CREATE TABLE table_name_99 (game INTEGER, date VARCHAR) ### Question: What is the highest game that has January 5 as the date? ### Answer: SELECT MAX(game) FROM table_name_99 WHERE date = "january 5"
What is the highest rebounds that has conseco fieldhouse 11,964 as the location attendance?
CREATE TABLE table_name_58 (high_rebounds VARCHAR, location_attendance VARCHAR)
SELECT high_rebounds FROM table_name_58 WHERE location_attendance = "conseco fieldhouse 11,964"
### Context: CREATE TABLE table_name_58 (high_rebounds VARCHAR, location_attendance VARCHAR) ### Question: What is the highest rebounds that has conseco fieldhouse 11,964 as the location attendance? ### Answer: SELECT high_rebounds FROM table_name_58 WHERE location_attendance = "conseco fieldhouse 11,964"
What is the highest lane value for a mark of 2:02.27 NR, with heats under 2?
CREATE TABLE table_name_82 (lane INTEGER, mark VARCHAR, heat VARCHAR)
SELECT MAX(lane) FROM table_name_82 WHERE mark = "2:02.27 nr" AND heat < 2
### Context: CREATE TABLE table_name_82 (lane INTEGER, mark VARCHAR, heat VARCHAR) ### Question: What is the highest lane value for a mark of 2:02.27 NR, with heats under 2? ### Answer: SELECT MAX(lane) FROM table_name_82 WHERE mark = "2:02.27 nr" AND heat < 2
What is the mark for the runner from Mozambique?
CREATE TABLE table_name_8 (mark VARCHAR, country VARCHAR)
SELECT mark FROM table_name_8 WHERE country = "mozambique"
### Context: CREATE TABLE table_name_8 (mark VARCHAR, country VARCHAR) ### Question: What is the mark for the runner from Mozambique? ### Answer: SELECT mark FROM table_name_8 WHERE country = "mozambique"
Who was in lane 6 with a mark of 2:05.58 SB?
CREATE TABLE table_name_84 (name VARCHAR, lane VARCHAR, mark VARCHAR)
SELECT name FROM table_name_84 WHERE lane = 6 AND mark = "2:05.58 sb"
### Context: CREATE TABLE table_name_84 (name VARCHAR, lane VARCHAR, mark VARCHAR) ### Question: Who was in lane 6 with a mark of 2:05.58 SB? ### Answer: SELECT name FROM table_name_84 WHERE lane = 6 AND mark = "2:05.58 sb"
What round was Ken Irvin drafted?
CREATE TABLE table_name_54 (round INTEGER, player VARCHAR)
SELECT MAX(round) FROM table_name_54 WHERE player = "ken irvin"
### Context: CREATE TABLE table_name_54 (round INTEGER, player VARCHAR) ### Question: What round was Ken Irvin drafted? ### Answer: SELECT MAX(round) FROM table_name_54 WHERE player = "ken irvin"
In what round was a player from Michigan selected?
CREATE TABLE table_name_54 (round INTEGER, school_club_team VARCHAR)
SELECT MAX(round) FROM table_name_54 WHERE school_club_team = "michigan"
### Context: CREATE TABLE table_name_54 (round INTEGER, school_club_team VARCHAR) ### Question: In what round was a player from Michigan selected? ### Answer: SELECT MAX(round) FROM table_name_54 WHERE school_club_team = "michigan"
Who was the opponent before week 8 when the result was l 28-17?
CREATE TABLE table_name_49 (opponent VARCHAR, week VARCHAR, result VARCHAR)
SELECT opponent FROM table_name_49 WHERE week < 8 AND result = "l 28-17"
### Context: CREATE TABLE table_name_49 (opponent VARCHAR, week VARCHAR, result VARCHAR) ### Question: Who was the opponent before week 8 when the result was l 28-17? ### Answer: SELECT opponent FROM table_name_49 WHERE week < 8 AND result = "l 28-17"
In which week was the game played on October 12, 1975 and the crowd was larger than 44,043?
CREATE TABLE table_name_15 (week VARCHAR, date VARCHAR, attendance VARCHAR)
SELECT COUNT(week) FROM table_name_15 WHERE date = "october 12, 1975" AND attendance > 44 OFFSET 043
### Context: CREATE TABLE table_name_15 (week VARCHAR, date VARCHAR, attendance VARCHAR) ### Question: In which week was the game played on October 12, 1975 and the crowd was larger than 44,043? ### Answer: SELECT COUNT(week) FROM table_name_15 WHERE date = "october 12, 1975" AND attendance > 44 OFFSET 043
What was Berlin when fk pirmasens was Südwest and westfalia herne was west?
CREATE TABLE table_name_60 (berlin VARCHAR, südwest VARCHAR, west VARCHAR)
SELECT berlin FROM table_name_60 WHERE südwest = "fk pirmasens" AND west = "westfalia herne"
### Context: CREATE TABLE table_name_60 (berlin VARCHAR, südwest VARCHAR, west VARCHAR) ### Question: What was Berlin when fk pirmasens was Südwest and westfalia herne was west? ### Answer: SELECT berlin FROM table_name_60 WHERE südwest = "fk pirmasens" AND west = "westfalia herne"
What is the earliest year borussia dortmund was west and bfc viktoria 1889 was Berlin?
CREATE TABLE table_name_90 (year INTEGER, west VARCHAR, berlin VARCHAR)
SELECT MIN(year) FROM table_name_90 WHERE west = "borussia dortmund" AND berlin = "bfc viktoria 1889"
### Context: CREATE TABLE table_name_90 (year INTEGER, west VARCHAR, berlin VARCHAR) ### Question: What is the earliest year borussia dortmund was west and bfc viktoria 1889 was Berlin? ### Answer: SELECT MIN(year) FROM table_name_90 WHERE west = "borussia dortmund" AND berlin = "bfc viktoria 1889"
What is the Nord in 1952, when tennis borussia berlin was Berlin?
CREATE TABLE table_name_3 (nord VARCHAR, berlin VARCHAR, year VARCHAR)
SELECT nord FROM table_name_3 WHERE berlin = "tennis borussia berlin" AND year = 1952
### Context: CREATE TABLE table_name_3 (nord VARCHAR, berlin VARCHAR, year VARCHAR) ### Question: What is the Nord in 1952, when tennis borussia berlin was Berlin? ### Answer: SELECT nord FROM table_name_3 WHERE berlin = "tennis borussia berlin" AND year = 1952
Where did Japan place?
CREATE TABLE table_name_19 (place VARCHAR, country VARCHAR)
SELECT place FROM table_name_19 WHERE country = "japan"
### Context: CREATE TABLE table_name_19 (place VARCHAR, country VARCHAR) ### Question: Where did Japan place? ### Answer: SELECT place FROM table_name_19 WHERE country = "japan"
Who was the away team when the attendance was 206?
CREATE TABLE table_name_69 (away_team VARCHAR, attendance VARCHAR)
SELECT away_team FROM table_name_69 WHERE attendance = "206"
### Context: CREATE TABLE table_name_69 (away_team VARCHAR, attendance VARCHAR) ### Question: Who was the away team when the attendance was 206? ### Answer: SELECT away_team FROM table_name_69 WHERE attendance = "206"
Who was the away team when the Tie no was 34?
CREATE TABLE table_name_29 (away_team VARCHAR, tie_no VARCHAR)
SELECT away_team FROM table_name_29 WHERE tie_no = "34"
### Context: CREATE TABLE table_name_29 (away_team VARCHAR, tie_no VARCHAR) ### Question: Who was the away team when the Tie no was 34? ### Answer: SELECT away_team FROM table_name_29 WHERE tie_no = "34"
Who was the away team when the attendance was 76?
CREATE TABLE table_name_16 (away_team VARCHAR, attendance VARCHAR)
SELECT away_team FROM table_name_16 WHERE attendance = "76"
### Context: CREATE TABLE table_name_16 (away_team VARCHAR, attendance VARCHAR) ### Question: Who was the away team when the attendance was 76? ### Answer: SELECT away_team FROM table_name_16 WHERE attendance = "76"
Who was the home team when the Tie no was 7?
CREATE TABLE table_name_60 (home_team VARCHAR, tie_no VARCHAR)
SELECT home_team FROM table_name_60 WHERE tie_no = "7"
### Context: CREATE TABLE table_name_60 (home_team VARCHAR, tie_no VARCHAR) ### Question: Who was the home team when the Tie no was 7? ### Answer: SELECT home_team FROM table_name_60 WHERE tie_no = "7"
What was the Tie no when the away team was east thurrock united?
CREATE TABLE table_name_8 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_8 WHERE away_team = "east thurrock united"
### Context: CREATE TABLE table_name_8 (tie_no VARCHAR, away_team VARCHAR) ### Question: What was the Tie no when the away team was east thurrock united? ### Answer: SELECT tie_no FROM table_name_8 WHERE away_team = "east thurrock united"
WHAT IS THE AVERAGE VOTE FOR DUBLIN SOUTH, AND SPOILT SMALLER THAN 3,387?
CREATE TABLE table_name_14 (votes INTEGER, constituency VARCHAR, spoilt VARCHAR)
SELECT AVG(votes) FROM table_name_14 WHERE constituency = "dublin south" AND spoilt < 3 OFFSET 387
### Context: CREATE TABLE table_name_14 (votes INTEGER, constituency VARCHAR, spoilt VARCHAR) ### Question: WHAT IS THE AVERAGE VOTE FOR DUBLIN SOUTH, AND SPOILT SMALLER THAN 3,387? ### Answer: SELECT AVG(votes) FROM table_name_14 WHERE constituency = "dublin south" AND spoilt < 3 OFFSET 387
Where was the game played on January 23, 2008?
CREATE TABLE table_name_8 (location VARCHAR, date VARCHAR)
SELECT location FROM table_name_8 WHERE date = "january 23, 2008"
### Context: CREATE TABLE table_name_8 (location VARCHAR, date VARCHAR) ### Question: Where was the game played on January 23, 2008? ### Answer: SELECT location FROM table_name_8 WHERE date = "january 23, 2008"
Where was the Singapore Charity Shield tournament played?
CREATE TABLE table_name_8 (location VARCHAR, tournament VARCHAR)
SELECT location FROM table_name_8 WHERE tournament = "singapore charity shield"
### Context: CREATE TABLE table_name_8 (location VARCHAR, tournament VARCHAR) ### Question: Where was the Singapore Charity Shield tournament played? ### Answer: SELECT location FROM table_name_8 WHERE tournament = "singapore charity shield"
Where was the game located on January 23, 2008?
CREATE TABLE table_name_93 (location VARCHAR, date VARCHAR)
SELECT location FROM table_name_93 WHERE date = "january 23, 2008"
### Context: CREATE TABLE table_name_93 (location VARCHAR, date VARCHAR) ### Question: Where was the game located on January 23, 2008? ### Answer: SELECT location FROM table_name_93 WHERE date = "january 23, 2008"