answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT driver FROM table_name_41 WHERE grid < 19 AND laps > 59 AND time_retired = "+0.294"
Tell me the driver for grid less than 19 and Laps more than 59 with time/retired of +0.294
CREATE TABLE table_name_41 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR)
SELECT venue FROM table_name_75 WHERE rank = "2"
What venue has 2 as the rank?
CREATE TABLE table_name_75 (venue VARCHAR, rank VARCHAR)
SELECT champion FROM table_name_58 WHERE city = "tucson, arizona"
Which player from Tucson, Arizona won the Championship?
CREATE TABLE table_name_58 (champion VARCHAR, city VARCHAR)
SELECT MAX(round) FROM table_10361625_1 WHERE overall = 83
What is the greatest round of overall 83?
CREATE TABLE table_10361625_1 (round INTEGER, overall VARCHAR)
SELECT MAX(population) FROM table_name_97 WHERE area_km_2 > 326.76 AND official_name = "new bandon"
What is the Population of the New Bandon Parish with an Area km 2 larger than 326.76?
CREATE TABLE table_name_97 (population INTEGER, area_km_2 VARCHAR, official_name VARCHAR)
SELECT player FROM table_name_27 WHERE nba_team = "detroit pistons"
What player was drafted for the Detroit Pistons?
CREATE TABLE table_name_27 (player VARCHAR, nba_team VARCHAR)
SELECT maryland FROM table_13012165_1 WHERE new_jersey = "Somerset Hills LL Bernardsville"
Who played in Maryland the same year that New Jersey hosted Somerset Hills LL Bernardsville?
CREATE TABLE table_13012165_1 (maryland VARCHAR, new_jersey VARCHAR)
SELECT segment_b FROM table_15187735_9 WHERE segment_c = "British Police Helmets"
In episode 115 what is seen being made before British police helmets?
CREATE TABLE table_15187735_9 (segment_b VARCHAR, segment_c VARCHAR)
SELECT type FROM table_name_96 WHERE royal_house = "baasha" AND name = "elah"
What is the type of Leader for the Royal House of Baasha, who is named Elah.
CREATE TABLE table_name_96 (type VARCHAR, royal_house VARCHAR, name VARCHAR)
SELECT date FROM table_name_78 WHERE surface = "hard" AND opponent = "jesse levine"
On what date did Jesse Levine play on a hard surface?
CREATE TABLE table_name_78 (date VARCHAR, surface VARCHAR, opponent VARCHAR)
SELECT replaced_by FROM table_27091128_2 WHERE date_of_appointment = "08.06.2010"
Which manager was appointed on 08.06.2010?
CREATE TABLE table_27091128_2 (replaced_by VARCHAR, date_of_appointment VARCHAR)
SELECT SUM(attendance) FROM table_name_8 WHERE opponent = "florida panthers"
What is the Attendance of the game against the Florida Panthers?
CREATE TABLE table_name_8 (attendance INTEGER, opponent VARCHAR)
SELECT original_title FROM table_name_42 WHERE director = "paul verhoeven"
What is the original title where Paul Verhoeven is the director?
CREATE TABLE table_name_42 (original_title VARCHAR, director VARCHAR)
SELECT opponent FROM table_name_66 WHERE tournament = "chinese taipei open" AND year = 2000
Which opponent played in the Chinese Taipei Open in 2000?
CREATE TABLE table_name_66 (opponent VARCHAR, tournament VARCHAR, year VARCHAR)
SELECT sail FROM table_name_96 WHERE syndicate = "america 3 foundation" AND yacht = "america 3"
Which sail is in the America 3 Foundation syndicate on the America 3 yacht?
CREATE TABLE table_name_96 (sail VARCHAR, syndicate VARCHAR, yacht VARCHAR)
SELECT tournament FROM table_14903081_1 WHERE current_venue = "Madrid Arena"
Which tournaments current venue is the Madrid Arena?
CREATE TABLE table_14903081_1 (tournament VARCHAR, current_venue VARCHAR)
SELECT date FROM table_name_98 WHERE venue = "mcg"
What date was the match at mcg played?
CREATE TABLE table_name_98 (date VARCHAR, venue VARCHAR)
SELECT score FROM table_name_21 WHERE away_team = "brighton & hove albion"
What was the score when the away team was brighton & hove albion?
CREATE TABLE table_name_21 (score VARCHAR, away_team VARCHAR)
SELECT championship FROM table_name_10 WHERE year > 2010 AND surface = "grass"
Which championship is in a year later than 2010 on a grass surface?
CREATE TABLE table_name_10 (championship VARCHAR, year VARCHAR, surface VARCHAR)
SELECT leading_scorer FROM table_name_54 WHERE date = "april 9"
Who led the score on April 9?
CREATE TABLE table_name_54 (leading_scorer VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_99 WHERE opponent_in_the_final = "samantha stosur"
What tournament has Samantha Stosur as the opponent in the final?
CREATE TABLE table_name_99 (tournament VARCHAR, opponent_in_the_final VARCHAR)
SELECT quarter FROM table_name_7 WHERE round = "17"
Which Quarter has a Round of 17?
CREATE TABLE table_name_7 (quarter VARCHAR, round VARCHAR)
SELECT highest FROM table_11208143_9 WHERE average = 4752
What are the highest recorded attendance rates of the stadiums with an average attendance of 4752?
CREATE TABLE table_11208143_9 (highest VARCHAR, average VARCHAR)
SELECT area_of_operation FROM table_name_19 WHERE services = "drilling" AND years_of_operation = "1999"
Where is the area of operation that had drilling during the year 1999?
CREATE TABLE table_name_19 (area_of_operation VARCHAR, services VARCHAR, years_of_operation VARCHAR)
SELECT year FROM table_name_96 WHERE playoffs = "american conference semifinals"
Name the year for american conference semifinals
CREATE TABLE table_name_96 (year VARCHAR, playoffs VARCHAR)
SELECT country FROM table_name_73 WHERE place = "t6" AND player = "eduardo romero"
What is the country that has a place of T6 that Eduardo Romero plays for?
CREATE TABLE table_name_73 (country VARCHAR, place VARCHAR, player VARCHAR)
SELECT player FROM table_name_54 WHERE span = "1997-2009"
What player has a span of 1997-2009?
CREATE TABLE table_name_54 (player VARCHAR, span VARCHAR)
SELECT type FROM table_name_13 WHERE date = "unknown" AND satellite = "gps iif-10"
What is the type of the gps iif-10 satellite with an unknown date?
CREATE TABLE table_name_13 (type VARCHAR, date VARCHAR, satellite VARCHAR)
SELECT MIN(christer_tornell) FROM table_28677723_10 WHERE karianne_gulliksen = 7
What is listed under chister tornell when karianne gulliksen is 7?
CREATE TABLE table_28677723_10 (christer_tornell INTEGER, karianne_gulliksen VARCHAR)
SELECT tournament FROM table_name_49 WHERE finalist = "monica seles"
What tournament had finalist Monica Seles?
CREATE TABLE table_name_49 (tournament VARCHAR, finalist VARCHAR)
SELECT margin_of_victory FROM table_name_25 WHERE year > 1994 AND to_par = "–14" AND score = 69 - 67 - 69 - 69 = 274
Which Margin of victory has a Year larger than 1994, and a To par of –14, and a Score of 69-67-69-69=274?
CREATE TABLE table_name_25 (margin_of_victory VARCHAR, year VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT tournament_location FROM table_12243817_1 WHERE champion = "Vicky Hurst"
What is the tournament location when Vicky Hurst in the champion?
CREATE TABLE table_12243817_1 (tournament_location VARCHAR, champion VARCHAR)
SELECT series FROM table_name_16 WHERE winner = "paul morris"
Which series was won by Paul Morris?
CREATE TABLE table_name_16 (series VARCHAR, winner VARCHAR)
SELECT COUNT(pop__2010_) FROM table_18600760_2 WHERE water__sqmi_ = "0.818"
how many townships where pop (2010) and ater is 0.818
CREATE TABLE table_18600760_2 (pop__2010_ VARCHAR, water__sqmi_ VARCHAR)
SELECT high_points FROM table_23286112_7 WHERE location_attendance = "Toyota Center 15,095"
Who has high points when toyota center 15,095 is location attendance?
CREATE TABLE table_23286112_7 (high_points VARCHAR, location_attendance VARCHAR)
SELECT song FROM table_19763199_3 WHERE total_votes = 24
What song has 24 votes?
CREATE TABLE table_19763199_3 (song VARCHAR, total_votes VARCHAR)
SELECT winning_driver FROM table_name_84 WHERE winning_car = "march - honda 86j" AND winning_team = "team nova"
Who was the winning driver driving the winning car March - Honda 86j, with the winning team Team Nova?
CREATE TABLE table_name_84 (winning_driver VARCHAR, winning_car VARCHAR, winning_team VARCHAR)
SELECT copies_per_particle FROM table_140968_1 WHERE function = "Enterotoxin"
How many copies per particle are created by the enterotoxin?
CREATE TABLE table_140968_1 (copies_per_particle VARCHAR, function VARCHAR)
SELECT laps FROM table_name_14 WHERE team = "primagaz competition"
How many Laps did Team Primagaz Competition have?
CREATE TABLE table_name_14 (laps VARCHAR, team VARCHAR)
SELECT COUNT(pick__number) FROM table_name_85 WHERE college = "texas"
What numbered pick was the player from texas?
CREATE TABLE table_name_85 (pick__number VARCHAR, college VARCHAR)
SELECT opponent_number FROM table_name_78 WHERE attendance = "63,659"
What opponent had an attendance of 63,659?
CREATE TABLE table_name_78 (opponent_number VARCHAR, attendance VARCHAR)
SELECT COUNT(song_choice) FROM table_26250155_1 WHERE original_artist = "Bright Eyes"
What is the number of song choices where the original artist was Bright Eyes?
CREATE TABLE table_26250155_1 (song_choice VARCHAR, original_artist VARCHAR)
SELECT mintage FROM table_name_15 WHERE year < 2006 AND butterfly = "great spangled fritillary"
What mintage earlier than the year 2006 has the butterfly great spangled fritillary.
CREATE TABLE table_name_15 (mintage VARCHAR, year VARCHAR, butterfly VARCHAR)
SELECT score FROM table_name_83 WHERE surface = "clay" AND partner = "patricia tarabini" AND date = "25 july 1994"
What is the score of the tournament on 25 July 1994 with a clay surface and Patricia Tarabini as the partner?
CREATE TABLE table_name_83 (score VARCHAR, date VARCHAR, surface VARCHAR, partner VARCHAR)
SELECT date FROM table_name_34 WHERE circuit = "hockenheimring" AND winning_manufacturer = "mercedes-benz"
What was the date of Circuit Hockenheimring and the winning manufacturer being Mercedes-Benz?
CREATE TABLE table_name_34 (date VARCHAR, circuit VARCHAR, winning_manufacturer VARCHAR)
SELECT score FROM table_name_38 WHERE attendance = "1,644"
What was the score of the game when the attendance was 1,644?
CREATE TABLE table_name_38 (score VARCHAR, attendance VARCHAR)
SELECT outcome FROM table_name_39 WHERE partner = "mashona washington"
What was the outcome when she partnered with mashona washington?
CREATE TABLE table_name_39 (outcome VARCHAR, partner VARCHAR)
SELECT marriage FROM table_name_6 WHERE ceased_to_be_consort = "29 september 1898"
Name the marriagefor ceased to be consort of 29 september 1898
CREATE TABLE table_name_6 (marriage VARCHAR, ceased_to_be_consort VARCHAR)
SELECT opponent FROM table_name_8 WHERE date = "april 24, 1999"
Who was the opponent on april 24, 1999?
CREATE TABLE table_name_8 (opponent VARCHAR, date VARCHAR)
SELECT home_team FROM table_name_87 WHERE venue = "victoria park"
Who was the home team for the game played at Victoria Park?
CREATE TABLE table_name_87 (home_team VARCHAR, venue VARCHAR)
SELECT stage FROM table_name_19 WHERE winner = "lucien van impe"
Which stage has a Winner of lucien van impe?
CREATE TABLE table_name_19 (stage VARCHAR, winner VARCHAR)
SELECT partner FROM table_name_57 WHERE date = "8 february 2009"
Which Partner has a Date of 8 february 2009?
CREATE TABLE table_name_57 (partner VARCHAR, date VARCHAR)
SELECT date FROM table_name_40 WHERE description = "british rail class 111 tslrb"
What is the date of the British Rail class 111 tslrb description?
CREATE TABLE table_name_40 (date VARCHAR, description VARCHAR)
SELECT COUNT(rank) FROM table_name_56 WHERE silver = 0 AND gold = 2 AND total < 2
Which Rank number has a Silver of 0, Gold of 2 and total smaller than 2?
CREATE TABLE table_name_56 (rank VARCHAR, total VARCHAR, silver VARCHAR, gold VARCHAR)
SELECT SUM(place) FROM table_name_79 WHERE song = "never change"
What is the place of the song 'Never Change'?
CREATE TABLE table_name_79 (place INTEGER, song VARCHAR)
SELECT MAX(points) FROM table_name_54 WHERE chassis = "lola thl1" AND year > 1986
What is the most points for a vehicle with a lola thl1, chassis later than 1986?
CREATE TABLE table_name_54 (points INTEGER, chassis VARCHAR, year VARCHAR)
SELECT record FROM table_name_20 WHERE score = "0-7"
What was the record of the game that went 0-7?
CREATE TABLE table_name_20 (record VARCHAR, score VARCHAR)
SELECT score FROM table_name_87 WHERE game = 18
What was the score for game 18?
CREATE TABLE table_name_87 (score VARCHAR, game VARCHAR)
SELECT MIN(lost) FROM table_name_97 WHERE goal_difference = "+2" AND goals_for = 52 AND drawn < 9
How many times did the team lose who had a goal difference of +2, 52 goals for, and less than 9 draws?
CREATE TABLE table_name_97 (lost INTEGER, drawn VARCHAR, goal_difference VARCHAR, goals_for VARCHAR)
SELECT set_2 FROM table_name_42 WHERE total = "45–12"
What is the Set 2 with a Total with 45–12?
CREATE TABLE table_name_42 (set_2 VARCHAR, total VARCHAR)
SELECT 2008 FROM table_name_77 WHERE 2007 = "wta premier mandatory tournaments"
Name the 2008 for wta premier mandatory tournaments of 2007
CREATE TABLE table_name_77 (Id VARCHAR)
SELECT SUM(frequency__mhz_) FROM table_name_99 WHERE call_letters = "krmd-fm"
Frequency (MHz) that has a Call letters of krmd-fm has what sum?
CREATE TABLE table_name_99 (frequency__mhz_ INTEGER, call_letters VARCHAR)
SELECT party FROM table_1341423_23 WHERE incumbent = "Jim Ramstad"
What party does jim ramstad represent?
CREATE TABLE table_1341423_23 (party VARCHAR, incumbent VARCHAR)
SELECT nationality FROM table_name_72 WHERE pick__number = "63"
What nationality is the #63 pick?
CREATE TABLE table_name_72 (nationality VARCHAR, pick__number VARCHAR)
SELECT title FROM table_name_65 WHERE year = 1940
In what title did he act in 1940?
CREATE TABLE table_name_65 (title VARCHAR, year VARCHAR)
SELECT election_date FROM table_1193568_1 WHERE member = "William Richmond Category:Articles with hCards"
what's the election date where member is william richmond category:articles with hcards
CREATE TABLE table_1193568_1 (election_date VARCHAR, member VARCHAR)
SELECT AVG(wins) FROM table_name_92 WHERE loses = 2 AND draws < 0
What average Wins has Losses 2, and Draws less than 0?
CREATE TABLE table_name_92 (wins INTEGER, loses VARCHAR, draws VARCHAR)
SELECT record FROM table_name_41 WHERE kickoff = "12:00pm cst" AND game_site = "arrowhead stadium" AND week = "15"
Which Record has a Kickoff of 12:00pm cst, and a Game site of arrowhead stadium, and a Week of 15?
CREATE TABLE table_name_41 (record VARCHAR, week VARCHAR, kickoff VARCHAR, game_site VARCHAR)
SELECT frequency FROM table_name_81 WHERE power = "900w"
What is the frequency with 900w power?
CREATE TABLE table_name_81 (frequency VARCHAR, power VARCHAR)
SELECT state FROM table_name_49 WHERE aam_accredited = "no" AND astc_member = "no" AND city = "tulsa"
What is State, when AAM Accredited is No, when ASTC Member is No, and when City is Tulsa?
CREATE TABLE table_name_49 (state VARCHAR, city VARCHAR, aam_accredited VARCHAR, astc_member VARCHAR)
SELECT turbo FROM table_name_29 WHERE release_price___usd__ = "$583"
What Turbo has the Release price (USD) of $583?
CREATE TABLE table_name_29 (turbo VARCHAR, release_price___usd__ VARCHAR)
SELECT MIN(points) FROM table_24405773_1 WHERE poles = 0 AND races = 10
What are the lowest points when poles were 0 and races were 10?
CREATE TABLE table_24405773_1 (points INTEGER, poles VARCHAR, races VARCHAR)
SELECT city_s_ FROM table_20630462_1 WHERE also_currently_known_as = "Medibank International Sydney"
What is the city location of the tournament currently known as the Medibank International Sydney?
CREATE TABLE table_20630462_1 (city_s_ VARCHAR, also_currently_known_as VARCHAR)
SELECT week_1_aug_26 FROM table_name_36 WHERE week_7_oct_6 = "usc (3-2)"
What is listed for the Week 1 Aug 26 that has a Week 7 Oct 6 of USC (3-2)?
CREATE TABLE table_name_36 (week_1_aug_26 VARCHAR, week_7_oct_6 VARCHAR)
SELECT AVG(laps) FROM table_name_80 WHERE year = 2007
Which Laps has a Year of 2007?
CREATE TABLE table_name_80 (laps INTEGER, year VARCHAR)
SELECT valley_vista FROM table_name_47 WHERE willow_canyon = "2169"
What Valley Vista has a Willow Canyon of 2169?
CREATE TABLE table_name_47 (valley_vista VARCHAR, willow_canyon VARCHAR)
SELECT MAX(prod__number) FROM table_2289806_1 WHERE episode__number = 1
How many product # have episode 1?
CREATE TABLE table_2289806_1 (prod__number INTEGER, episode__number VARCHAR)
SELECT launched FROM table_name_86 WHERE fleet = "black sea" AND number = "l6"
when was the number l6, with a fleet of black sea, launched?
CREATE TABLE table_name_86 (launched VARCHAR, fleet VARCHAR, number VARCHAR)
SELECT entrant FROM table_name_3 WHERE year = 1965 AND chassis = "ferrari 158"
What was the name of the team in 1965 driving the Ferrari 158?
CREATE TABLE table_name_3 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)
SELECT award_winning_film FROM table_18220102_1 WHERE number_of_screening = "50 films 50 televised"
Which award-winning film has a screening number of 50 films 50 televised?
CREATE TABLE table_18220102_1 (award_winning_film VARCHAR, number_of_screening VARCHAR)
SELECT home_team AS score FROM table_name_42 WHERE venue = "junction oval"
What is the home team's score for the game at Junction Oval?
CREATE TABLE table_name_42 (home_team VARCHAR, venue VARCHAR)
SELECT COUNT(points) FROM table_name_2 WHERE record = "21–29–10"
Record of 21–29–10 had what total number of points?
CREATE TABLE table_name_2 (points VARCHAR, record VARCHAR)
SELECT artist FROM table_name_68 WHERE number = "booncd1"
Which artist has a serial number of BOONCD1?
CREATE TABLE table_name_68 (artist VARCHAR, number VARCHAR)
SELECT title FROM table_2468961_2 WHERE written_by = "Ross Brown"
What is the name of the episode written by Ross Brown?
CREATE TABLE table_2468961_2 (title VARCHAR, written_by VARCHAR)
SELECT 1989 FROM table_name_94 WHERE 1986 = "nh"
What is the 1989 result of the tournament in which Katerina finished nh in 1986?
CREATE TABLE table_name_94 (Id VARCHAR)
SELECT MIN(obama_number) FROM table_20722805_1 WHERE obama_percentage = "32.12%"
How many votes did Obama have at 32.12%
CREATE TABLE table_20722805_1 (obama_number INTEGER, obama_percentage VARCHAR)
SELECT netflix FROM table_name_99 WHERE segment_b = "aerospace fuel lines"
Segment B of aerospace fuel lines is what netflix episode?
CREATE TABLE table_name_99 (netflix VARCHAR, segment_b VARCHAR)
SELECT format FROM table_name_11 WHERE region = "united states"
What is Format, when Region is United States?
CREATE TABLE table_name_11 (format VARCHAR, region VARCHAR)
SELECT SUM(game) FROM table_name_84 WHERE opponent = "boston bruins"
What is the sum of the game with the boston bruins as the opponent?
CREATE TABLE table_name_84 (game INTEGER, opponent VARCHAR)
SELECT frequency_mhz FROM table_name_45 WHERE call_sign = "w228bg"
What frequency has call sign w228bg?
CREATE TABLE table_name_45 (frequency_mhz VARCHAR, call_sign VARCHAR)
SELECT game FROM table_27755603_11 WHERE team = "Chicago"
What numbered game did they play chicago?
CREATE TABLE table_27755603_11 (game VARCHAR, team VARCHAR)
SELECT date_performed FROM table_name_19 WHERE scores_by_each_individual_judge = 10 + 10 + 10 = 30 AND main_contestant = "karanvir bohra"
What Date performed has a Scores by each individual judge of 10 + 10 + 10 = 30, and a Main contestant of karanvir bohra?
CREATE TABLE table_name_19 (date_performed VARCHAR, main_contestant VARCHAR, scores_by_each_individual_judge VARCHAR)
SELECT year_built FROM table_name_41 WHERE model = "ctc-3"
In what year was the ctc-3 model built?
CREATE TABLE table_name_41 (year_built VARCHAR, model VARCHAR)
SELECT surface FROM table_name_67 WHERE date = "23 october 2000"
What type of surface did they play on 23 October 2000?
CREATE TABLE table_name_67 (surface VARCHAR, date VARCHAR)
SELECT college FROM table_26996293_1 WHERE player = "Bob LaRose"
What college did Bob Larose attend?
CREATE TABLE table_26996293_1 (college VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_23 WHERE place = "t1" AND score = 66 - 71 - 66 = 203
What is the Top that has a 66-71-66=203 score and a place of t1?
CREATE TABLE table_name_23 (to_par VARCHAR, place VARCHAR, score VARCHAR)
SELECT SUM(rank) FROM table_name_89 WHERE name = "omni nashville hotel"
What is the rank for Omni nashville hotel?
CREATE TABLE table_name_89 (rank INTEGER, name VARCHAR)
SELECT drawn FROM table_name_71 WHERE club = "newport rfc"
What is Drawn, when Club is Newport RFC?
CREATE TABLE table_name_71 (drawn VARCHAR, club VARCHAR)
SELECT site FROM table_name_34 WHERE result = "l7-33"
What is the site of the game with a Result of l7-33?
CREATE TABLE table_name_34 (site VARCHAR, result VARCHAR)
SELECT form__to_sing_ FROM table_25401_2 WHERE brazilian_portuguese = "[kɐ̃ˈtẽmus]"
What is the form ("to sing") when brazilian portuguese is [kɐ̃ˈtẽmus]?
CREATE TABLE table_25401_2 (form__to_sing_ VARCHAR, brazilian_portuguese VARCHAR)