answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT MAX(game) FROM table_name_32 WHERE record = "1-0" AND hornets_score > 100
CREATE TABLE table_name_32 (game INTEGER, record VARCHAR, hornets_score VARCHAR)
What is the highest game with a 1-0 record, and the Hornets scored more than 100?
SELECT date_of_birth FROM table_name_63 WHERE name = "daniel moro"
CREATE TABLE table_name_63 (date_of_birth VARCHAR, name VARCHAR)
When was Daniel Moro born?
SELECT score FROM table_name_64 WHERE money___$__ = 450
CREATE TABLE table_name_64 (score VARCHAR, money___$__ VARCHAR)
What was the score for the player than won $450?
SELECT place FROM table_name_21 WHERE money___$__ = 350
CREATE TABLE table_name_21 (place VARCHAR, money___$__ VARCHAR)
What place did the player that took won $350 finish in?
SELECT player FROM table_name_53 WHERE score = 71 - 73 - 68 - 75 = 287
CREATE TABLE table_name_53 (player VARCHAR, score VARCHAR)
Which player had a score of 71-73-68-75=287?
SELECT year FROM table_name_93 WHERE name = "dong shihou, 29 (董世侯)"
CREATE TABLE table_name_93 (year VARCHAR, name VARCHAR)
What is Year, when Name is "Dong Shihou, 29 (董世侯)"?
SELECT name FROM table_name_23 WHERE location = "dz"
CREATE TABLE table_name_23 (name VARCHAR, location VARCHAR)
What is Name, when Location is "DZ"?
SELECT injured FROM table_name_98 WHERE date = "09.15 sep. 15"
CREATE TABLE table_name_98 (injured VARCHAR, date VARCHAR)
What is Injured, when Date is "09.15 Sep. 15"?
SELECT date FROM table_name_48 WHERE name = "guay, albert , 32"
CREATE TABLE table_name_48 (date VARCHAR, name VARCHAR)
What is Date, when Name is "Guay, Albert , 32"?
SELECT MAX(grid) FROM table_name_7 WHERE rider = "fonsi nieto"
CREATE TABLE table_name_7 (grid INTEGER, rider VARCHAR)
What is the highest grid for rider Fonsi Nieto?
SELECT COUNT(laps) FROM table_name_2 WHERE time = "+7.951"
CREATE TABLE table_name_2 (laps VARCHAR, time VARCHAR)
What was the total number of Laps for the rider whose time was +7.951?
SELECT MAX(laps) FROM table_name_37 WHERE rider = "shuhei aoyama" AND grid > 24
CREATE TABLE table_name_37 (laps INTEGER, rider VARCHAR, grid VARCHAR)
What was the highest number of laps for rider Shuhei Aoyama in a grid higher than 24?
SELECT grid FROM table_name_75 WHERE bike = "honda cbr1000rr" AND rider = "russell holland"
CREATE TABLE table_name_75 (grid VARCHAR, bike VARCHAR, rider VARCHAR)
What was the grid for rider Russell Holland, riding a Honda CBR1000rr?
SELECT rider FROM table_name_46 WHERE laps = 14 AND grid > 23 AND bike = "honda cbr1000rr" AND time = "+1'04.877"
CREATE TABLE table_name_46 (rider VARCHAR, time VARCHAR, bike VARCHAR, laps VARCHAR, grid VARCHAR)
Who was the rider who went 14 laps on a Honda CBR1000rr, with a time of +1'04.877 on a grid larger than 23?
SELECT MIN(year) FROM table_name_90 WHERE award = "drama desk award" AND nominated_work = "the mineola twins"
CREATE TABLE table_name_90 (year INTEGER, award VARCHAR, nominated_work VARCHAR)
What is the earliest year with a Drama Desk award when the Mineola Twins was a nominated work?
SELECT nominated_work FROM table_name_67 WHERE category = "best performance by a leading actress in a play" AND year < 2007
CREATE TABLE table_name_67 (nominated_work VARCHAR, category VARCHAR, year VARCHAR)
Which nominated work is in the category of best performance by a leading actress in a play earlier than 2007?
SELECT MAX(year) FROM table_name_54 WHERE nominated_work = "the mineola twins" AND category = "outstanding actress in a play" AND award = "drama desk award"
CREATE TABLE table_name_54 (year INTEGER, award VARCHAR, nominated_work VARCHAR, category VARCHAR)
What is the most recent year that the Mineola Twins was nominated for outstanding actress in a play and a Drama Desk award?
SELECT result FROM table_name_6 WHERE award = "outer critics circle award" AND year < 2004
CREATE TABLE table_name_6 (result VARCHAR, award VARCHAR, year VARCHAR)
What is the result for the Outer Critics Circle award earlier than 2004?
SELECT SUM(year) FROM table_name_62 WHERE nominated_work = "the house of blue leaves" AND category = "outstanding actress in a play"
CREATE TABLE table_name_62 (year INTEGER, nominated_work VARCHAR, category VARCHAR)
In what year was The House of Blue Leaves nominated for outstanding actress in a play?
SELECT country FROM table_name_75 WHERE total < 284
CREATE TABLE table_name_75 (country VARCHAR, total INTEGER)
Which Country has a Total smaller than 284?
SELECT to_par FROM table_name_15 WHERE year_s__won = "1983"
CREATE TABLE table_name_15 (to_par VARCHAR, year_s__won VARCHAR)
Which To par has a Year(s) won of 1983?
SELECT COUNT(total) FROM table_name_53 WHERE player = "dave stockton"
CREATE TABLE table_name_53 (total VARCHAR, player VARCHAR)
How many Total has a Player of dave stockton?
SELECT outcome FROM table_name_73 WHERE year = 1973 AND surface = "clay"
CREATE TABLE table_name_73 (outcome VARCHAR, year VARCHAR, surface VARCHAR)
What was the result in 1973 when the surface was clay?
SELECT outcome FROM table_name_25 WHERE year = 1975
CREATE TABLE table_name_25 (outcome VARCHAR, year VARCHAR)
What was the outcome in 1975?
SELECT opponents FROM table_name_84 WHERE surface = "clay" AND partner = "margaret court" AND year = 1975
CREATE TABLE table_name_84 (opponents VARCHAR, year VARCHAR, surface VARCHAR, partner VARCHAR)
Who was Margaret Court's opponent on clay in 1975?
SELECT MAX(against) FROM table_name_90 WHERE central_murray = "tooleybuc manangatang" AND wins < 13
CREATE TABLE table_name_90 (against INTEGER, central_murray VARCHAR, wins VARCHAR)
What is the number of against when Central Murray is Tooleybuc Manangatang and there are fewer than 13 wins?
SELECT AVG(byes) FROM table_name_84 WHERE draws < 0
CREATE TABLE table_name_84 (byes INTEGER, draws INTEGER)
How many byes when the draws are fewer than 0?
SELECT SUM(byes) FROM table_name_27 WHERE central_murray = "woorineen" AND losses > 13
CREATE TABLE table_name_27 (byes INTEGER, central_murray VARCHAR, losses VARCHAR)
What is the byes for Woorineen when losses are more than 13?
SELECT AVG(wins) FROM table_name_7 WHERE losses = 4 AND against < 1281
CREATE TABLE table_name_7 (wins INTEGER, losses VARCHAR, against VARCHAR)
How many wins when there are 4 losses and against are fewer than 1281?
SELECT AVG(against) FROM table_name_24 WHERE losses = 11 AND wins < 5
CREATE TABLE table_name_24 (against INTEGER, losses VARCHAR, wins VARCHAR)
How many against when losses are 11 and wins are fewer than 5?
SELECT player FROM table_name_67 WHERE to_par = "–7" AND country = "spain"
CREATE TABLE table_name_67 (player VARCHAR, to_par VARCHAR, country VARCHAR)
which Player has a To par of –7, and a Country of spain?
SELECT doctor FROM table_name_40 WHERE published = "june 2003"
CREATE TABLE table_name_40 (doctor VARCHAR, published VARCHAR)
What doctor published on June 2003?
SELECT title FROM table_name_99 WHERE doctor = "1st" AND published = "november 2001"
CREATE TABLE table_name_99 (title VARCHAR, doctor VARCHAR, published VARCHAR)
What title was published on November 2001 and has a 1st Doctor?
SELECT title FROM table_name_74 WHERE doctor = "8th" AND published = "january 2003"
CREATE TABLE table_name_74 (title VARCHAR, doctor VARCHAR, published VARCHAR)
What is the title of the 8th doctor published in January 2003?
SELECT companion_s_ FROM table_name_7 WHERE author = "dave stone"
CREATE TABLE table_name_7 (companion_s_ VARCHAR, author VARCHAR)
What is the companion for the author Dave Stone?
SELECT player FROM table_name_29 WHERE year_s__won = "1989"
CREATE TABLE table_name_29 (player VARCHAR, year_s__won VARCHAR)
What Player won the PGA in 1989?
SELECT player FROM table_name_42 WHERE country = "northern ireland"
CREATE TABLE table_name_42 (player VARCHAR, country VARCHAR)
Which player is from Northern Ireland?
SELECT player FROM table_name_43 WHERE score = 69 - 68 - 68 = 205
CREATE TABLE table_name_43 (player VARCHAR, score VARCHAR)
What player has a score of 69-68-68=205?
SELECT MIN(week) FROM table_name_90 WHERE attendance > 63 OFFSET 369
CREATE TABLE table_name_90 (week INTEGER, attendance INTEGER)
Which Week has an Attendance larger than 63,369?
SELECT result FROM table_name_43 WHERE date = "september 26"
CREATE TABLE table_name_43 (result VARCHAR, date VARCHAR)
What was the result on september 26?
SELECT MIN(week) FROM table_name_71 WHERE game_site = "oakland-alameda county coliseum" AND attendance > 52 OFFSET 169
CREATE TABLE table_name_71 (week INTEGER, game_site VARCHAR, attendance VARCHAR)
Which Week has a Game site of oakland-alameda county coliseum, and an Attendance larger than 52,169?
SELECT player FROM table_name_80 WHERE score = 68 - 71 = 139
CREATE TABLE table_name_80 (player VARCHAR, score VARCHAR)
What is Player, when Score is "68-71=139"?
SELECT country FROM table_name_99 WHERE player = "tom watson"
CREATE TABLE table_name_99 (country VARCHAR, player VARCHAR)
What is Country, when Player is "Tom Watson"?
SELECT SUM(against) FROM table_name_64 WHERE date = "08/06/1985"
CREATE TABLE table_name_64 (against INTEGER, date VARCHAR)
How many against on the date of 08/06/1985?
SELECT venue FROM table_name_80 WHERE date = "30/03/1985"
CREATE TABLE table_name_80 (venue VARCHAR, date VARCHAR)
What is the venue for the match on 30/03/1985?
SELECT status FROM table_name_19 WHERE against = 24
CREATE TABLE table_name_19 (status VARCHAR, against VARCHAR)
What is the status of the match with 24 against?
SELECT opposing_teams FROM table_name_76 WHERE status = "second test"
CREATE TABLE table_name_76 (opposing_teams VARCHAR, status VARCHAR)
Who was the opposing team when the status is second test?
SELECT status FROM table_name_81 WHERE against > 13 AND opposing_teams = "wales"
CREATE TABLE table_name_81 (status VARCHAR, against VARCHAR, opposing_teams VARCHAR)
What is the status when Wales is the opposing team and there are more than 13 against?
SELECT MIN(number_of_households) FROM table_name_77 WHERE median_family_income = "$41,778" AND population > 38 OFFSET 319
CREATE TABLE table_name_77 (number_of_households INTEGER, median_family_income VARCHAR, population VARCHAR)
What is the lowest number of households for the entry with a median income of $41,778 and a population greater than 38,319?
SELECT church FROM table_name_71 WHERE stops = "27"
CREATE TABLE table_name_71 (church VARCHAR, stops VARCHAR)
Which Church has 27 stops?
SELECT opponents FROM table_name_12 WHERE round = "round 6"
CREATE TABLE table_name_12 (opponents VARCHAR, round VARCHAR)
Who is the opponent(s) in round 6?
SELECT SUM(year) FROM table_name_81 WHERE sport = "soccer" AND college = "virginia"
CREATE TABLE table_name_81 (year INTEGER, sport VARCHAR, college VARCHAR)
In what year was the winner a soccer player from Virginia?
SELECT AVG(year) FROM table_name_75 WHERE winner = "morgan brian"
CREATE TABLE table_name_75 (year INTEGER, winner VARCHAR)
In what year did Morgan Brian win?
SELECT winner FROM table_name_63 WHERE college = "connecticut" AND hometown = "north syracuse, ny"
CREATE TABLE table_name_63 (winner VARCHAR, college VARCHAR, hometown VARCHAR)
Who is the winner who attended college at Connecticut and is from North Syracuse, NY?
SELECT hometown FROM table_name_33 WHERE college = "usc"
CREATE TABLE table_name_33 (hometown VARCHAR, college VARCHAR)
What is the hometown of the player who went to college at USC?
SELECT MIN(draws) FROM table_name_42 WHERE against = 1547 AND wins > 3
CREATE TABLE table_name_42 (draws INTEGER, against VARCHAR, wins VARCHAR)
What is the lowest Draws, when Against is "1547", and when Wins is greater than 3?
SELECT COUNT(wins) FROM table_name_70 WHERE losses = 6 AND draws > 0
CREATE TABLE table_name_70 (wins VARCHAR, losses VARCHAR, draws VARCHAR)
What is the total number of Wins, when Losses is "6", and when Draws is greater than "0"?
SELECT MIN(draws) FROM table_name_6 WHERE byes < 2
CREATE TABLE table_name_6 (draws INTEGER, byes INTEGER)
What is the lowest Draws, when Byes is less than 2?
SELECT COUNT(draws) FROM table_name_21 WHERE against = 1134 AND byes < 2
CREATE TABLE table_name_21 (draws VARCHAR, against VARCHAR, byes VARCHAR)
What is the total number of Draws, when Against is "1134", and when Byes is less than 2?
SELECT SUM(wins) FROM table_name_85 WHERE against < 1033 AND golden_rivers = "nullawil" AND byes < 2
CREATE TABLE table_name_85 (wins INTEGER, byes VARCHAR, against VARCHAR, golden_rivers VARCHAR)
What is the sum of Wins, when Against is less than 1033, when Golden Rivers is "Nullawil", and when Byes is less than 2?
SELECT SUM(year) FROM table_name_26 WHERE competition = "european championships" AND notes = "66.81 m"
CREATE TABLE table_name_26 (year INTEGER, competition VARCHAR, notes VARCHAR)
Which Year has a Competition of european championships, and Notes of 66.81 m?
SELECT position FROM table_name_3 WHERE venue = "berlin, germany"
CREATE TABLE table_name_3 (position VARCHAR, venue VARCHAR)
Which Position has a Venue of berlin, germany?
SELECT competition FROM table_name_87 WHERE venue = "arles, france"
CREATE TABLE table_name_87 (competition VARCHAR, venue VARCHAR)
Which competition was held in Arles, France?
SELECT m1a1_abrams FROM table_name_8 WHERE m60a3_patton = "t (short tons)"
CREATE TABLE table_name_8 (m1a1_abrams VARCHAR, m60a3_patton VARCHAR)
What is the M1A1 when the M60A3 was T (Short Tons)?
SELECT m60a3_patton FROM table_name_17 WHERE m1a1_abrams = "t (short tons)"
CREATE TABLE table_name_17 (m60a3_patton VARCHAR, m1a1_abrams VARCHAR)
What is the M60A3 when the M1A1 is T (Short Tons)?
SELECT m60a3_patton FROM table_name_66 WHERE m1a1_abrams = "km (mi)"
CREATE TABLE table_name_66 (m60a3_patton VARCHAR, m1a1_abrams VARCHAR)
What is the M60A3 that has an M1A1 of Km (mi)?
SELECT m60a3_patton FROM table_name_28 WHERE leclerc = "40 rounds"
CREATE TABLE table_name_28 (m60a3_patton VARCHAR, leclerc VARCHAR)
What is the M60A3 that has 40 rounds as Leclerc?
SELECT lince FROM table_name_8 WHERE leclerc = "hp (kw)"
CREATE TABLE table_name_8 (lince VARCHAR, leclerc VARCHAR)
What's the lince when Leclerc was Hp (kw)?
SELECT m1a1_abrams FROM table_name_92 WHERE lince = "t (short tons)"
CREATE TABLE table_name_92 (m1a1_abrams VARCHAR, lince VARCHAR)
What is the M1A1 when the Lince was T (Short Tons)?
SELECT distance FROM table_name_73 WHERE time = "2:20.00"
CREATE TABLE table_name_73 (distance VARCHAR, time VARCHAR)
Which Distance has a Time of 2:20.00?
SELECT distance FROM table_name_16 WHERE event = "breaststroke" AND location = "beijing, chn"
CREATE TABLE table_name_16 (distance VARCHAR, event VARCHAR, location VARCHAR)
Which Distance has an Event of breaststroke, and a Location of beijing, chn?
SELECT meet FROM table_name_5 WHERE time = "1:04.84"
CREATE TABLE table_name_5 (meet VARCHAR, time VARCHAR)
What Meet has a Time of 1:04.84?
SELECT COUNT(season) FROM table_name_58 WHERE viewer_rank___number_ = "#4"
CREATE TABLE table_name_58 (season VARCHAR, viewer_rank___number_ VARCHAR)
What season had a viewer rank of #4?
SELECT MIN(season) FROM table_name_43 WHERE households_viewers__in_millions_ < 25.4 AND viewer_rank___number_ = "#6"
CREATE TABLE table_name_43 (season INTEGER, households_viewers__in_millions_ VARCHAR, viewer_rank___number_ VARCHAR)
Which season had less than 25.4 viewers and had a viewer rank of #6?
SELECT season AS premiere FROM table_name_12 WHERE viewer_rank___number_ = "#6"
CREATE TABLE table_name_12 (season VARCHAR, viewer_rank___number_ VARCHAR)
When did the season premiere that had a viewer rank of #6?
SELECT COUNT(gold) FROM table_name_16 WHERE rank = "2" AND silver < 2
CREATE TABLE table_name_16 (gold VARCHAR, rank VARCHAR, silver VARCHAR)
What is the total number of gold medals of the ranked 2nd nation, which has less than 2 silvers?
SELECT COUNT(gold) FROM table_name_47 WHERE silver = 0 AND bronze > 1
CREATE TABLE table_name_47 (gold VARCHAR, silver VARCHAR, bronze VARCHAR)
What is the total number of gold medals of the nation with 0 silver and more than 1 bronze?
SELECT MIN(bronze) FROM table_name_3 WHERE total > 13 AND gold > 10 AND silver < 22
CREATE TABLE table_name_3 (bronze INTEGER, silver VARCHAR, total VARCHAR, gold VARCHAR)
What is the lowest number of bronze of the nation with more than 13 total medals, more than 10 gold medals, and less than 22 silvers?
SELECT main_date FROM table_name_81 WHERE number_of_fixtures = 20
CREATE TABLE table_name_81 (main_date VARCHAR, number_of_fixtures VARCHAR)
What was the main date of the round with 20 fixtures?
SELECT new_entries_this_round FROM table_name_97 WHERE number_of_fixtures < 8 AND round = "semi-finals"
CREATE TABLE table_name_97 (new_entries_this_round VARCHAR, number_of_fixtures VARCHAR, round VARCHAR)
What were the new entries for the Semi-Finals round with fewer than 8 fixtures?
SELECT club FROM table_name_59 WHERE home_ground = "central reserve"
CREATE TABLE table_name_59 (club VARCHAR, home_ground VARCHAR)
What was the club when home ground was Central Reserve?
SELECT gfl_premierships FROM table_name_4 WHERE home_ground = "leopold memorial park"
CREATE TABLE table_name_4 (gfl_premierships VARCHAR, home_ground VARCHAR)
What's the GFL Premiership when the home ground was Leopold Memorial Park?
SELECT location FROM table_name_39 WHERE years_in_gfl = "1988-"
CREATE TABLE table_name_39 (location VARCHAR, years_in_gfl VARCHAR)
What's the location where the Years in GFL was 1988-?
SELECT home_ground FROM table_name_15 WHERE nickname = "lions"
CREATE TABLE table_name_15 (home_ground VARCHAR, nickname VARCHAR)
What's the home ground of the Lions?
SELECT location FROM table_name_37 WHERE years_in_gfl = "1979-" AND nickname = "saints"
CREATE TABLE table_name_37 (location VARCHAR, years_in_gfl VARCHAR, nickname VARCHAR)
What is the location of the Saints having 1979- as Years in GFL?
SELECT type FROM table_name_34 WHERE ends = 2013 AND transfer_window = "summer" AND moving_from = "kalmar ff"
CREATE TABLE table_name_34 (type VARCHAR, moving_from VARCHAR, ends VARCHAR, transfer_window VARCHAR)
What is the type of the player who ended in 2013, had a summer transfer window, and moved from kalmar ff?
SELECT moving_from FROM table_name_38 WHERE type = "transfer" AND transfer_window = "summer" AND ends < 2013
CREATE TABLE table_name_38 (moving_from VARCHAR, ends VARCHAR, type VARCHAR, transfer_window VARCHAR)
Where did the player with a transfer type, a summer transfer window, and ended before 2013 move from?
SELECT transfer_window FROM table_name_8 WHERE name = "larsson"
CREATE TABLE table_name_8 (transfer_window VARCHAR, name VARCHAR)
What is the transfer window for larsson?
SELECT AVG(ends) FROM table_name_81 WHERE nat = "swe" AND transfer_window = "summer"
CREATE TABLE table_name_81 (ends INTEGER, nat VARCHAR, transfer_window VARCHAR)
What is the average end year of the player from swe and a summer transfer window?
SELECT outcome FROM table_name_26 WHERE date = "2 december 2012"
CREATE TABLE table_name_26 (outcome VARCHAR, date VARCHAR)
What was the outcome on 2 December 2012?
SELECT score_in_final FROM table_name_97 WHERE tournament = "$10,000 – tarakan , indonesia f2"
CREATE TABLE table_name_97 (score_in_final VARCHAR, tournament VARCHAR)
What is the score of the final in $10,000 – tarakan , indonesia f2?
SELECT place FROM table_name_60 WHERE score = 70 - 72 - 69 = 211
CREATE TABLE table_name_60 (place VARCHAR, score VARCHAR)
What was the place for the score 70-72-69=211?
SELECT player FROM table_name_97 WHERE place = "t9" AND score = 73 - 69 - 74 = 216
CREATE TABLE table_name_97 (player VARCHAR, place VARCHAR, score VARCHAR)
What was the player for t9 and a score of 73-69-74=216?
SELECT place FROM table_name_50 WHERE player = "stacy lewis"
CREATE TABLE table_name_50 (place VARCHAR, player VARCHAR)
What was Stacy Lewis' place?
SELECT score FROM table_name_87 WHERE tie_no = "13"
CREATE TABLE table_name_87 (score VARCHAR, tie_no VARCHAR)
What was the score when the tie no was 13?
SELECT score FROM table_name_31 WHERE away_team = "burnley"
CREATE TABLE table_name_31 (score VARCHAR, away_team VARCHAR)
What was the score when Burnley was the away team?
SELECT to_par FROM table_name_32 WHERE finish = "66"
CREATE TABLE table_name_32 (to_par VARCHAR, finish VARCHAR)
What is the To par when the finish is 66?
SELECT MIN(total) FROM table_name_58 WHERE finish = "t46" AND year_s__won = "1981, 1987"
CREATE TABLE table_name_58 (total INTEGER, finish VARCHAR, year_s__won VARCHAR)
When the year won is 1981, 1987, and the finish is t46, what is the lowest total?
SELECT year_s__won FROM table_name_25 WHERE finish = "68"
CREATE TABLE table_name_25 (year_s__won VARCHAR, finish VARCHAR)
Which year was won with a finish of 68
SELECT AVG(snatch) FROM table_name_19 WHERE total__kg_ > 318 AND bodyweight = 84.15
CREATE TABLE table_name_19 (snatch INTEGER, total__kg_ VARCHAR, bodyweight VARCHAR)
WHTA IS THE SNATCH WITH A TOTAL OF LARGER THAN 318 KG AND BODY WEIGHT OF 84.15?