question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
text
stringlengths
114
1.06k
Which World Rank happened in 1977?
CREATE TABLE table_name_81 (world_rank VARCHAR, year VARCHAR)
SELECT world_rank FROM table_name_81 WHERE year = 1977
### Context: CREATE TABLE table_name_81 (world_rank VARCHAR, year VARCHAR) ### Question: Which World Rank happened in 1977? ### Answer: SELECT world_rank FROM table_name_81 WHERE year = 1977
What is the rank for the episode that premiered on September 12, 1979?
CREATE TABLE table_name_41 (rank VARCHAR, premiere VARCHAR)
SELECT rank FROM table_name_41 WHERE premiere = "september 12, 1979"
### Context: CREATE TABLE table_name_41 (rank VARCHAR, premiere VARCHAR) ### Question: What is the rank for the episode that premiered on September 12, 1979? ### Answer: SELECT rank FROM table_name_41 WHERE premiere = "september 12, 1979"
What was the date of the finale for the season that premiered on September 22, 1976?
CREATE TABLE table_name_72 (finale VARCHAR, premiere VARCHAR)
SELECT finale FROM table_name_72 WHERE premiere = "september 22, 1976"
### Context: CREATE TABLE table_name_72 (finale VARCHAR, premiere VARCHAR) ### Question: What was the date of the finale for the season that premiered on September 22, 1976? ### Answer: SELECT finale FROM table_name_72 WHERE premiere = "september 22, 1976"
What is the rank for the episode that premiered on September 13, 1978?
CREATE TABLE table_name_21 (rank VARCHAR, premiere VARCHAR)
SELECT rank FROM table_name_21 WHERE premiere = "september 13, 1978"
### Context: CREATE TABLE table_name_21 (rank VARCHAR, premiere VARCHAR) ### Question: What is the rank for the episode that premiered on September 13, 1978? ### Answer: SELECT rank FROM table_name_21 WHERE premiere = "september 13, 1978"
What was the date of the finale for Season 3?
CREATE TABLE table_name_61 (finale VARCHAR, season VARCHAR)
SELECT finale FROM table_name_61 WHERE season = 3
### Context: CREATE TABLE table_name_61 (finale VARCHAR, season VARCHAR) ### Question: What was the date of the finale for Season 3? ### Answer: SELECT finale FROM table_name_61 WHERE season = 3
What was the date of the premiere that had a 20.9 rating?
CREATE TABLE table_name_38 (premiere VARCHAR, rating VARCHAR)
SELECT premiere FROM table_name_38 WHERE rating = "20.9"
### Context: CREATE TABLE table_name_38 (premiere VARCHAR, rating VARCHAR) ### Question: What was the date of the premiere that had a 20.9 rating? ### Answer: SELECT premiere FROM table_name_38 WHERE rating = "20.9"
What was Herdez Competition's total points with a grid larger than 1?
CREATE TABLE table_name_39 (points VARCHAR, team VARCHAR, grid VARCHAR)
SELECT COUNT(points) FROM table_name_39 WHERE team = "herdez competition" AND grid > 1
### Context: CREATE TABLE table_name_39 (points VARCHAR, team VARCHAR, grid VARCHAR) ### Question: What was Herdez Competition's total points with a grid larger than 1? ### Answer: SELECT COUNT(points) FROM table_name_39 WHERE team = "herdez competition" AND grid > 1
What was the highest lap count for Walker Racing with a grid larger than 15?
CREATE TABLE table_name_34 (laps INTEGER, team VARCHAR, grid VARCHAR)
SELECT MAX(laps) FROM table_name_34 WHERE team = "walker racing" AND grid > 15
### Context: CREATE TABLE table_name_34 (laps INTEGER, team VARCHAR, grid VARCHAR) ### Question: What was the highest lap count for Walker Racing with a grid larger than 15? ### Answer: SELECT MAX(laps) FROM table_name_34 WHERE team = "walker racing" AND grid > 15
Which driver had 248 laps?
CREATE TABLE table_name_9 (driver VARCHAR, laps VARCHAR)
SELECT driver FROM table_name_9 WHERE laps = 248
### Context: CREATE TABLE table_name_9 (driver VARCHAR, laps VARCHAR) ### Question: Which driver had 248 laps? ### Answer: SELECT driver FROM table_name_9 WHERE laps = 248
What driver had a time/retired of + 10 laps and more than 6 points?
CREATE TABLE table_name_80 (driver VARCHAR, time_retired VARCHAR, points VARCHAR)
SELECT driver FROM table_name_80 WHERE time_retired = "+ 10 laps" AND points > 6
### Context: CREATE TABLE table_name_80 (driver VARCHAR, time_retired VARCHAR, points VARCHAR) ### Question: What driver had a time/retired of + 10 laps and more than 6 points? ### Answer: SELECT driver FROM table_name_80 WHERE time_retired = "+ 10 laps" AND points > 6
Which Record has a Game of 61?
CREATE TABLE table_name_56 (record VARCHAR, game VARCHAR)
SELECT record FROM table_name_56 WHERE game = 61
### Context: CREATE TABLE table_name_56 (record VARCHAR, game VARCHAR) ### Question: Which Record has a Game of 61? ### Answer: SELECT record FROM table_name_56 WHERE game = 61
Which High points have a Record of 27–29?
CREATE TABLE table_name_67 (high_points VARCHAR, record VARCHAR)
SELECT high_points FROM table_name_67 WHERE record = "27–29"
### Context: CREATE TABLE table_name_67 (high_points VARCHAR, record VARCHAR) ### Question: Which High points have a Record of 27–29? ### Answer: SELECT high_points FROM table_name_67 WHERE record = "27–29"
Which High points has a Game larger than 58, and a High rebounds of francisco elson (7)?
CREATE TABLE table_name_92 (high_points VARCHAR, game VARCHAR, high_rebounds VARCHAR)
SELECT high_points FROM table_name_92 WHERE game > 58 AND high_rebounds = "francisco elson (7)"
### Context: CREATE TABLE table_name_92 (high_points VARCHAR, game VARCHAR, high_rebounds VARCHAR) ### Question: Which High points has a Game larger than 58, and a High rebounds of francisco elson (7)? ### Answer: SELECT high_points FROM table_name_92 WHERE game > 58 AND high_rebounds = "francisco elson (7)"
Which Location Attendance has a Date of february 27?
CREATE TABLE table_name_46 (location_attendance VARCHAR, date VARCHAR)
SELECT location_attendance FROM table_name_46 WHERE date = "february 27"
### Context: CREATE TABLE table_name_46 (location_attendance VARCHAR, date VARCHAR) ### Question: Which Location Attendance has a Date of february 27? ### Answer: SELECT location_attendance FROM table_name_46 WHERE date = "february 27"
Which Record has a High rebounds of luc mbah a moute (11)?
CREATE TABLE table_name_42 (record VARCHAR, high_rebounds VARCHAR)
SELECT record FROM table_name_42 WHERE high_rebounds = "luc mbah a moute (11)"
### Context: CREATE TABLE table_name_42 (record VARCHAR, high_rebounds VARCHAR) ### Question: Which Record has a High rebounds of luc mbah a moute (11)? ### Answer: SELECT record FROM table_name_42 WHERE high_rebounds = "luc mbah a moute (11)"
Which Game has a Record of 27–30?
CREATE TABLE table_name_99 (game INTEGER, record VARCHAR)
SELECT SUM(game) FROM table_name_99 WHERE record = "27–30"
### Context: CREATE TABLE table_name_99 (game INTEGER, record VARCHAR) ### Question: Which Game has a Record of 27–30? ### Answer: SELECT SUM(game) FROM table_name_99 WHERE record = "27–30"
What Tournament had a Score in Final of 5–7, 4–6?
CREATE TABLE table_name_43 (tournament VARCHAR, score_in_final VARCHAR)
SELECT tournament FROM table_name_43 WHERE score_in_final = "5–7, 4–6"
### Context: CREATE TABLE table_name_43 (tournament VARCHAR, score_in_final VARCHAR) ### Question: What Tournament had a Score in Final of 5–7, 4–6? ### Answer: SELECT tournament FROM table_name_43 WHERE score_in_final = "5–7, 4–6"
What is the Opponents in Final in the match with a Score in Final of 4–6, 1–6 played on Clay Surface?
CREATE TABLE table_name_48 (opponents_in_final VARCHAR, score_in_final VARCHAR, surface VARCHAR)
SELECT opponents_in_final FROM table_name_48 WHERE score_in_final = "4–6, 1–6" AND surface = "clay"
### Context: CREATE TABLE table_name_48 (opponents_in_final VARCHAR, score_in_final VARCHAR, surface VARCHAR) ### Question: What is the Opponents in Final in the match with a Score in Final of 4–6, 1–6 played on Clay Surface? ### Answer: SELECT opponents_in_final FROM table_name_48 WHERE score_in_final = "4–6, 1–6" AND surface = "clay"
What is the Date of the match with Partner Steffi Graf with a Score in Final of 4–6, 1–6?
CREATE TABLE table_name_26 (date VARCHAR, score_in_final VARCHAR, partner VARCHAR)
SELECT date FROM table_name_26 WHERE score_in_final = "4–6, 1–6" AND partner = "steffi graf"
### Context: CREATE TABLE table_name_26 (date VARCHAR, score_in_final VARCHAR, partner VARCHAR) ### Question: What is the Date of the match with Partner Steffi Graf with a Score in Final of 4–6, 1–6? ### Answer: SELECT date FROM table_name_26 WHERE score_in_final = "4–6, 1–6" AND partner = "steffi graf"
What is the Partner of the match with a Score in Final of 5–7, 4–6?
CREATE TABLE table_name_92 (partner VARCHAR, score_in_final VARCHAR)
SELECT partner FROM table_name_92 WHERE score_in_final = "5–7, 4–6"
### Context: CREATE TABLE table_name_92 (partner VARCHAR, score_in_final VARCHAR) ### Question: What is the Partner of the match with a Score in Final of 5–7, 4–6? ### Answer: SELECT partner FROM table_name_92 WHERE score_in_final = "5–7, 4–6"
What is 2001, when 1999 is "2R", and when 1992 is "3R"?
CREATE TABLE table_name_12 (Id VARCHAR)
SELECT 2001 FROM table_name_12 WHERE 1999 = "2r" AND 1992 = "3r"
### Context: CREATE TABLE table_name_12 (Id VARCHAR) ### Question: What is 2001, when 1999 is "2R", and when 1992 is "3R"? ### Answer: SELECT 2001 FROM table_name_12 WHERE 1999 = "2r" AND 1992 = "3r"
What is 1990, when 1997 is "1R", and when Tournament is "Hamburg"?
CREATE TABLE table_name_74 (tournament VARCHAR)
SELECT 1990 FROM table_name_74 WHERE 1997 = "1r" AND tournament = "hamburg"
### Context: CREATE TABLE table_name_74 (tournament VARCHAR) ### Question: What is 1990, when 1997 is "1R", and when Tournament is "Hamburg"? ### Answer: SELECT 1990 FROM table_name_74 WHERE 1997 = "1r" AND tournament = "hamburg"
What is 2001, when 1989 is "A", and when Tournament is "U.S. Open"?
CREATE TABLE table_name_94 (tournament VARCHAR)
SELECT 2001 FROM table_name_94 WHERE 1989 = "a" AND tournament = "u.s. open"
### Context: CREATE TABLE table_name_94 (tournament VARCHAR) ### Question: What is 2001, when 1989 is "A", and when Tournament is "U.S. Open"? ### Answer: SELECT 2001 FROM table_name_94 WHERE 1989 = "a" AND tournament = "u.s. open"
what is the goals against when the points is 43 and draws is more than 9?
CREATE TABLE table_name_29 (goals_against INTEGER, points VARCHAR, draws VARCHAR)
SELECT AVG(goals_against) FROM table_name_29 WHERE points = 43 AND draws > 9
### Context: CREATE TABLE table_name_29 (goals_against INTEGER, points VARCHAR, draws VARCHAR) ### Question: what is the goals against when the points is 43 and draws is more than 9? ### Answer: SELECT AVG(goals_against) FROM table_name_29 WHERE points = 43 AND draws > 9
what is the goals when the goal difference is more than -3, the club is real avilΓ©s cf and the goals against is more than 60?
CREATE TABLE table_name_19 (goals_for INTEGER, goals_against VARCHAR, goal_difference VARCHAR, club VARCHAR)
SELECT SUM(goals_for) FROM table_name_19 WHERE goal_difference > -3 AND club = "real avilΓ©s cf" AND goals_against > 60
### Context: CREATE TABLE table_name_19 (goals_for INTEGER, goals_against VARCHAR, goal_difference VARCHAR, club VARCHAR) ### Question: what is the goals when the goal difference is more than -3, the club is real avilΓ©s cf and the goals against is more than 60? ### Answer: SELECT SUM(goals_for) FROM table_name_19 WHERE goal_difference > -3 AND club = "real avilΓ©s cf" AND goals_against > 60
what is the least draws when the position is lower than 5, the points is 62 and played is more than 38?
CREATE TABLE table_name_98 (draws INTEGER, played VARCHAR, position VARCHAR, points VARCHAR)
SELECT MIN(draws) FROM table_name_98 WHERE position < 5 AND points = 62 AND played > 38
### Context: CREATE TABLE table_name_98 (draws INTEGER, played VARCHAR, position VARCHAR, points VARCHAR) ### Question: what is the least draws when the position is lower than 5, the points is 62 and played is more than 38? ### Answer: SELECT MIN(draws) FROM table_name_98 WHERE position < 5 AND points = 62 AND played > 38
what is the played when the wins is 21 and the positions is higher than 3?
CREATE TABLE table_name_55 (played INTEGER, wins VARCHAR, position VARCHAR)
SELECT SUM(played) FROM table_name_55 WHERE wins = 21 AND position > 3
### Context: CREATE TABLE table_name_55 (played INTEGER, wins VARCHAR, position VARCHAR) ### Question: what is the played when the wins is 21 and the positions is higher than 3? ### Answer: SELECT SUM(played) FROM table_name_55 WHERE wins = 21 AND position > 3
What is the sum of Week, when Date is December 2, 2001?
CREATE TABLE table_name_7 (week INTEGER, date VARCHAR)
SELECT SUM(week) FROM table_name_7 WHERE date = "december 2, 2001"
### Context: CREATE TABLE table_name_7 (week INTEGER, date VARCHAR) ### Question: What is the sum of Week, when Date is December 2, 2001? ### Answer: SELECT SUM(week) FROM table_name_7 WHERE date = "december 2, 2001"
What is the total number of Week, when Opponent is At Cleveland Browns?
CREATE TABLE table_name_15 (week VARCHAR, opponent VARCHAR)
SELECT COUNT(week) FROM table_name_15 WHERE opponent = "at cleveland browns"
### Context: CREATE TABLE table_name_15 (week VARCHAR, opponent VARCHAR) ### Question: What is the total number of Week, when Opponent is At Cleveland Browns? ### Answer: SELECT COUNT(week) FROM table_name_15 WHERE opponent = "at cleveland browns"
What Country's ICAO is VOTR?
CREATE TABLE table_name_36 (country VARCHAR, icao VARCHAR)
SELECT country FROM table_name_36 WHERE icao = "votr"
### Context: CREATE TABLE table_name_36 (country VARCHAR, icao VARCHAR) ### Question: What Country's ICAO is VOTR? ### Answer: SELECT country FROM table_name_36 WHERE icao = "votr"
What is the City in the Maldives?
CREATE TABLE table_name_77 (city VARCHAR, country VARCHAR)
SELECT city FROM table_name_77 WHERE country = "maldives"
### Context: CREATE TABLE table_name_77 (city VARCHAR, country VARCHAR) ### Question: What is the City in the Maldives? ### Answer: SELECT city FROM table_name_77 WHERE country = "maldives"
What is the ICAO in India with IATA TRZ?
CREATE TABLE table_name_90 (icao VARCHAR, country VARCHAR, iata VARCHAR)
SELECT icao FROM table_name_90 WHERE country = "india" AND iata = "trz"
### Context: CREATE TABLE table_name_90 (icao VARCHAR, country VARCHAR, iata VARCHAR) ### Question: What is the ICAO in India with IATA TRZ? ### Answer: SELECT icao FROM table_name_90 WHERE country = "india" AND iata = "trz"
What is the Airport in Singapore?
CREATE TABLE table_name_77 (airport VARCHAR, country VARCHAR)
SELECT airport FROM table_name_77 WHERE country = "singapore"
### Context: CREATE TABLE table_name_77 (airport VARCHAR, country VARCHAR) ### Question: What is the Airport in Singapore? ### Answer: SELECT airport FROM table_name_77 WHERE country = "singapore"
What is the Airport with an IATA of TRZ?
CREATE TABLE table_name_51 (airport VARCHAR, iata VARCHAR)
SELECT airport FROM table_name_51 WHERE iata = "trz"
### Context: CREATE TABLE table_name_51 (airport VARCHAR, iata VARCHAR) ### Question: What is the Airport with an IATA of TRZ? ### Answer: SELECT airport FROM table_name_51 WHERE iata = "trz"
What is the opponent of the game with a w 87-64 score?
CREATE TABLE table_name_88 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_88 WHERE score = "w 87-64"
### Context: CREATE TABLE table_name_88 (opponent VARCHAR, score VARCHAR) ### Question: What is the opponent of the game with a w 87-64 score? ### Answer: SELECT opponent FROM table_name_88 WHERE score = "w 87-64"
What is the location/attendance of the game with a 3-1 record?
CREATE TABLE table_name_1 (location_attendance VARCHAR, record VARCHAR)
SELECT location_attendance FROM table_name_1 WHERE record = "3-1"
### Context: CREATE TABLE table_name_1 (location_attendance VARCHAR, record VARCHAR) ### Question: What is the location/attendance of the game with a 3-1 record? ### Answer: SELECT location_attendance FROM table_name_1 WHERE record = "3-1"
Who had the highest points of the game on May 27?
CREATE TABLE table_name_26 (high_points VARCHAR, date VARCHAR)
SELECT high_points FROM table_name_26 WHERE date = "may 27"
### Context: CREATE TABLE table_name_26 (high_points VARCHAR, date VARCHAR) ### Question: Who had the highest points of the game on May 27? ### Answer: SELECT high_points FROM table_name_26 WHERE date = "may 27"
Who is the opponent on October 28, 2001?
CREATE TABLE table_name_77 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_77 WHERE date = "october 28, 2001"
### Context: CREATE TABLE table_name_77 (opponent VARCHAR, date VARCHAR) ### Question: Who is the opponent on October 28, 2001? ### Answer: SELECT opponent FROM table_name_77 WHERE date = "october 28, 2001"
What was the lowest week at Ralph Wilson Stadium on October 7, 2001?
CREATE TABLE table_name_72 (week INTEGER, game_site VARCHAR, date VARCHAR)
SELECT MIN(week) FROM table_name_72 WHERE game_site = "ralph wilson stadium" AND date = "october 7, 2001"
### Context: CREATE TABLE table_name_72 (week INTEGER, game_site VARCHAR, date VARCHAR) ### Question: What was the lowest week at Ralph Wilson Stadium on October 7, 2001? ### Answer: SELECT MIN(week) FROM table_name_72 WHERE game_site = "ralph wilson stadium" AND date = "october 7, 2001"
What is the sum of To Par, when Player is "Bob Rosburg"?
CREATE TABLE table_name_4 (to_par INTEGER, player VARCHAR)
SELECT SUM(to_par) FROM table_name_4 WHERE player = "bob rosburg"
### Context: CREATE TABLE table_name_4 (to_par INTEGER, player VARCHAR) ### Question: What is the sum of To Par, when Player is "Bob Rosburg"? ### Answer: SELECT SUM(to_par) FROM table_name_4 WHERE player = "bob rosburg"
What is the total number of To Par, when Score is "70-75-76=221"?
CREATE TABLE table_name_16 (to_par VARCHAR, score VARCHAR)
SELECT COUNT(to_par) FROM table_name_16 WHERE score = 70 - 75 - 76 = 221
### Context: CREATE TABLE table_name_16 (to_par VARCHAR, score VARCHAR) ### Question: What is the total number of To Par, when Score is "70-75-76=221"? ### Answer: SELECT COUNT(to_par) FROM table_name_16 WHERE score = 70 - 75 - 76 = 221
What is Player, when Score is "76-73-73=222"?
CREATE TABLE table_name_60 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_60 WHERE score = 76 - 73 - 73 = 222
### Context: CREATE TABLE table_name_60 (player VARCHAR, score VARCHAR) ### Question: What is Player, when Score is "76-73-73=222"? ### Answer: SELECT player FROM table_name_60 WHERE score = 76 - 73 - 73 = 222
What is Score, when To Par is greater than 7, when Place is "T4", and when Player is "Bob Rosburg"?
CREATE TABLE table_name_38 (score VARCHAR, player VARCHAR, to_par VARCHAR, place VARCHAR)
SELECT score FROM table_name_38 WHERE to_par > 7 AND place = "t4" AND player = "bob rosburg"
### Context: CREATE TABLE table_name_38 (score VARCHAR, player VARCHAR, to_par VARCHAR, place VARCHAR) ### Question: What is Score, when To Par is greater than 7, when Place is "T4", and when Player is "Bob Rosburg"? ### Answer: SELECT score FROM table_name_38 WHERE to_par > 7 AND place = "t4" AND player = "bob rosburg"
Which transfer window ends after 2006?
CREATE TABLE table_name_95 (transfer_window VARCHAR, ends INTEGER)
SELECT transfer_window FROM table_name_95 WHERE ends > 2006
### Context: CREATE TABLE table_name_95 (transfer_window VARCHAR, ends INTEGER) ### Question: Which transfer window ends after 2006? ### Answer: SELECT transfer_window FROM table_name_95 WHERE ends > 2006
What is the transfer fee for Paolo Vanoli?
CREATE TABLE table_name_86 (transfer_fee VARCHAR, name VARCHAR)
SELECT transfer_fee FROM table_name_86 WHERE name = "paolo vanoli"
### Context: CREATE TABLE table_name_86 (transfer_fee VARCHAR, name VARCHAR) ### Question: What is the transfer fee for Paolo Vanoli? ### Answer: SELECT transfer_fee FROM table_name_86 WHERE name = "paolo vanoli"
What is the nationality of Gavin Rae?
CREATE TABLE table_name_9 (nat VARCHAR, name VARCHAR)
SELECT nat FROM table_name_9 WHERE name = "gavin rae"
### Context: CREATE TABLE table_name_9 (nat VARCHAR, name VARCHAR) ### Question: What is the nationality of Gavin Rae? ### Answer: SELECT nat FROM table_name_9 WHERE name = "gavin rae"
How much Overall has a Position of ot, and a Round larger than 5?
CREATE TABLE table_name_76 (overall VARCHAR, position VARCHAR, round VARCHAR)
SELECT COUNT(overall) FROM table_name_76 WHERE position = "ot" AND round > 5
### Context: CREATE TABLE table_name_76 (overall VARCHAR, position VARCHAR, round VARCHAR) ### Question: How much Overall has a Position of ot, and a Round larger than 5? ### Answer: SELECT COUNT(overall) FROM table_name_76 WHERE position = "ot" AND round > 5
What is the to par for Bart Bryant?
CREATE TABLE table_name_9 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_9 WHERE player = "bart bryant"
### Context: CREATE TABLE table_name_9 (to_par VARCHAR, player VARCHAR) ### Question: What is the to par for Bart Bryant? ### Answer: SELECT to_par FROM table_name_9 WHERE player = "bart bryant"
Who scored 68-73-66=207 in South Africa?
CREATE TABLE table_name_70 (place VARCHAR, country VARCHAR, score VARCHAR)
SELECT place FROM table_name_70 WHERE country = "south africa" AND score = 68 - 73 - 66 = 207
### Context: CREATE TABLE table_name_70 (place VARCHAR, country VARCHAR, score VARCHAR) ### Question: Who scored 68-73-66=207 in South Africa? ### Answer: SELECT place FROM table_name_70 WHERE country = "south africa" AND score = 68 - 73 - 66 = 207
Which Royal house has a name of ding?
CREATE TABLE table_name_30 (royal_house VARCHAR, name VARCHAR)
SELECT royal_house FROM table_name_30 WHERE name = "ding"
### Context: CREATE TABLE table_name_30 (royal_house VARCHAR, name VARCHAR) ### Question: Which Royal house has a name of ding? ### Answer: SELECT royal_house FROM table_name_30 WHERE name = "ding"
What type of state is bo qin?
CREATE TABLE table_name_99 (type VARCHAR, name VARCHAR)
SELECT type FROM table_name_99 WHERE name = "bo qin"
### Context: CREATE TABLE table_name_99 (type VARCHAR, name VARCHAR) ### Question: What type of state is bo qin? ### Answer: SELECT type FROM table_name_99 WHERE name = "bo qin"
What type of state has a royal house of ji and has a ruler?
CREATE TABLE table_name_54 (type VARCHAR, royal_house VARCHAR, title VARCHAR)
SELECT type FROM table_name_54 WHERE royal_house = "ji" AND title = "ruler"
### Context: CREATE TABLE table_name_54 (type VARCHAR, royal_house VARCHAR, title VARCHAR) ### Question: What type of state has a royal house of ji and has a ruler? ### Answer: SELECT type FROM table_name_54 WHERE royal_house = "ji" AND title = "ruler"
what is the record when the game is 13?
CREATE TABLE table_name_17 (record VARCHAR, game VARCHAR)
SELECT record FROM table_name_17 WHERE game = 13
### Context: CREATE TABLE table_name_17 (record VARCHAR, game VARCHAR) ### Question: what is the record when the game is 13? ### Answer: SELECT record FROM table_name_17 WHERE game = 13
who had the high points on november 20?
CREATE TABLE table_name_61 (high_points VARCHAR, date VARCHAR)
SELECT high_points FROM table_name_61 WHERE date = "november 20"
### Context: CREATE TABLE table_name_61 (high_points VARCHAR, date VARCHAR) ### Question: who had the high points on november 20? ### Answer: SELECT high_points FROM table_name_61 WHERE date = "november 20"
What is the Score on November 23, 1946 with Washington Capitols Home team?
CREATE TABLE table_name_91 (score VARCHAR, home VARCHAR, date VARCHAR)
SELECT score FROM table_name_91 WHERE home = "washington capitols" AND date = "november 23, 1946"
### Context: CREATE TABLE table_name_91 (score VARCHAR, home VARCHAR, date VARCHAR) ### Question: What is the Score on November 23, 1946 with Washington Capitols Home team? ### Answer: SELECT score FROM table_name_91 WHERE home = "washington capitols" AND date = "november 23, 1946"
On what Date is the Detroit Falcons the Home team in a game with a Score of 63–66?
CREATE TABLE table_name_71 (date VARCHAR, home VARCHAR, score VARCHAR)
SELECT date FROM table_name_71 WHERE home = "detroit falcons" AND score = "63–66"
### Context: CREATE TABLE table_name_71 (date VARCHAR, home VARCHAR, score VARCHAR) ### Question: On what Date is the Detroit Falcons the Home team in a game with a Score of 63–66? ### Answer: SELECT date FROM table_name_71 WHERE home = "detroit falcons" AND score = "63–66"
What is the Home team on January 24, 1947?
CREATE TABLE table_name_62 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_62 WHERE date = "january 24, 1947"
### Context: CREATE TABLE table_name_62 (home VARCHAR, date VARCHAR) ### Question: What is the Home team on January 24, 1947? ### Answer: SELECT home FROM table_name_62 WHERE date = "january 24, 1947"
What is the Home team on November 16, 1946?
CREATE TABLE table_name_38 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_38 WHERE date = "november 16, 1946"
### Context: CREATE TABLE table_name_38 (home VARCHAR, date VARCHAR) ### Question: What is the Home team on November 16, 1946? ### Answer: SELECT home FROM table_name_38 WHERE date = "november 16, 1946"
What is the Home team on February 2, 1947?
CREATE TABLE table_name_68 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_68 WHERE date = "february 2, 1947"
### Context: CREATE TABLE table_name_68 (home VARCHAR, date VARCHAR) ### Question: What is the Home team on February 2, 1947? ### Answer: SELECT home FROM table_name_68 WHERE date = "february 2, 1947"
Which Laps have a Time of +23.002, and a Grid smaller than 11?
CREATE TABLE table_name_5 (laps INTEGER, time VARCHAR, grid VARCHAR)
SELECT AVG(laps) FROM table_name_5 WHERE time = "+23.002" AND grid < 11
### Context: CREATE TABLE table_name_5 (laps INTEGER, time VARCHAR, grid VARCHAR) ### Question: Which Laps have a Time of +23.002, and a Grid smaller than 11? ### Answer: SELECT AVG(laps) FROM table_name_5 WHERE time = "+23.002" AND grid < 11
Which Laps have a Manufacturer of aprilia, and a Rider of sergio gadea?
CREATE TABLE table_name_48 (laps VARCHAR, manufacturer VARCHAR, rider VARCHAR)
SELECT laps FROM table_name_48 WHERE manufacturer = "aprilia" AND rider = "sergio gadea"
### Context: CREATE TABLE table_name_48 (laps VARCHAR, manufacturer VARCHAR, rider VARCHAR) ### Question: Which Laps have a Manufacturer of aprilia, and a Rider of sergio gadea? ### Answer: SELECT laps FROM table_name_48 WHERE manufacturer = "aprilia" AND rider = "sergio gadea"
Which Grid that has a Rider of mike di meglio, and Laps larger than 23?
CREATE TABLE table_name_23 (grid INTEGER, rider VARCHAR, laps VARCHAR)
SELECT AVG(grid) FROM table_name_23 WHERE rider = "mike di meglio" AND laps > 23
### Context: CREATE TABLE table_name_23 (grid INTEGER, rider VARCHAR, laps VARCHAR) ### Question: Which Grid that has a Rider of mike di meglio, and Laps larger than 23? ### Answer: SELECT AVG(grid) FROM table_name_23 WHERE rider = "mike di meglio" AND laps > 23
Which Manufacturer has a Grid smaller than 9, and a Time of +22.517?
CREATE TABLE table_name_47 (manufacturer VARCHAR, grid VARCHAR, time VARCHAR)
SELECT manufacturer FROM table_name_47 WHERE grid < 9 AND time = "+22.517"
### Context: CREATE TABLE table_name_47 (manufacturer VARCHAR, grid VARCHAR, time VARCHAR) ### Question: Which Manufacturer has a Grid smaller than 9, and a Time of +22.517? ### Answer: SELECT manufacturer FROM table_name_47 WHERE grid < 9 AND time = "+22.517"
What is Result, when Round is SF?
CREATE TABLE table_name_57 (result VARCHAR, round VARCHAR)
SELECT result FROM table_name_57 WHERE round = "sf"
### Context: CREATE TABLE table_name_57 (result VARCHAR, round VARCHAR) ### Question: What is Result, when Round is SF? ### Answer: SELECT result FROM table_name_57 WHERE round = "sf"
What is Result, when Date is 11 August 1992?
CREATE TABLE table_name_26 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_26 WHERE date = "11 august 1992"
### Context: CREATE TABLE table_name_26 (result VARCHAR, date VARCHAR) ### Question: What is Result, when Date is 11 August 1992? ### Answer: SELECT result FROM table_name_26 WHERE date = "11 august 1992"
What is Result, when Date is 19 August 1992?
CREATE TABLE table_name_40 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_40 WHERE date = "19 august 1992"
### Context: CREATE TABLE table_name_40 (result VARCHAR, date VARCHAR) ### Question: What is Result, when Date is 19 August 1992? ### Answer: SELECT result FROM table_name_40 WHERE date = "19 august 1992"
Did he win or lose rof 32: respect?
CREATE TABLE table_name_47 (res VARCHAR, event VARCHAR)
SELECT res FROM table_name_47 WHERE event = "rof 32: respect"
### Context: CREATE TABLE table_name_47 (res VARCHAR, event VARCHAR) ### Question: Did he win or lose rof 32: respect? ### Answer: SELECT res FROM table_name_47 WHERE event = "rof 32: respect"
What round did he win rof 29: aftershock in?
CREATE TABLE table_name_3 (round VARCHAR, res VARCHAR, event VARCHAR)
SELECT round FROM table_name_3 WHERE res = "win" AND event = "rof 29: aftershock"
### Context: CREATE TABLE table_name_3 (round VARCHAR, res VARCHAR, event VARCHAR) ### Question: What round did he win rof 29: aftershock in? ### Answer: SELECT round FROM table_name_3 WHERE res = "win" AND event = "rof 29: aftershock"
How many rounds did the match last when his record was 6-6?
CREATE TABLE table_name_72 (round VARCHAR, record VARCHAR)
SELECT round FROM table_name_72 WHERE record = "6-6"
### Context: CREATE TABLE table_name_72 (round VARCHAR, record VARCHAR) ### Question: How many rounds did the match last when his record was 6-6? ### Answer: SELECT round FROM table_name_72 WHERE record = "6-6"
How did the match end when his record was 15-11?
CREATE TABLE table_name_37 (method VARCHAR, record VARCHAR)
SELECT method FROM table_name_37 WHERE record = "15-11"
### Context: CREATE TABLE table_name_37 (method VARCHAR, record VARCHAR) ### Question: How did the match end when his record was 15-11? ### Answer: SELECT method FROM table_name_37 WHERE record = "15-11"
How many laps did ben spies do on the grid less than 7?
CREATE TABLE table_name_86 (laps VARCHAR, grid VARCHAR, rider VARCHAR)
SELECT COUNT(laps) FROM table_name_86 WHERE grid < 7 AND rider = "ben spies"
### Context: CREATE TABLE table_name_86 (laps VARCHAR, grid VARCHAR, rider VARCHAR) ### Question: How many laps did ben spies do on the grid less than 7? ### Answer: SELECT COUNT(laps) FROM table_name_86 WHERE grid < 7 AND rider = "ben spies"
which grid did less than 20 laps in a time of +58.353?
CREATE TABLE table_name_82 (grid INTEGER, time VARCHAR, laps VARCHAR)
SELECT MIN(grid) FROM table_name_82 WHERE time = "+58.353" AND laps < 20
### Context: CREATE TABLE table_name_82 (grid INTEGER, time VARCHAR, laps VARCHAR) ### Question: which grid did less than 20 laps in a time of +58.353? ### Answer: SELECT MIN(grid) FROM table_name_82 WHERE time = "+58.353" AND laps < 20
what was valentino rossi's rider time?
CREATE TABLE table_name_97 (time VARCHAR, rider VARCHAR)
SELECT time FROM table_name_97 WHERE rider = "valentino rossi"
### Context: CREATE TABLE table_name_97 (time VARCHAR, rider VARCHAR) ### Question: what was valentino rossi's rider time? ### Answer: SELECT time FROM table_name_97 WHERE rider = "valentino rossi"
Who manufactures Makoto Tamada's vehicle?
CREATE TABLE table_name_68 (manufacturer VARCHAR, rider VARCHAR)
SELECT manufacturer FROM table_name_68 WHERE rider = "makoto tamada"
### Context: CREATE TABLE table_name_68 (manufacturer VARCHAR, rider VARCHAR) ### Question: Who manufactures Makoto Tamada's vehicle? ### Answer: SELECT manufacturer FROM table_name_68 WHERE rider = "makoto tamada"
What is the time/retired of the one with grid of 16?
CREATE TABLE table_name_60 (time_retired VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_60 WHERE grid = 16
### Context: CREATE TABLE table_name_60 (time_retired VARCHAR, grid VARCHAR) ### Question: What is the time/retired of the one with grid of 16? ### Answer: SELECT time_retired FROM table_name_60 WHERE grid = 16
What team did gonzalo arconada manage?
CREATE TABLE table_name_90 (team VARCHAR, outgoing_manager VARCHAR)
SELECT team FROM table_name_90 WHERE outgoing_manager = "gonzalo arconada"
### Context: CREATE TABLE table_name_90 (team VARCHAR, outgoing_manager VARCHAR) ### Question: What team did gonzalo arconada manage? ### Answer: SELECT team FROM table_name_90 WHERE outgoing_manager = "gonzalo arconada"
What team replaced their manager on 9 December 2008?
CREATE TABLE table_name_77 (team VARCHAR, date_of_vacancy VARCHAR)
SELECT team FROM table_name_77 WHERE date_of_vacancy = "9 december 2008"
### Context: CREATE TABLE table_name_77 (team VARCHAR, date_of_vacancy VARCHAR) ### Question: What team replaced their manager on 9 December 2008? ### Answer: SELECT team FROM table_name_77 WHERE date_of_vacancy = "9 december 2008"
What was the date of appointment for paco chaparro's replacement?
CREATE TABLE table_name_12 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
SELECT date_of_appointment FROM table_name_12 WHERE outgoing_manager = "paco chaparro"
### Context: CREATE TABLE table_name_12 (date_of_appointment VARCHAR, outgoing_manager VARCHAR) ### Question: What was the date of appointment for paco chaparro's replacement? ### Answer: SELECT date_of_appointment FROM table_name_12 WHERE outgoing_manager = "paco chaparro"
What was the date of appointment for javier aguirre's replacement?
CREATE TABLE table_name_53 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
SELECT date_of_appointment FROM table_name_53 WHERE outgoing_manager = "javier aguirre"
### Context: CREATE TABLE table_name_53 (date_of_appointment VARCHAR, outgoing_manager VARCHAR) ### Question: What was the date of appointment for javier aguirre's replacement? ### Answer: SELECT date_of_appointment FROM table_name_53 WHERE outgoing_manager = "javier aguirre"
What date did Namigata play against Wen-Hsin Hsu in the finals?
CREATE TABLE table_name_84 (date VARCHAR, opponent_in_the_final VARCHAR)
SELECT date FROM table_name_84 WHERE opponent_in_the_final = "wen-hsin hsu"
### Context: CREATE TABLE table_name_84 (date VARCHAR, opponent_in_the_final VARCHAR) ### Question: What date did Namigata play against Wen-Hsin Hsu in the finals? ### Answer: SELECT date FROM table_name_84 WHERE opponent_in_the_final = "wen-hsin hsu"
What was the result during the week # of top 8?
CREATE TABLE table_name_26 (result VARCHAR, week__number VARCHAR)
SELECT result FROM table_name_26 WHERE week__number = "top 8"
### Context: CREATE TABLE table_name_26 (result VARCHAR, week__number VARCHAR) ### Question: What was the result during the week # of top 8? ### Answer: SELECT result FROM table_name_26 WHERE week__number = "top 8"
What was the theme during the week # of top 24 (12 men)
CREATE TABLE table_name_73 (theme VARCHAR, week__number VARCHAR)
SELECT theme FROM table_name_73 WHERE week__number = "top 24 (12 men)"
### Context: CREATE TABLE table_name_73 (theme VARCHAR, week__number VARCHAR) ### Question: What was the theme during the week # of top 24 (12 men) ### Answer: SELECT theme FROM table_name_73 WHERE week__number = "top 24 (12 men)"
What was the result after the week # top 11?
CREATE TABLE table_name_84 (result VARCHAR, week__number VARCHAR)
SELECT result FROM table_name_84 WHERE week__number = "top 11"
### Context: CREATE TABLE table_name_84 (result VARCHAR, week__number VARCHAR) ### Question: What was the result after the week # top 11? ### Answer: SELECT result FROM table_name_84 WHERE week__number = "top 11"
What is the league of player ian schultz?
CREATE TABLE table_name_7 (league VARCHAR, player VARCHAR)
SELECT league FROM table_name_7 WHERE player = "ian schultz"
### Context: CREATE TABLE table_name_7 (league VARCHAR, player VARCHAR) ### Question: What is the league of player ian schultz? ### Answer: SELECT league FROM table_name_7 WHERE player = "ian schultz"
What is the birthplace and date of pick 4?
CREATE TABLE table_name_47 (birthplace VARCHAR, _date VARCHAR, pick VARCHAR)
SELECT birthplace, _date FROM table_name_47 WHERE pick = 4
### Context: CREATE TABLE table_name_47 (birthplace VARCHAR, _date VARCHAR, pick VARCHAR) ### Question: What is the birthplace and date of pick 4? ### Answer: SELECT birthplace, _date FROM table_name_47 WHERE pick = 4
What is the pick of player ian schultz from Canada?
CREATE TABLE table_name_8 (pick VARCHAR, nationality VARCHAR, player VARCHAR)
SELECT pick FROM table_name_8 WHERE nationality = "canada" AND player = "ian schultz"
### Context: CREATE TABLE table_name_8 (pick VARCHAR, nationality VARCHAR, player VARCHAR) ### Question: What is the pick of player ian schultz from Canada? ### Answer: SELECT pick FROM table_name_8 WHERE nationality = "canada" AND player = "ian schultz"
Who is the Opponent on January 7?
CREATE TABLE table_name_21 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_21 WHERE date = "january 7"
### Context: CREATE TABLE table_name_21 (opponent VARCHAR, date VARCHAR) ### Question: Who is the Opponent on January 7? ### Answer: SELECT opponent FROM table_name_21 WHERE date = "january 7"
Who is the Opponent on January 16?
CREATE TABLE table_name_45 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_45 WHERE date = "january 16"
### Context: CREATE TABLE table_name_45 (opponent VARCHAR, date VARCHAR) ### Question: Who is the Opponent on January 16? ### Answer: SELECT opponent FROM table_name_45 WHERE date = "january 16"
What is the Score of the game against Philadelphia 76ers?
CREATE TABLE table_name_2 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_2 WHERE opponent = "philadelphia 76ers"
### Context: CREATE TABLE table_name_2 (score VARCHAR, opponent VARCHAR) ### Question: What is the Score of the game against Philadelphia 76ers? ### Answer: SELECT score FROM table_name_2 WHERE opponent = "philadelphia 76ers"
What is the Date of the game where the Cavaliers have a Record of 15-27?
CREATE TABLE table_name_57 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_57 WHERE record = "15-27"
### Context: CREATE TABLE table_name_57 (date VARCHAR, record VARCHAR) ### Question: What is the Date of the game where the Cavaliers have a Record of 15-27? ### Answer: SELECT date FROM table_name_57 WHERE record = "15-27"
What was the Opponent in the game with a Score of 102-125?
CREATE TABLE table_name_82 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_82 WHERE score = "102-125"
### Context: CREATE TABLE table_name_82 (opponent VARCHAR, score VARCHAR) ### Question: What was the Opponent in the game with a Score of 102-125? ### Answer: SELECT opponent FROM table_name_82 WHERE score = "102-125"
What is the Cavaliers Record in the game with a Score of 98-99?
CREATE TABLE table_name_59 (record VARCHAR, score VARCHAR)
SELECT record FROM table_name_59 WHERE score = "98-99"
### Context: CREATE TABLE table_name_59 (record VARCHAR, score VARCHAR) ### Question: What is the Cavaliers Record in the game with a Score of 98-99? ### Answer: SELECT record FROM table_name_59 WHERE score = "98-99"
What player has a no pick position in 1976?
CREATE TABLE table_name_33 (player VARCHAR, position VARCHAR, year VARCHAR)
SELECT player FROM table_name_33 WHERE position = "no pick" AND year = 1976
### Context: CREATE TABLE table_name_33 (player VARCHAR, position VARCHAR, year VARCHAR) ### Question: What player has a no pick position in 1976? ### Answer: SELECT player FROM table_name_33 WHERE position = "no pick" AND year = 1976
What pick number was the player that went to baylor college?
CREATE TABLE table_name_55 (pick VARCHAR, college VARCHAR)
SELECT pick FROM table_name_55 WHERE college = "baylor"
### Context: CREATE TABLE table_name_55 (pick VARCHAR, college VARCHAR) ### Question: What pick number was the player that went to baylor college? ### Answer: SELECT pick FROM table_name_55 WHERE college = "baylor"
What year was the player pick number 15 picked?
CREATE TABLE table_name_23 (year VARCHAR, pick VARCHAR)
SELECT year FROM table_name_23 WHERE pick = "15"
### Context: CREATE TABLE table_name_23 (year VARCHAR, pick VARCHAR) ### Question: What year was the player pick number 15 picked? ### Answer: SELECT year FROM table_name_23 WHERE pick = "15"
What was the record on september 2?
CREATE TABLE table_name_6 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_6 WHERE date = "september 2"
### Context: CREATE TABLE table_name_6 (record VARCHAR, date VARCHAR) ### Question: What was the record on september 2? ### Answer: SELECT record FROM table_name_6 WHERE date = "september 2"
What were phoenix's high points?
CREATE TABLE table_name_83 (high_points VARCHAR, opponent VARCHAR)
SELECT high_points FROM table_name_83 WHERE opponent = "phoenix"
### Context: CREATE TABLE table_name_83 (high_points VARCHAR, opponent VARCHAR) ### Question: What were phoenix's high points? ### Answer: SELECT high_points FROM table_name_83 WHERE opponent = "phoenix"
When was the record 17-17?
CREATE TABLE table_name_31 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_31 WHERE record = "17-17"
### Context: CREATE TABLE table_name_31 (date VARCHAR, record VARCHAR) ### Question: When was the record 17-17? ### Answer: SELECT date FROM table_name_31 WHERE record = "17-17"
What were the high points on september 9?
CREATE TABLE table_name_16 (high_points VARCHAR, date VARCHAR)
SELECT high_points FROM table_name_16 WHERE date = "september 9"
### Context: CREATE TABLE table_name_16 (high_points VARCHAR, date VARCHAR) ### Question: What were the high points on september 9? ### Answer: SELECT high_points FROM table_name_16 WHERE date = "september 9"
How many games had a record of 16-17?
CREATE TABLE table_name_83 (game VARCHAR, record VARCHAR)
SELECT COUNT(game) FROM table_name_83 WHERE record = "16-17"
### Context: CREATE TABLE table_name_83 (game VARCHAR, record VARCHAR) ### Question: How many games had a record of 16-17? ### Answer: SELECT COUNT(game) FROM table_name_83 WHERE record = "16-17"