answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT loss FROM table_name_30 WHERE date = "april 26"
CREATE TABLE table_name_30 (loss VARCHAR, date VARCHAR)
Which loss has a Date of april 26?
SELECT date FROM table_name_95 WHERE opponent = "angels" AND loss = "sanderson (0–1)"
CREATE TABLE table_name_95 (date VARCHAR, opponent VARCHAR, loss VARCHAR)
Which date has an Opponent of angels, and a Loss of sanderson (0–1)?
SELECT MAX(attendance) FROM table_name_35 WHERE loss = "darling (0–1)"
CREATE TABLE table_name_35 (attendance INTEGER, loss VARCHAR)
What is the largest Attendance with a Loss of darling (0–1)?
SELECT maximum_seating_capacity FROM table_name_91 WHERE arena_venue = "san agustin gym"
CREATE TABLE table_name_91 (maximum_seating_capacity VARCHAR, arena_venue VARCHAR)
What is the maximum capacity of the San Agustin Gym?
SELECT province_region FROM table_name_98 WHERE location = "cagayan de oro city"
CREATE TABLE table_name_98 (province_region VARCHAR, location VARCHAR)
Where is the Cagayan de Oro city located?
SELECT province_region FROM table_name_42 WHERE home_campus = "holy cross of davao college"
CREATE TABLE table_name_42 (province_region VARCHAR, home_campus VARCHAR)
Where is the Holy Cross of Davao College campus located?
SELECT home_campus FROM table_name_2 WHERE arena_venue = "san agustin gym"
CREATE TABLE table_name_2 (home_campus VARCHAR, arena_venue VARCHAR)
Which campus has the San Agustin gym?
SELECT year_opened FROM table_name_44 WHERE arena_venue = "san agustin gym"
CREATE TABLE table_name_44 (year_opened VARCHAR, arena_venue VARCHAR)
What year did the San Agustin gym open?
SELECT player FROM table_name_10 WHERE total > 285 AND to_par = "+14"
CREATE TABLE table_name_10 (player VARCHAR, total VARCHAR, to_par VARCHAR)
Which player has a total bigger than 285 and a to par of +14?
SELECT MAX(total) FROM table_name_61 WHERE finish = "t12"
CREATE TABLE table_name_61 (total INTEGER, finish VARCHAR)
What is the highest total with a t12 finish?
SELECT country FROM table_name_98 WHERE finish = "t4"
CREATE TABLE table_name_98 (country VARCHAR, finish VARCHAR)
Which country has a finish of t4?
SELECT year_s__won FROM table_name_71 WHERE total < 281
CREATE TABLE table_name_71 (year_s__won VARCHAR, total INTEGER)
What year won has a total less than 281?
SELECT chassis FROM table_name_96 WHERE rank = "24th"
CREATE TABLE table_name_96 (chassis VARCHAR, rank VARCHAR)
Which chassis is ranked 24th?
SELECT chassis FROM table_name_94 WHERE year = 1993
CREATE TABLE table_name_94 (chassis VARCHAR, year VARCHAR)
Which chassis was made in 1993?
SELECT team FROM table_name_53 WHERE year < 1994
CREATE TABLE table_name_53 (team VARCHAR, year INTEGER)
Which team is from earlier than 1994?
SELECT rank FROM table_name_4 WHERE year > 1994
CREATE TABLE table_name_4 (rank VARCHAR, year INTEGER)
What rank is later than 1994?
SELECT AVG(year) FROM table_name_66 WHERE team = "king" AND points < 10
CREATE TABLE table_name_66 (year INTEGER, team VARCHAR, points VARCHAR)
What year did the King team have fewer than 10 points?
SELECT AVG(points) FROM table_name_42 WHERE engine = "ford xb" AND team = "project indy"
CREATE TABLE table_name_42 (points INTEGER, engine VARCHAR, team VARCHAR)
What are the average points for the Project Indy team that has the Ford xb engine?
SELECT became_consort FROM table_name_92 WHERE marriage = "4 april 1721"
CREATE TABLE table_name_92 (became_consort VARCHAR, marriage VARCHAR)
Name the became consort for marriage of 4 april 1721
SELECT birth FROM table_name_55 WHERE spouse = "frederick iv" AND became_consort = "4 april 1721"
CREATE TABLE table_name_55 (birth VARCHAR, spouse VARCHAR, became_consort VARCHAR)
Name the birth of the person that has a spouse of frederick iv and became consort of 4 april 1721
SELECT became_consort FROM table_name_14 WHERE ceased_to_be_consort = "4 april 1588 husband's death"
CREATE TABLE table_name_14 (became_consort VARCHAR, ceased_to_be_consort VARCHAR)
Name the became consort for ceased to be consort of 4 april 1588 husband's death
SELECT marriage FROM table_name_74 WHERE spouse = "christian viii"
CREATE TABLE table_name_74 (marriage VARCHAR, spouse VARCHAR)
Name the marriage of the person who is married for christian viii
SELECT team FROM table_name_11 WHERE points = 48 AND class = "500 cc"
CREATE TABLE table_name_11 (team VARCHAR, points VARCHAR, class VARCHAR)
Who has 48 points in the class of 500 cc?
SELECT COUNT(wins) FROM table_name_43 WHERE team = "benelli" AND year < 1962
CREATE TABLE table_name_43 (wins VARCHAR, team VARCHAR, year VARCHAR)
How many wins does Benelli have before 1962?
SELECT natural_wood_keyboard FROM table_name_18 WHERE model = "clps306"
CREATE TABLE table_name_18 (natural_wood_keyboard VARCHAR, model VARCHAR)
Which is Natural Wood Keyboard with a Model of clps306?
SELECT graded_hammer__non_gh3_ FROM table_name_44 WHERE model = "cvp501"
CREATE TABLE table_name_44 (graded_hammer__non_gh3_ VARCHAR, model VARCHAR)
Which Graded Hammer (Non GH3) has a Model of cvp501?
SELECT natural_wood_keyboard FROM table_name_21 WHERE model = "clp380"
CREATE TABLE table_name_21 (natural_wood_keyboard VARCHAR, model VARCHAR)
Which Natural Wood Keyboard has a CLP380 ?
SELECT graded_hammer_three__gh3_ FROM table_name_20 WHERE model = "clp320"
CREATE TABLE table_name_20 (graded_hammer_three__gh3_ VARCHAR, model VARCHAR)
Which Graded Hammer Three (GH3) shows Model of clp320?
SELECT date FROM table_name_19 WHERE name = "french grand prix"
CREATE TABLE table_name_19 (date VARCHAR, name VARCHAR)
What was the date for the French Grand Prix?
SELECT name FROM table_name_31 WHERE circuit = "miramas"
CREATE TABLE table_name_31 (name VARCHAR, circuit VARCHAR)
What was the name for the race in the Miramas circuit?
SELECT circuit FROM table_name_44 WHERE winning_constructor = "delage"
CREATE TABLE table_name_44 (circuit VARCHAR, winning_constructor VARCHAR)
Which circuit was Delage the winning constructor for?
SELECT name FROM table_name_51 WHERE winning_constructor = "bugatti" AND circuit = "monza"
CREATE TABLE table_name_51 (name VARCHAR, winning_constructor VARCHAR, circuit VARCHAR)
What is the name for the Monza circuit race were Bugatti was the winning constructor?
SELECT report FROM table_name_79 WHERE winning_drivers = "frank lockhart"
CREATE TABLE table_name_79 (report VARCHAR, winning_drivers VARCHAR)
Which report shows that Frank Lockhart was a winning driver?
SELECT ranking FROM table_name_25 WHERE gold < 20 AND event = "1976 toronto"
CREATE TABLE table_name_25 (ranking VARCHAR, gold VARCHAR, event VARCHAR)
What Ranking has Gold less than 20 and the Event 1976 Toronto?
SELECT gold FROM table_name_40 WHERE silver > 30 AND total < 107
CREATE TABLE table_name_40 (gold VARCHAR, silver VARCHAR, total VARCHAR)
What Gold has a Silver greater than 30 and a Total less than 107?
SELECT MAX(bronze) FROM table_name_27 WHERE event = "1972 heidelberg" AND total < 5
CREATE TABLE table_name_27 (bronze INTEGER, event VARCHAR, total VARCHAR)
What is the highest Bronze with the Event 1972 Heidelberg and Total less than 5?
SELECT SUM(total) FROM table_name_21 WHERE event = "2004 athens" AND gold < 20
CREATE TABLE table_name_21 (total INTEGER, event VARCHAR, gold VARCHAR)
What is the Total with the Event 2004 Athens and Gold less than 20?
SELECT MIN(bronze) FROM table_name_2 WHERE ranking = "22nd of 32" AND gold > 4
CREATE TABLE table_name_2 (bronze INTEGER, ranking VARCHAR, gold VARCHAR)
What is the lowest Bronze with a Ranking of 22nd of 32 and Gold larger than 4?
SELECT polling_firm FROM table_name_91 WHERE t_papadopoulos = "31%"
CREATE TABLE table_name_91 (polling_firm VARCHAR, t_papadopoulos VARCHAR)
Which polling firm put T. Papadopoulos at 31%?
SELECT t_papadopoulos FROM table_name_85 WHERE i_kasoulidis = "27.1%"
CREATE TABLE table_name_85 (t_papadopoulos VARCHAR, i_kasoulidis VARCHAR)
What was the percentage for T. Papadopoulos when I. Kasoulidis was 27.1%?
SELECT k_themistokleous FROM table_name_65 WHERE i_kasoulidis = "30.1%"
CREATE TABLE table_name_65 (k_themistokleous VARCHAR, i_kasoulidis VARCHAR)
What was the percentage for K. Themistokleous when I. Kasoulidis was 30.1%?
SELECT t_papadopoulos FROM table_name_48 WHERE d_christofias = "28.4%"
CREATE TABLE table_name_48 (t_papadopoulos VARCHAR, d_christofias VARCHAR)
What was the percentage for T. Papadopoulos when D. Christofias was 28.4%?
SELECT tournament FROM table_name_93 WHERE 2007 = "2r" AND 2011 = "2r"
CREATE TABLE table_name_93 (tournament VARCHAR)
Which tournament has a 2007 of 2r, and a 2011 of 2r?
SELECT SUM(titles) FROM table_name_47 WHERE city = "gyΕ‘r" AND rank > 4
CREATE TABLE table_name_47 (titles INTEGER, city VARCHAR, rank VARCHAR)
What is the number of titles for the city of gyΕ‘r with a rank larger than 4?
SELECT score FROM table_name_99 WHERE home = "toronto maple leafs" AND date = "february 1"
CREATE TABLE table_name_99 (score VARCHAR, home VARCHAR, date VARCHAR)
What is the Score of the Toronto Maple Leafs home game on February 1?
SELECT score FROM table_name_92 WHERE visitor = "boston bruins" AND date = "march 13"
CREATE TABLE table_name_92 (score VARCHAR, visitor VARCHAR, date VARCHAR)
What is the score of the Boston Bruins away game on March 13?
SELECT visitor FROM table_name_93 WHERE record = "9–5–2"
CREATE TABLE table_name_93 (visitor VARCHAR, record VARCHAR)
What visiting team has a record of 9–5–2?
SELECT score FROM table_name_98 WHERE record = "12–8–3"
CREATE TABLE table_name_98 (score VARCHAR, record VARCHAR)
What is the score of the game with a record of 12–8–3?
SELECT date FROM table_name_77 WHERE home = "montreal canadiens" AND record = "14–11–3"
CREATE TABLE table_name_77 (date VARCHAR, home VARCHAR, record VARCHAR)
What is the date that the Montreal Canadiens hosted a game with a record of 14–11–3?
SELECT country FROM table_name_65 WHERE player = "craig stadler"
CREATE TABLE table_name_65 (country VARCHAR, player VARCHAR)
What is the country of Craig Stadler?
SELECT AVG(total) FROM table_name_49 WHERE country = "united states" AND to_par = 9 AND player = "gay brewer"
CREATE TABLE table_name_49 (total INTEGER, player VARCHAR, country VARCHAR, to_par VARCHAR)
What is the average total of Gay Brewer from the United States with a to par of 9?
SELECT finish FROM table_name_36 WHERE country = "west germany"
CREATE TABLE table_name_36 (finish VARCHAR, country VARCHAR)
What was the finish by the player from West Germany?
SELECT MIN(goal) FROM table_name_45 WHERE competition = "2006 fifa world cup qualification"
CREATE TABLE table_name_45 (goal INTEGER, competition VARCHAR)
What is the smallest goal during the 2006 fifa world cup qualification competition?
SELECT representative FROM table_name_76 WHERE party = "whig"
CREATE TABLE table_name_76 (representative VARCHAR, party VARCHAR)
Name the representative for party of whig
SELECT COUNT(year) FROM table_name_85 WHERE chassis = "maserati 250f" AND points < 0
CREATE TABLE table_name_85 (year VARCHAR, chassis VARCHAR, points VARCHAR)
Name the total number of years for chassis of maserati 250f and points less than 0
SELECT engine FROM table_name_8 WHERE chassis = "maserati 250f" AND entrant = "luigi piotti" AND year < 1957
CREATE TABLE table_name_8 (engine VARCHAR, year VARCHAR, chassis VARCHAR, entrant VARCHAR)
Name the engine with chassis of maserati 250f and entrant of luigi piotti with year less than 1957
SELECT SUM(points) FROM table_name_80 WHERE chassis = "maserati 250f" AND entrant = "officine alfieri maserati"
CREATE TABLE table_name_80 (points INTEGER, chassis VARCHAR, entrant VARCHAR)
Name the sum of points for chassis of maserati 250f and entrant of officine alfieri maserati
SELECT MIN(points) FROM table_name_7 WHERE entrant = "officine alfieri maserati"
CREATE TABLE table_name_7 (points INTEGER, entrant VARCHAR)
Name the lowest points for officine alfieri maserati
SELECT height FROM table_name_36 WHERE players = "ye fei"
CREATE TABLE table_name_36 (height VARCHAR, players VARCHAR)
How tall is Ye Fei?
SELECT SUM(attendance) FROM table_name_1 WHERE date = "july 26"
CREATE TABLE table_name_1 (attendance INTEGER, date VARCHAR)
What is the attendance of the game on July 26?
SELECT COUNT(year) FROM table_name_21 WHERE venue = "antwerp, belgium" AND result = "2nd"
CREATE TABLE table_name_21 (year VARCHAR, venue VARCHAR, result VARCHAR)
How many years did the team place 2nd in Antwerp, Belgium?
SELECT venue FROM table_name_23 WHERE year < 1991
CREATE TABLE table_name_23 (venue VARCHAR, year INTEGER)
What is the name of the venue that was used before 1991?
SELECT COUNT(year) FROM table_name_30 WHERE result = "2nd" AND venue = "auckland, new zealand"
CREATE TABLE table_name_30 (year VARCHAR, result VARCHAR, venue VARCHAR)
How many years did the team place 2nd in Auckland, New Zealand?
SELECT started_round FROM table_name_57 WHERE last_match = "january 16, 2008"
CREATE TABLE table_name_57 (started_round VARCHAR, last_match VARCHAR)
What was the started round for the competition that had the last match on January 16, 2008?
SELECT first_match FROM table_name_81 WHERE last_match = "december 16, 2007"
CREATE TABLE table_name_81 (first_match VARCHAR, last_match VARCHAR)
On what date was the first match for the competition that ended its last match on December 16, 2007?
SELECT competition FROM table_name_66 WHERE final_position = "winners" AND final_round = "finals"
CREATE TABLE table_name_66 (competition VARCHAR, final_position VARCHAR, final_round VARCHAR)
What competition had a final round in the finals and the final position winners?
SELECT first_match FROM table_name_35 WHERE final_position = "winners" AND final_round = "finals"
CREATE TABLE table_name_35 (first_match VARCHAR, final_position VARCHAR, final_round VARCHAR)
On what date did the first match occur for the competition that ended with a final position of winners and the final round in the finals?
SELECT competition FROM table_name_15 WHERE first_match = "december 20, 2007"
CREATE TABLE table_name_15 (competition VARCHAR, first_match VARCHAR)
What competition had its first match on December 20, 2007?
SELECT first_match FROM table_name_6 WHERE final_position = "winners" AND competition = "fifa club world cup"
CREATE TABLE table_name_6 (first_match VARCHAR, final_position VARCHAR, competition VARCHAR)
What was the date of the first match of the Fifa Club World Cup that ended with the final position as winners?
SELECT COUNT(laps) FROM table_name_49 WHERE qual = "142.653"
CREATE TABLE table_name_49 (laps VARCHAR, qual VARCHAR)
What was Len Sutton's total number of completed laps when his qualifying time was 142.653?
SELECT call_sign FROM table_name_81 WHERE frequency_mhz = 91.3
CREATE TABLE table_name_81 (call_sign VARCHAR, frequency_mhz VARCHAR)
What call sign has a frequency of 91.3 MHz?
SELECT city_of_license FROM table_name_82 WHERE call_sign = "k293bg"
CREATE TABLE table_name_82 (city_of_license VARCHAR, call_sign VARCHAR)
What city of license has a value of k293bg for its call sign?
SELECT call_sign FROM table_name_77 WHERE erp_w > 10 AND frequency_mhz = 103.7
CREATE TABLE table_name_77 (call_sign VARCHAR, erp_w VARCHAR, frequency_mhz VARCHAR)
When the frequency is 103.7 MHz and the ERP W is more than 10, what is the call sign?
SELECT AVG(frequency_mhz) FROM table_name_21 WHERE city_of_license = "los banos, california" AND erp_w < 10
CREATE TABLE table_name_21 (frequency_mhz INTEGER, city_of_license VARCHAR, erp_w VARCHAR)
In Los Banos, California, when the ERP W is than 10, what is the average Frequency MHz?
SELECT call_sign FROM table_name_16 WHERE frequency_mhz < 95.5 AND erp_w > 10
CREATE TABLE table_name_16 (call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)
What is the call sign when the frequency is less than 95.5 MHz, and a ERP W is higher than 10?
SELECT player FROM table_name_12 WHERE score = 73 - 69 - 74 - 71 = 287
CREATE TABLE table_name_12 (player VARCHAR, score VARCHAR)
Name the player with score of 73-69-74-71=287
SELECT SUM(to_par) FROM table_name_26 WHERE score = 71 - 74 - 71 - 72 = 288
CREATE TABLE table_name_26 (to_par INTEGER, score VARCHAR)
Name the sum To par for score of 71-74-71-72=288
SELECT tournament FROM table_name_95 WHERE opponent = "kathy horvath"
CREATE TABLE table_name_95 (tournament VARCHAR, opponent VARCHAR)
Tell me the tournament for kathy horvath opponent
SELECT date FROM table_name_59 WHERE surface = "hard" AND tournament = "maybelline classic" AND opponent = "wendy turnbull"
CREATE TABLE table_name_59 (date VARCHAR, opponent VARCHAR, surface VARCHAR, tournament VARCHAR)
Name the date for hard surface at maybelline classic with opponent of wendy turnbull
SELECT tournament FROM table_name_86 WHERE round = "semifinal" AND surface = "hard" AND opponent = "pam casale"
CREATE TABLE table_name_86 (tournament VARCHAR, opponent VARCHAR, round VARCHAR, surface VARCHAR)
Name the tournament for semifinal hard surface for opponent of pam casale
SELECT date FROM table_name_36 WHERE surface = "grass" AND round = "quarterfinal" AND tournament = "nsw building society open"
CREATE TABLE table_name_36 (date VARCHAR, tournament VARCHAR, surface VARCHAR, round VARCHAR)
Name the date for grass surface for quarterfinal at the nsw building society open tournament
SELECT surface FROM table_name_56 WHERE tournament = "united airlines tournament of champions" AND round = "final"
CREATE TABLE table_name_56 (surface VARCHAR, tournament VARCHAR, round VARCHAR)
Name the surface for united airlines tournament of champions final round
SELECT date FROM table_name_98 WHERE opponent = "chris evert" AND surface = "carpet"
CREATE TABLE table_name_98 (date VARCHAR, opponent VARCHAR, surface VARCHAR)
Name the date for chris evert opponent and carpet surface
SELECT venue FROM table_name_94 WHERE date = "25 may 2008"
CREATE TABLE table_name_94 (venue VARCHAR, date VARCHAR)
Name the venue for 25 may 2008
SELECT score FROM table_name_73 WHERE competition = "2015 afc asian cup qualification"
CREATE TABLE table_name_73 (score VARCHAR, competition VARCHAR)
Name the score for 2015 afc asian cup qualification
SELECT competition FROM table_name_6 WHERE date = "13 december 2012"
CREATE TABLE table_name_6 (competition VARCHAR, date VARCHAR)
Name the competition for 13 december 2012
SELECT MAX(points) FROM table_name_51 WHERE entrant = "arrows racing team" AND year > 1982
CREATE TABLE table_name_51 (points INTEGER, entrant VARCHAR, year VARCHAR)
What was arrows racing team's highest points after 1982?
SELECT SUM(year) FROM table_name_85 WHERE points = 2
CREATE TABLE table_name_85 (year INTEGER, points VARCHAR)
How many years has 2 points?
SELECT catalogue FROM table_name_33 WHERE song_title = "love me tonight"
CREATE TABLE table_name_33 (catalogue VARCHAR, song_title VARCHAR)
Name the catalogue with song title of love me tonight
SELECT song_title FROM table_name_75 WHERE time = "1:51"
CREATE TABLE table_name_75 (song_title VARCHAR, time VARCHAR)
Name the song title with time of 1:51
SELECT MIN(track) FROM table_name_67 WHERE song_title = "little sister"
CREATE TABLE table_name_67 (track INTEGER, song_title VARCHAR)
Name the least track with song of little sister
SELECT player FROM table_name_53 WHERE score = "79"
CREATE TABLE table_name_53 (player VARCHAR, score VARCHAR)
What player has a score of 79?
SELECT opponent FROM table_name_43 WHERE ground = "waca ground" AND score = "79"
CREATE TABLE table_name_43 (opponent VARCHAR, ground VARCHAR, score VARCHAR)
Who played on waca ground and scored 79 points?
SELECT player FROM table_name_8 WHERE balls = 49
CREATE TABLE table_name_8 (player VARCHAR, balls VARCHAR)
What player had 49 balls?
SELECT MAX(attendance) FROM table_name_83 WHERE score = "3-5"
CREATE TABLE table_name_83 (attendance INTEGER, score VARCHAR)
What was the highest attendance of a game that had a score of 3-5?
SELECT loss FROM table_name_29 WHERE record = "54-61"
CREATE TABLE table_name_29 (loss VARCHAR, record VARCHAR)
Who took the loss in the game that ended with a 54-61 record?
SELECT 125 AS cc_winner FROM table_name_2 WHERE circuit = "estoril"
CREATE TABLE table_name_2 (circuit VARCHAR)
Name the 125cc winner with circuit of estoril
SELECT date FROM table_name_15 WHERE motogp_winner = "casey stoner" AND grand_prix = "valencian grand prix"
CREATE TABLE table_name_15 (date VARCHAR, motogp_winner VARCHAR, grand_prix VARCHAR)
Name the date for motogp winner of casey stoner and grand prix of valencian grand prix
SELECT circuit FROM table_name_25 WHERE round = 18
CREATE TABLE table_name_25 (circuit VARCHAR, round VARCHAR)
Name the circuit for round 18
SELECT grand_prix FROM table_name_55 WHERE motogp_winner = "casey stoner" AND circuit = "losail"
CREATE TABLE table_name_55 (grand_prix VARCHAR, motogp_winner VARCHAR, circuit VARCHAR)
Name the grand prix for casey stoner and circuit of losail